add and use pamixer

volume control actually works now
This commit is contained in:
LavaDesu 2021-05-31 00:51:50 +07:00
parent 1f8626daf3
commit 0ffd824a6e
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 5 additions and 4 deletions

View file

@ -15,6 +15,7 @@
gnupg gnupg
lf lf
neofetch neofetch
pamixer
pavucontrol pavucontrol
tor-browser-bundle-bin tor-browser-bundle-bin
transcrypt transcrypt

View file

@ -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";

View file

@ -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";