Leftwm and ssh session goop
This commit is contained in:
parent
376933605c
commit
b115edd210
@ -43,6 +43,11 @@ value = "slock"
|
|||||||
modifier = ["modkey", "Control"]
|
modifier = ["modkey", "Control"]
|
||||||
key = "l"
|
key = "l"
|
||||||
|
|
||||||
|
[[keybind]]
|
||||||
|
command = "ToggleFullScreen"
|
||||||
|
modifier = ["modkey", "Shift"]
|
||||||
|
key = "f"
|
||||||
|
|
||||||
[[keybind]]
|
[[keybind]]
|
||||||
command = "MoveToLastWorkspace"
|
command = "MoveToLastWorkspace"
|
||||||
modifier = ["modkey", "Shift"]
|
modifier = ["modkey", "Shift"]
|
||||||
|
2
xinitrc
2
xinitrc
@ -16,4 +16,6 @@ function _xinit_setup_xinput() {
|
|||||||
|
|
||||||
_xinit_setup_xinput
|
_xinit_setup_xinput
|
||||||
|
|
||||||
|
eval "$(ssh-agent)"
|
||||||
|
|
||||||
exec leftwm
|
exec leftwm
|
||||||
|
22
zshrc
22
zshrc
@ -169,26 +169,6 @@ done
|
|||||||
|
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
function dump-ssh-agent() {
|
|
||||||
env | awk '/SSH/ {
|
|
||||||
sub(/=/, "=\"", $1)
|
|
||||||
sub(/$/, "\"", $1)
|
|
||||||
print "export " $1
|
|
||||||
}' | tee ~/.ssh/agent.out
|
|
||||||
}
|
|
||||||
|
|
||||||
function load-ssh-agent() {
|
|
||||||
source ~/.ssh/agent.out
|
|
||||||
}
|
|
||||||
|
|
||||||
function start-ssh-agent() {
|
|
||||||
ssh-agent >~/.ssh/agent.out
|
|
||||||
}
|
|
||||||
|
|
||||||
function setup-ssh-agent() {
|
|
||||||
start-ssh-agent && load-ssh-agent
|
|
||||||
}
|
|
||||||
|
|
||||||
function __maybesource() {
|
function __maybesource() {
|
||||||
if [[ -f "${1}" ]]; then
|
if [[ -f "${1}" ]]; then
|
||||||
if [[ "${2}" == silent ]]; then
|
if [[ "${2}" == silent ]]; then
|
||||||
@ -221,8 +201,6 @@ function docker-cleanup() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
load-ssh-agent &>/dev/null
|
|
||||||
|
|
||||||
export NVM_DIR="${HOME}/.nvm"
|
export NVM_DIR="${HOME}/.nvm"
|
||||||
|
|
||||||
__maybesource ~/.zshenv
|
__maybesource ~/.zshenv
|
||||||
|
Loading…
Reference in New Issue
Block a user