From adc85b5db75890271e4486de8736f0daece77552 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 31 Oct 2017 03:54:04 -0400 Subject: [PATCH] Add variable for config directory --- .config/i3/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index fc66405..7437087 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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