Fix panel
This commit is contained in:
parent
c2569519d4
commit
2e59bb97a4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user