Adds spotify dbus support
This commit is contained in:
+5
-1
@@ -20,7 +20,6 @@ include input
|
||||
|
||||
set $launcher ulauncher
|
||||
|
||||
|
||||
floating_modifier Mod1
|
||||
|
||||
# Window settings and layout
|
||||
@@ -97,6 +96,11 @@ bindsym Ctrl+Print exec grim -g "$(slurp)" ~/screenshot.png
|
||||
bindsym Shift+Ctrl+Print exec grim ~/screenshot.png
|
||||
bindsym Shift+Print exec grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# Spotify control
|
||||
bindsym $mod+Ctrl+$right exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||||
bindsym $mod+Ctrl+$left exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||||
bindsym $mod+Ctrl+space exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||||
|
||||
# Moving around
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
|
||||
Reference in New Issue
Block a user