From b893bf61a385aa42929cc849ba604a546d16ca40 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Mon, 5 Apr 2021 10:58:29 -0400 Subject: [PATCH] Update status bar and dunst --- .xinitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.xinitrc b/.xinitrc index 61260bf..13ae623 100755 --- a/.xinitrc +++ b/.xinitrc @@ -7,10 +7,11 @@ picom & xwallpaper --center .config/wall.png xautolock -time 12 -locker "systemctl suspend" -detectsleep & xss-lock -- slock & -dunst & +#dunst crashes X for some reason on my device so I put it in screen to prevent that +screen -dm dunst notifs while true; do - xsetroot -name "$(mpc -f %title% | head -n 1) $(mpc status | awk '/^\[playing\]/ { sub(/\/.+/,"",$4); print $3 }') | $(date) $(acpi | cut -d',' -f2)" + xsetroot -name "$(mpc -f %title% | head -n 1) $(mpc status | awk '/^\[playing\]/ { sub(/\/.+/,"",$4); print $3 }') | $(date) | $(acpi | cut -d',' -f2)" sleep 2 done &