Home: hyprland keybinds

This commit is contained in:
blahai 2024-11-13 21:09:31 +02:00
parent 1decad1cee
commit ad5067cf13
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -1,15 +1,26 @@
{ pkgs, config, inputs, ... }: { { pkgs, config, inputs, ... }: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
bindle = [
"bindl = ,XF86AudioMute, exec, playerctl --player=spotify,%any play-pause"
"bindle= ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
"bindle= ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
];
bindm = [ "Super, mouse:272, movewindow" "Super, mouse:273, resizewindow" ]; bindm = [ "Super, mouse:272, movewindow" "Super, mouse:273, resizewindow" ];
bindn = [ bindn = [ " , up, pass, JKPS" ];
" , up, pass, JKPS"
binde = [ # Window split ratio
"Super, Semicolon, splitratio, -0.1"
"Super, Apostrophe, splitratio, 0.1"
]; ];
bind = [ bind = [
"Super, mouse_up, workspace, +1" "Super, mouse_up, workspace, +1"
"Super, mouse_down, workspace, -1" "Super, mouse_down, workspace, -1"
"Super, Page_up, workspace, +1"
"Super, Page_down, workspace, +1"
"Super+Shift, S, togglespecialworkspace" "Super+Shift, S, togglespecialworkspace"
@ -33,7 +44,7 @@
## Hyprland stuff ## Hyprland stuff
"Super, Z, movewindow" "Super, Z, movewindow"
# Swap windows # Swap windows
"Super+Shift, left, movewindow, l" "Super+Shift, left, movewindow, l"
"Super+Shift, right, movewindow, r" "Super+Shift, right, movewindow, r"