blob: ab9845e4b8aa4866d75592a37545be0c4289cc1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
icon=" "
# # Will minimize the block if nothing is in that file
# expand=$(test -s $HOME/.cache/dwmb-cider-min && echo true || echo false)
case "$(playerctl status)" in
Paused) echo "$icon" ;;
Playing) echo "$icon $(cat ~/.config/Cider/Plugins/gh_525515699/dist/title.txt )" ;;
*) echo "" ;;
esac
case $BUTTON in
1) killall sfeed_curses || st -t rss -e sfeed_curses $HOME/.sfeed/feeds/* ;;
3) playerctl play-pause;;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
|