Add variable for config directory

This commit is contained in:
Adam Goldsmith 2017-10-31 03:54:04 -04:00
parent 8480b91777
commit adc85b5db7
1 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ exec --no-startup-id setxkbmap -option "shift:both_capslock"
set $mod Mod4
set $mon1 DP-0
set $mon2 LVDS-0
set $config_dir /home/adam/.config/i3
## Keybindings! ##
bindsym $mod+Return exec roxterm # start a terminal
@ -53,7 +54,7 @@ bindsym $mod+space exec --no-startup-id "rofi $rofiOptions -show drun"
bindsym $mod+d exec --no-startup-id "rofi $rofiOptions -show run"
bindsym $mod+t exec --no-startup-id "rofi $rofiOptions -show sworkspace"
bindsym $mod+Shift+t exec --no-startup-id "rofi $rofiOptions -show mworkspace"
bindsym $mod+n exec ~/.config/i3/rename_workspace.sh
bindsym $mod+n exec $config_dir/rename_workspace.sh
bindsym $mod+c exec --no-startup-id rofi-pass
@ -241,7 +242,7 @@ mode "resize" {
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
bindsym c exec --no-startup-id /home/adam/.config/i3/compact_workspace_numbers.py; mode "default"
bindsym c exec --no-startup-id $config_dir/compact_workspace_numbers.py; mode "default"
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt