mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Fix volume desync with xbindkeys
This commit is contained in:
parent
7301d2476e
commit
30c680db3f
@ -175,8 +175,8 @@ bindsym XF86AudioPause exec --no-startup-id mpc pause
|
||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||
bindsym XF86AudioPrev exec --no-startup-id mpc previous
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1000 && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1000 && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks
|
||||
exec --no-startup-id "ip monitor | while read line; do pkill -RTMIN+15 i3blocks; done"
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# thumb wheel up => increase volume and unmute
|
||||
"amixer -D pulse set Master 1000+ unmute ; pkill -RTMIN+10 i3blocks"
|
||||
"xdotool key --clearmodifiers XF86AudioRaiseVolume"
|
||||
b:6
|
||||
|
||||
# thumb wheel down => lower volume
|
||||
"amixer -D pulse set Master 1000- ; pkill -RTMIN+10 i3blocks"
|
||||
"xdotool key --clearmodifiers XF86AudioLowerVolume"
|
||||
b:7
|
||||
|
||||
# backward button => previous song
|
||||
|
Loading…
Reference in New Issue
Block a user