From 9569368eb6cf50eba21341766487f865723ee669 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Wed, 14 Jul 2021 18:26:22 -0400 Subject: Add lock status --- dwm_status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm_status b/dwm_status index 947d9ad..4b551ac 100755 --- a/dwm_status +++ b/dwm_status @@ -3,11 +3,11 @@ n=0 while true; do if [ "$(( $n % 2 ))" = "0" ]; then - bat="$(battery)" + bat="$(battery)" fi; time="$(date +%d/%Hh%M)" temp="$(( $(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C" - xsetroot -name "$temp | $bat | $time" + xsetroot -name "$(cat ~/.autolock_status)$temp | $bat | $time" n=$(( $n + 1 )) sleep 30s done -- cgit v1.2.3