diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-28 08:30:49 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-28 08:30:49 +1000 |
commit | decea2da8f4e0363cb2fca5fc64f6ba7147e2b89 (patch) | |
tree | 4e01c9b3473dfa6d64679beb86ff25d9394d2b51 | |
parent | 79738d39ca879ba75dd6083e51f7d8bd3dbb90fd (diff) |
i3 config exec does not work with &&
-rw-r--r-- | misc/.config/i3/config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/.config/i3/config b/misc/.config/i3/config index f9c5c2d..1fd7942 100644 --- a/misc/.config/i3/config +++ b/misc/.config/i3/config @@ -37,7 +37,7 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Shift+q kill # restart firefox -bindsym $mod+q exec "pkill firefox && sleep 2 && firefox" +bindsym $mod+q exec "pkill firefox; sleep 2; firefox" # start rofi bindsym $mod+j exec "PATH=$HOME/.local/bin:$HOME/bin:$PATH rofi -show combi" @@ -188,15 +188,15 @@ bindsym $mod+x exec ~/bin/display_toggle.sh # todo: bluetooth earphone toggle # slideshow -bindsym $mod+semicolon exec "source ~/.bashrc_local && my_local_export && feh -D 3 -F -Y -d -r -z $MY_PHOTOS_DIR" +bindsym $mod+semicolon exec "source ~/.bashrc_local; my_local_export; feh -D 3 -F -Y -d -r -z $MY_PHOTOS_DIR" # shortcut file programs bindsym $mod+Escape exec emacsclient -c bindsym $mod+asciitilde exec ~/bin/toggle-dvorak.sh -bindsym --release $mod+Shift+s exec "source ~/.bashrc_local && my_local_export && ~/bin/screengrab.sh" -bindsym Print exec "source ~/.bashrc_local && my_local_export && ~/bin/screengrab-window.sh" +bindsym --release $mod+Shift+s exec "source ~/.bashrc_local; my_local_export; ~/bin/screengrab.sh" +bindsym Print exec "source ~/.bashrc_local; my_local_export; ~/bin/screengrab-window.sh" # fullscreen to container bindsym $mod+Shift+m focus parent; fullscreen; focus child |