From 2e59bb97a49ec8599c6b0155aa57f4fd68813dd9 Mon Sep 17 00:00:00 2001 From: NiseVoid Date: Thu, 14 May 2020 22:09:25 +0200 Subject: [PATCH] Fix panel --- bin/panel | 4 ++-- install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/panel b/bin/panel index 41a5b5e..6fb67f7 100755 --- a/bin/panel +++ b/bin/panel @@ -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 diff --git a/install.sh b/install.sh index 74a841c..badc3a3 100755 --- a/install.sh +++ b/install.sh @@ -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