diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 8efd255..57779a1 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -58,6 +58,8 @@ if [[ $HOST =~ atlantis* ]]; then hc keybind $Mod-l spawn i3lock -i ~/.config/i3lock/bg.png -t else hc keybind $Mod-l spawn xlock + hc keybind $Mod-Shift-x spawn xlock -mode blank -geometry 1x1 + hc keybind $Mod-x spawn xlock -mode blank -geometry 1x1 fi hc keybind $Mod-p spawn pavucontrol hc keybind $Mod-Shift-l spawn libreoffice diff --git a/zshrc b/zshrc index 39bfb89..7f49171 100644 --- a/zshrc +++ b/zshrc @@ -68,6 +68,13 @@ alias ..='cd ..' ## Anti-LD-Preload Chromium Wrapper ## alias chromium="export TMP_PRELD=$LD_PRELOAD && /bin/bash -c 'unset LD_PRELOAD && chromium' && export LD_PRELOAD=$TMP_PRELD" +## GIT ## +alias gstat="git status" +alias gpull="git pull" +alias gpush="git push" +alias gcom="git commit -a" +alias gadd="git add" + ## LOCKS ## if [[ $HOST =~ atlantis* ]]; then alias i3lock="i3lock --image=/home/ik15ydit/.config/i3lock/bg.png" @@ -188,7 +195,9 @@ alias l="ls -lh --color=auto" ## SSH-KEYS ## gitssh=~/.ssh/gitrsa function key(){ - eval `ssh-agent` + if [[ -z $SSH_AUTH_SOCK ]]; then + eval `ssh-agent` + fi ssh-add $gitssh }