diff options
author | joe <rbo@gmx.us> | 2025-10-02 11:14:43 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-10-02 11:14:43 +0200 |
commit | a190993b0579dfaacd5fe75a49fcb3214e2cb1bf (patch) | |
tree | 128708ae1ca9f6e5ab433e73542d7b52125357df /.local/bin/status/sb-mpd | |
parent | up (diff) | |
download | dotfiles-bsd-a190993b0579dfaacd5fe75a49fcb3214e2cb1bf.tar.gz dotfiles-bsd-a190993b0579dfaacd5fe75a49fcb3214e2cb1bf.tar.bz2 dotfiles-bsd-a190993b0579dfaacd5fe75a49fcb3214e2cb1bf.tar.xz dotfiles-bsd-a190993b0579dfaacd5fe75a49fcb3214e2cb1bf.tar.zst dotfiles-bsd-a190993b0579dfaacd5fe75a49fcb3214e2cb1bf.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/status/sb-mpd | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/status/sb-mpd b/.local/bin/status/sb-mpd deleted file mode 100755 index 21bf2c7..0000000 --- a/.local/bin/status/sb-mpd +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -return -mp=$(mpc status) -icon=$(echo "$mp" | sed -n 2p | sed -E 's/(^|\])[^[]*($|\[)//g') -case $icon in - "playing") icon="契" ;; - "paused") icon="" ;; - *) return ;; -esac -printf "%s %s" "$icon" "$(echo "$mp" | head -n1)" |