summaryrefslogtreecommitdiff
path: root/dwm_status
diff options
context:
space:
mode:
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