diff options
| author | stkhan <personal@slickd.xyz> | 2022-06-11 19:51:12 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-06-11 19:51:12 +0000 |
| commit | cb75956686ee8b20024a01cc3808e20a0bc3f7f8 (patch) | |
| tree | 29086e0a1dadbf7a6655246387fa39db422baa3e /dwmblocks/dwmblocks-mpc | |
| parent | 016a3533c6b62297b98b86f097fab962ccebbbac (diff) | |
removed dwmblocks as submodule
Diffstat (limited to 'dwmblocks/dwmblocks-mpc')
| m--------- | dwmblocks | 0 | ||||
| -rwxr-xr-x | dwmblocks/dwmblocks-mpc | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dwmblocks b/dwmblocks deleted file mode 160000 -Subproject a933ce0d6109524b393feb3e7156cbf0de88b42 diff --git a/dwmblocks/dwmblocks-mpc b/dwmblocks/dwmblocks-mpc new file mode 100755 index 0000000..c468ec8 --- /dev/null +++ b/dwmblocks/dwmblocks-mpc @@ -0,0 +1,6 @@ +#!/bin/sh + +SONG=$(mpc --format "%title% - %artist%" | mpc --format "%title% - %artist%" | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | sed 1q;) +ICON="🎵" + +echo "$ICON $SONG" |