summaryrefslogtreecommitdiff
path: root/dwm_status
diff options
context:
space:
mode:
authortslil clingman <>2021-07-14 18:26:22 -0400
committertslil clingman <>2021-07-14 18:26:22 -0400
commit9569368eb6cf50eba21341766487f865723ee669 (patch)
treee5ff77eb82fb1c2c76ff1864f98a143fea334b6f /dwm_status
parent92f24df41be941d407965368a9c84b7f061fddb8 (diff)
Add lock status
Diffstat (limited to 'dwm_status')
-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