fix: get path to wpctl instead of just calling it
This commit is contained in:
parent
6379872fc5
commit
b18da85bd7
1 changed files with 4 additions and 3 deletions
|
|
@ -159,10 +159,11 @@
|
|||
|
||||
bindel = let
|
||||
brightnessctl = lib.getExe' pkgs.brightnessctl "brightnessctl";
|
||||
wpctl = lib.getExe' pkgs.wireplumber "wpctl";
|
||||
in [
|
||||
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
" ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", XF86AudioRaiseVolume, exec, ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
" ,XF86AudioMute, exec, ${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", XF86MonBrightnessUp,exec, ${brightnessctl} s 5%+"
|
||||
", XF86MonBrightnessDown,exec, ${brightnessctl} s 5%-"
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue