From decea2da8f4e0363cb2fca5fc64f6ba7147e2b89 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 28 Jul 2023 08:30:49 +1000 Subject: i3 config exec does not work with && --- misc/.config/i3/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'misc') 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 -- cgit v1.2.3