very outdated but a bit less outdated than it was before

This commit is contained in:
Alexey 2026-07-04 19:34:42 +03:00
commit 7c48d260e3
11 changed files with 159 additions and 14 deletions

13
.config/i3blocks/scripts/mpd Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/bash
source ~/.cache/wal/colors.sh
if [ "$(mpc current)" != "" ]; then
mpc -f "♪ $(mpc status "%artist% - %title% (%currenttime%/%totaltime%)" | tr -d '\n')" | sed -n 1p
mpc -f "♪ $(mpc status "%title% %currenttime%/%totaltime%" | tr -d '\n')" | sed -n 1p
echo $foreground
else
echo "♪ not playing"
echo "♪ not playing"
echo $color9
fi