Add some more keybinds to sway to be like hyprland
This commit is contained in:
parent
fadae629da
commit
07190e3132
|
@ -75,8 +75,8 @@ bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, +1
|
|||
bind = SUPER, N, workspace, empty
|
||||
bind = SUPER SHIFT, N, movetoworkspace, empty
|
||||
|
||||
bind = SUPER, C, togglespecialworkspace
|
||||
bind = SUPER SHIFT, C, movetoworkspace, special
|
||||
bind = SUPER, -, togglespecialworkspace
|
||||
bind = SUPER SHIFT, -, movetoworkspace, special
|
||||
|
||||
bind = SUPER, tab, workspace, previous
|
||||
bind = SUPER SHIFT, tab, movetoworkspace, previous
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||
term = config.wayland.windowManager.sway.config.terminal;
|
||||
in {
|
||||
imports = [
|
||||
# ./swaylock.nix
|
||||
|
@ -36,9 +37,18 @@ in {
|
|||
};
|
||||
bars = [];
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+Return" = "exec ${pkgs.foot}/bin/foot";
|
||||
"${modifier}+Shift+q" = "kill";
|
||||
"${modifier}+Return" = "exec ${term}";
|
||||
"${modifier}+q" = "kill";
|
||||
"${modifier}+e" = "exec power-profiles";
|
||||
"${modifier}+e" = "exec powermenu";
|
||||
"${modifier}+v" = "floating toggle";
|
||||
"${modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun";
|
||||
# "${modifier}+F1" = "exec ${pkgs.swaylock}/bin/swaylock";
|
||||
"${modifier}+w" = "exec ${pkgs.firefox}/bin/firefox";
|
||||
"${modifier}+f" = "exec ${pkgs.thunar}/bin/thunar";
|
||||
"${modifier}+m" = "fullscreen toggle";
|
||||
"${modifier}+-" = "scratchpad show";
|
||||
"${modifier}+Shift+-" = "move scratchpad";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue