Try using python script to handle sound
This commit is contained in:
parent
2a7d1ab16c
commit
6008fd6331
@ -620,9 +620,12 @@ bindsym XF86AudioMute exec --no-startup-id bash $HOME/scripts/dunst-volume.sh mu
|
||||
#bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
|
||||
#bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
|
||||
#https://github.com/acrisci/playerctl/
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
#bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPlay exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py play-pause &
|
||||
#bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioNext exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py next &
|
||||
#bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioPrev exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py previous &
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user