From 108788c38e0eab9c989e7363ac1683c85cc36484 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 23 Nov 2022 22:09:24 -0500 Subject: [PATCH] Music keybindings. --- i38.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/i38.sh b/i38.sh index f85fd33..697924e 100755 --- a/i38.sh +++ b/i38.sh @@ -251,6 +251,16 @@ bindsym Mod1+Control+Delete exec --no-startup-id sgtk-bar bindsym Mod1+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% bindsym Mod1+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% +# Music player controls +# Requires playerctl. +bindsym XF86AudioRaiseVolume exec --no-startup-id ${i3Path}/scripts/music_controler.sh incvol +bindsym XF86AudioLowerVolume exec --no-startup-id ${i3Path}/scripts/music_controler.sh decvol +bindsym XF86AudioPrev exec --no-startup-id ${i3Path}/scripts/music_controler.sh prev +bindsym XF86AudioMute exec --no-startup-id ${i3Path}/scripts/music_controler.sh pause +bindsym XF86AudioPlay exec --no-startup-id ${i3Path}/scripts/music_controler.sh play +bindsym XF86AudioStop exec --no-startup-id ${i3Path}/scripts/music_controler.sh Stop +bindsym XF86AudioNext exec --no-startup-id ${i3Path}/scripts/music_controler.sh Next + # start a terminal bindsym Mod1+Return exec i3-sensible-terminal