Add sway shortcuts
This commit is contained in:
parent
5a5533f97b
commit
dad4b8c04d
1 changed files with 4 additions and 2 deletions
|
|
@ -154,8 +154,10 @@ in
|
||||||
keybindings = let
|
keybindings = let
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
in lib.mkOptionDefault {
|
in lib.mkOptionDefault {
|
||||||
"${modifier}+Return" = "exec wezterm";
|
"${modifier}+Return" = "exec wezterm";
|
||||||
"${modifier}+d" = "exec fuzzel";
|
"${modifier}+d" = "exec fuzzel";
|
||||||
|
"${modifier}+space" = "floating toggle";
|
||||||
|
"${modifier}+t" = "sticky toggle";
|
||||||
"${modifier}+Shift+q" = "kill";
|
"${modifier}+Shift+q" = "kill";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'";
|
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue