summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwm_status4
1 files 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