summaryrefslogtreecommitdiff
path: root/dwm_status
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-05 09:42:24 +0100
committertslil <tslil@posteo.de>2026-04-05 09:44:16 +0100
commitc495598bdcf38aa7fd2edc2903a42e70ad879ca9 (patch)
treecc0da9c0a8825ac33722a530adcdff34c88c208e /dwm_status
parentf68490ef97b0393f6eef2916fe15abe2540be610 (diff)
cleanup
Diffstat (limited to 'dwm_status')
-rwxr-xr-xdwm_status19
1 files changed, 0 insertions, 19 deletions
diff --git a/dwm_status b/dwm_status
deleted file mode 100755
index 75e1833..0000000
--- a/dwm_status
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-n=0
-while [ -n "$(pgrep 'somebar$')" ]; do
- time="$(TZ=PST8PDT date +'%Z %H:%M')"
- time="$time | $(TZ=America/Chicago date +'%Z %H:%M')"
- time="$time | $(TZ=America/New_York date +'%Z %H:%M')"
- time="$time | $(TZ=UTC date +'%Z %H:%M')"
- time="$time | $(TZ=Europe/London date +'%Z %H:%M')"
- time="$time | $(TZ=Europe/Amsterdam date +'%Z %H:%M:%S %Y/%m/%d')"
- if [ "$(( n % 5 ))" = "0" ]; then
- temp="CPU $(sensors k10temp-pci-00c3 | grep Tctl | cut -d: -f2 | tr -d ' +')"
- #temp="CPU $(( $(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
- fi
- # xsetroot -name "$temp | $time"
- somebar -c "status $temp | $time"
- n=$(( $n + 1 ))
- sleep 1s
-done