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