[sway] Add new run mode to launch all shortcuts

This commit is contained in:
Sebastian Schulze 2019-10-18 16:46:27 +02:00
parent 4c0c31d72e
commit a0ebef017e
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 24 additions and 0 deletions

View File

@ -310,6 +310,30 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
mode "run" {
# start your launcher
bindsym $mod+d exec $menu; mode "default";
bindsym d exec $menu; mode "default";
bindsym r exec i3-rofi; mode "default";
bindsym p exec rofi-pass; mode "default";
bindsym w exec firefox-wayland; mode "default";
bindsym e exec em; mode "default"
bindsym f exec nautilus; mode "default"
bindsym c exec clipman pick --tool=rofi; mode "default"
bindsym b exec rofi-marks; mode "default"
bindsym v exec alacritty --class 'vm' --command zsh -c 'vm'
# return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+d mode "run"
set $font_family FuraMono Nerd Font
set $font_size 10
font pango:$font_family $font_size