summaryrefslogtreecommitdiff
path: root/desktop/.local/share/barmodules/qmmp.sh
diff options
context:
space:
mode:
authorRose <rose@pinkro.se>2025-10-10 11:29:10 +0200
committerRose <rose@pinkro.se>2025-10-10 11:29:10 +0200
commitb7dfa5fdb2330f1e1cd222365055c3d45ad473be (patch)
tree78e455c8c43c6c00fc4639932ba7315e8c074cd3 /desktop/.local/share/barmodules/qmmp.sh
parent98424148dfe9ab666ee928df7565e65faa41b61b (diff)
downloaddotfiles-b7dfa5fdb2330f1e1cd222365055c3d45ad473be.tar.gz
dotfiles-b7dfa5fdb2330f1e1cd222365055c3d45ad473be.tar.bz2
all: Rework system structureHEADmain
Diffstat (limited to 'desktop/.local/share/barmodules/qmmp.sh')
-rwxr-xr-xdesktop/.local/share/barmodules/qmmp.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/desktop/.local/share/barmodules/qmmp.sh b/desktop/.local/share/barmodules/qmmp.sh
deleted file mode 100755
index a0ec01e..0000000
--- a/desktop/.local/share/barmodules/qmmp.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-pidof qmmp 2> /dev/null > /dev/null
-if [ $? -eq 0 ]; then
- nowplaying=$(qmmp --nowplaying '%p - %a: %t')
- if [ ${#nowplaying} -gt 80 ]; then
- echo -n "${nowplaying:0:77}... "
- else
- echo -n "$nowplaying"
- fi
- echo -n "$(qmmp --status | head -1)"
-else
- echo -n "qmmp: Exited"
-fi