add and use pamixer
volume control actually works now
This commit is contained in:
parent
1f8626daf3
commit
0ffd824a6e
3 changed files with 5 additions and 4 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
gnupg
|
gnupg
|
||||||
lf
|
lf
|
||||||
neofetch
|
neofetch
|
||||||
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
transcrypt
|
transcrypt
|
||||||
|
|
|
||||||
|
|
@ -95,9 +95,9 @@ in rec {
|
||||||
"${super}+Shift+p" = "exec systemctl --user restart picom";
|
"${super}+Shift+p" = "exec systemctl --user restart picom";
|
||||||
|
|
||||||
# Volume
|
# Volume
|
||||||
"XF86AudioRaiseVolume" = "exec pactl set-sink-volume 0 +5%";
|
"XF86AudioRaiseVolume" = "exec pamixer -i 5%";
|
||||||
"XF86AudioLowerVolume" = "exec pactl set-sink-volume 0 -5%";
|
"XF86AudioLowerVolume" = "exec pamixer -d 5%";
|
||||||
"XF86AudioMute" = "exec pactl set-sink-volume 0 toggle";
|
"XF86AudioMute" = "exec pamixer -t";
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
"XF86MonBrightnessUp" = "exec light -A 10";
|
"XF86MonBrightnessUp" = "exec light -A 10";
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ in rec {
|
||||||
"super + shift + p" = "systemctl --user restart picom";
|
"super + shift + p" = "systemctl --user restart picom";
|
||||||
|
|
||||||
# Volume
|
# Volume
|
||||||
"XF86Audio{RaiseVolume,LowerVolume,Mute}" = "pactl set-sink-volume 0 {+5%,-5%,toggle}";
|
"XF86Audio{RaiseVolume,LowerVolume,Mute}" = "pamixer -{i 5,d 5,t}";
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
"XF86MonBrightness{Up,Down}" = "light -{A,U} 10";
|
"XF86MonBrightness{Up,Down}" = "light -{A,U} 10";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue