Spotify blocklet controls, build main.scss

ranger icons.
This commit is contained in:
2019-03-03 02:17:39 -05:00
parent 3fc23d00bd
commit 79ef30f09b
20 changed files with 321 additions and 52 deletions

View File

@@ -23,7 +23,7 @@ color=#cbe4ff
[volume]
interval=once
signal=1
interval=10
interval=60
[calendar]
interval=30

View File

@@ -18,12 +18,12 @@ label=
# color=#198c19
# aqua
# color=#2d7272
interval=10
interval=5
[volume]
interval=once
signal=1
interval=10
interval=60
[time_short]
# label=🕓

View File

@@ -1,4 +1,10 @@
#!/bin/bash
case "$BLOCK_BUTTON" in
1) dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause ;;
2) dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous ;;
3) dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next ;;
esac
. "/home/kevin/.cache/wal/colors.sh"
printf "$(spotify-now -i '%artist - %title' -p '' -e '')\n$(spotify-now -i '%title' -p '' -e '')\n%s\n" "$color7"