Fix panel

This commit is contained in:
Nise Void 2020-05-14 22:09:25 +02:00
parent c2569519d4
commit 2e59bb97a4
2 changed files with 3 additions and 3 deletions

View File

@ -2,12 +2,12 @@
while (true); do
if [ "$(mpc | wc -l)" -eq "3" ]; then
SONG=$(mpc | head -1)
SONG=$(mpc | head -1)" | "
if [ "$(mpc | grep '\[paused\]' | wc -l)" -eq "1" ]; then
SONG="⏸ $SONG"
fi
fi
xsetroot -name " $SONG | $(date '+%Y-%m-%d %H:%M:%S') "
xsetroot -name " $SONG$(date '+%Y-%m-%d %H:%M:%S') "
sleep 0.3s;
done

View File

@ -1,5 +1,5 @@
#! /bin/bash
# Dependancies: feh maim slop mpd mpc mpv youtube-dl i3lock xset imagemagick dmenu neovim (lo)ksh fzf
# Dependancies: feh maim slop mpv youtube-dl i3lock xset imagemagick dmenu neovim (lo)ksh mpd mpc fzf xsetroot
# Build: dwm st
ln -s ~/.LinuxConfig/profile ~/.profile