Make references to home/config directories more generic

This commit is contained in:
Adam Goldsmith 2019-06-18 10:40:00 -04:00
parent 1d4839327e
commit 3bafc0b20b

View File

@ -22,7 +22,7 @@ exec --no-startup-id mailnag
exec --no-startup-id touchegg 2>&1 > /dev/null
exec --no-startup-id numlockx on # enable numlock
exec --no-startup-id xset s off dpms 0 0 0 # disable auto screen blanking
exec --no-startup-id xautolock -time 5 -locker "~/.config/i3/lock.sh lock 5" -detectsleep
exec --no-startup-id xautolock -time 5 -locker "$config_dir/lock.sh lock 5" -detectsleep
# firefox workspace bindings
for_window [class="(?i)Firefox" title="^\[work\] "] move container to workspace number 2
@ -44,9 +44,11 @@ bindsym $mod+Shift+e exec emacsclient -ce '(nm)' # start NeverMore
bindsym Mod1+Mod4+s exec $config_dir/lock.sh suspend # suspend
bindsym Mod1+Control+l exec $config_dir/lock.sh lock 5 # lock screen
bindsym Mod1+$mod+l exec $config_dir/lock.sh lock 5 # lock screen
bindsym Mod1+Control+Delete exec $config_dir/lock.sh pick # power menu
bindsym Mod1+$mod+Delete exec $config_dir/lock.sh pick # power menu
bindsym $mod+p exec --no-startup-id $config_dir/killPanel.sh # restart xfce4-panel
bindsym $mod+Print exec scrot '/home/adam/scratch/%Y-%m-%d_%H:%M:%S.png'
bindsym $mod+Print exec scrot '~/scratch/%Y-%m-%d_%H:%M:%S.png'
mode "launch" {
bindsym e exec emacsclient -c -n; mode "default"