add media key binds

This commit is contained in:
insects 2024-08-13 18:35:46 +02:00
parent a42d6f0e59
commit f4290425d8

View file

@ -6,6 +6,8 @@
home.packages = with pkgs; [
grimblast
pamixer
playerctl
];
wayland.windowManager.hyprland = {
@ -18,7 +20,7 @@
general = {
gaps_in = 15;
gaps_out = 20;
border_size = 2;
border_size = 1;
};
cursor.inactive_timeout = 4;
@ -145,6 +147,12 @@
",Print,exec,${grimblast} --notify --freeze copy area" # screenshot area
"SHIFT,Print,exec,${grimblast} --notify --freeze copy output" # screenshot all
",XF86AudioRaiseVolume,exec,pamixer -i 5" # raise volume
",XF86AudioLowerVolume,exec,pamixer -d 5" # lower volume
",XF86AudioPlay,exec,playerctl play-pause" # play/pause
",XF86AudioNext,exec,playerctl next" # next song
",XF86AudioPrev,exec,playerctl previous" # previous song
]
++
# change workspace