Hyprland: keyboard shortcuts bindings

This commit is contained in:
Filippo Berto 2023-11-13 17:16:39 +01:00
parent ee3e92ae85
commit 5680901379
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -7,7 +7,7 @@
./yazi.nix
];
home.packages = builtins.attrValues { inherit (pkgs) wofi swaylock way-lockscreen wlogout; };
home.packages = builtins.attrValues { inherit (pkgs) wofi swaylock way-lockscreen wlogout playerctl brillo pamixer; };
# wayland.windowManager.hyprland = { };
@ -212,5 +212,18 @@
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = , XF86AudioLowerVolume, exec, pamixer -d 2 -u
bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioRaiseVolume, exec, pamixer -i 2 -u
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86PowerOff, exec, wlogout
bind = , XF86MonBrightnessUp, exec, brillo -A 10
bind = , XF86MonBrightnessDown, exec, brillo -U 10
'';
}