refactor(homesModules/hyprland): move keybinds into separate file
This commit is contained in:
parent
b99c94c4d0
commit
aa00ad1113
2 changed files with 44 additions and 48 deletions
25
modules/home/desktop/windowManager/hyprland/keybinds.nix
Normal file
25
modules/home/desktop/windowManager/hyprland/keybinds.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"$hypr" = "CTRL_SUPER_ALT_SHIFT";
|
||||
bind = [
|
||||
"$hypr, Q, exec, uwsm stop"
|
||||
"SUPER, W, killactive"
|
||||
|
||||
"SUPER, return, exec, uwsm app -- $TERMINAL"
|
||||
"SUPER, O, exec, uwsm app -- $BROWSER"
|
||||
|
||||
"SUPER, H, cyclenext, visible"
|
||||
"SUPER, L, cyclenext, visible prev"
|
||||
"SUPER_ALT, H, movewindow, l"
|
||||
"SUPER_ALT, J, movewindow, d"
|
||||
"SUPER_ALT, K, movewindow, u"
|
||||
"SUPER_ALT, L, movewindow, r"
|
||||
"ALT_SHIFT, H, resizeactive, -10% 0"
|
||||
"ALT_SHIFT, J, resizeactive, 0 -10%"
|
||||
"ALT_SHIFT, K, resizeactive, 0 10%"
|
||||
"ALT_SHIFT, L, resizeactive, 10% 0"
|
||||
"SUPER_CTRL, H, workspace, r-1"
|
||||
"SUPER_CTRL, L, workspace, r+1"
|
||||
"$hypr, H, movetoworkspace, r-1"
|
||||
"$hypr, L, movetoworkspace, r+1"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue