summaryrefslogtreecommitdiffstats
path: root/.i3/config
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-05-10 16:02:29 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-05-10 16:02:29 +0200
commit13c880673c8bc5455127d6de1576584a2efb8077 (patch)
treec7004d3510c32a8c8f384a5b91626e188f669f11 /.i3/config
parent19cd6a1c164c4fbfca04955d4c4b88e45209d6cf (diff)
downloaddotfiles-13c880673c8bc5455127d6de1576584a2efb8077.tar.gz
dotfiles-13c880673c8bc5455127d6de1576584a2efb8077.tar.xz
i3: Add hotkey for next/prev song
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.i3/config')
-rw-r--r--.i3/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/.i3/config b/.i3/config
index c72afb3..01743ac 100644
--- a/.i3/config
+++ b/.i3/config
@@ -79,6 +79,8 @@ bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 -time 0
bindsym XF86Display exec --no-startup-id connect-screen
bindsym XF86AudioPlay exec --no-startup-id toggle-music
+bindsym XF86AudioNext exec --no-startup-id dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
+bindsym XF86AudioPrev exec --no-startup-id dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
# kill focused window
bindsym $mod+Shift+q kill