mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 19:30:51 +01:00
sxhkd: Use pamixer instead of pactl
This prevents us from setting the volume above 100%.
This commit is contained in:
parent
c816942ec3
commit
5b9b59073d
@ -98,10 +98,10 @@ super + F1
|
||||
pactl set-sink-mute @DEFAULT_SINK@ toggle && notify-send -t 2000 "Changed muted to" "$(pamixer --get-mute)"
|
||||
|
||||
super + F2
|
||||
pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 2000 "Lowered volume to" "$(pamixer --get-volume)%"
|
||||
pamixer -d 5 && notify-send -t 2000 "Lowered volume to" "$(pamixer --get-volume)%"
|
||||
|
||||
super + F3
|
||||
pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 2000 "Raised volume to" "$(pamixer --get-volume)%"
|
||||
pamixer -i 5 && notify-send -t 2000 "Raised volume to" "$(pamixer --get-volume)%"
|
||||
|
||||
super + F4
|
||||
pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
Loading…
Reference in New Issue
Block a user