very outdated but a bit less outdated than it was before
This commit is contained in:
parent
ccdca7c67e
commit
7c48d260e3
11 changed files with 159 additions and 14 deletions
13
.config/i3blocks/scripts/mpd
Executable file
13
.config/i3blocks/scripts/mpd
Executable 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue