mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-03 17:54:31 +02:00
Revert "spotify: try to support the new version of Spotify"
This reverts commit 6c8985a9ae
. Well, keep
old version of Spotify until MPRIS DBus support is updated.
This commit is contained in:
parent
6c8985a9ae
commit
93a5cf16ba
3 changed files with 47 additions and 60 deletions
|
@ -22,7 +22,8 @@ case "$1" in
|
|||
;;
|
||||
lock)
|
||||
# First, stop Spotify
|
||||
xdotool key XF86AudioPause
|
||||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify \
|
||||
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
|
||||
# Then, lock screen
|
||||
i3lock_options="-e -i $HOME/.cache/awesome/current-wallpaper.png -t"
|
||||
echo "$(date --rfc-3339=seconds) $me: lock: lock screen"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue