Move "passthrough" bindings to use shift and restore original bindings

the passthrough bindings little too inconsistent to be the normal way
of launching things
This commit is contained in:
Adam Goldsmith 2022-02-21 11:46:59 -05:00
parent 3b393c2fea
commit b45d217366
1 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,8 @@ mode "bypass" {
}
bindsym $mod+Escape mode "bypass"
bindsym --release $mod+Return exec $config_dir/passthrough "Emacs|Alacritty" "super+Return" alacritty # start a terminal
bindsym $mod+Return exec alacritty # start a terminal
bindsym --release $mod+Shift+Return exec $config_dir/passthrough "Emacs|Alacritty" "super+Return" alacritty # start a terminal in current pwd
bindsym $mod+e exec emacsclient -c -n # start emacs
bindsym $mod+Shift+e exec emacsclient -ce '(nm)' # start NeverMore
@ -58,7 +59,8 @@ bindsym $mod+Print exec scrot ~/scratch/'%Y-%m-%d_%H:%M:%S.png'
mode "launch" {
bindsym e exec emacsclient -c -n; mode "default"
bindsym f exec firefox; mode "default"
bindsym --release t exec $config_dir/passthrough "Emacs" "super+t" thunar; mode "default"
bindsym t exec thunar; mode "default"
bindsym --release Shift+t exec $config_dir/passthrough "Emacs" "super+t" thunar; mode "default"
bindsym x exec gajim; mode "default"
bindsym Escape mode "default"
bindsym Return mode "default"