diff options
| author | tslil clingman <> | 2021-07-14 18:26:22 -0400 |
|---|---|---|
| committer | tslil clingman <> | 2021-07-14 18:26:22 -0400 |
| commit | 9569368eb6cf50eba21341766487f865723ee669 (patch) | |
| tree | e5ff77eb82fb1c2c76ff1864f98a143fea334b6f | |
| parent | 92f24df41be941d407965368a9c84b7f061fddb8 (diff) | |
Add lock status
| -rwxr-xr-x | dwm_status | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
