summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xyambar_status12
1 files changed, 12 insertions, 0 deletions
diff --git a/yambar_status b/yambar_status
new file mode 100755
index 0000000..2fc331e
--- /dev/null
+++ b/yambar_status
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+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')"
+temp="GPU $(nvidia-smi --query-gpu temperature.gpu --format=csv,noheader)°C"
+temp="CPU $(sensors k10temp-pci-00c3 | grep Tctl | cut -d: -f2 | tr -d ' +') $temp"
+echo "temp|string|$temp"
+echo "time|string|$time"
+echo ""