feat: further structure hyprland configuration
Added special keybind definition files Created new hyprland-specific config dir
This commit is contained in:
parent
d4059b5e9a
commit
a29235acb6
5 changed files with 128 additions and 115 deletions
10
home-manager/stvnliu/hypr/hyprland/xf86_binds.nix
Normal file
10
home-manager/stvnliu/hypr/hyprland/xf86_binds.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
}: [
|
||||
", XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause"
|
||||
", XF86AudioStop, exec, ${pkgs.playerctl}/bin/playerctl stop"
|
||||
", XF86AudioRaiseVolume, exec, ${pkgs.wireplumber}/bin/wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, ${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
", XF86AudioMute, exec, ${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%"
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue