summaryrefslogtreecommitdiff
path: root/sandbar_status
diff options
context:
space:
mode:
authortslil clingman <>2023-12-14 21:13:30 +0100
committertslil clingman <>2023-12-14 21:13:30 +0100
commitfb9e55809afe7a2cecd80c523a37cb197970f9c5 (patch)
tree86243c7a42847453c00d3dbc21a3d088b908a656 /sandbar_status
parent7e94caf6d63fcf327f40a3f359f222dc17d3bc7e (diff)
bar: roll sandbar and status script into one
Diffstat (limited to 'sandbar_status')
-rwxr-xr-xsandbar_status13
1 files changed, 0 insertions, 13 deletions
diff --git a/sandbar_status b/sandbar_status
deleted file mode 100755
index 55aa793..0000000
--- a/sandbar_status
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-while true; do
- time="$(TZ=America/Chicago date +'%Z %H:%M')"
- time="$time | $(TZ=Europe/Amsterdam date +'%Z %H:%M %Y/%m/%d')"
- temp="CPU $(sensors k10temp-pci-00c3 | grep Tctl | cut -d: -f2 | tr -d ' +')"
- wlp1s0="$(nmcli connection | grep wlp1s0 | cut -d\ -f1)"
- if [ -z "$wlp1s0" ]; then wlp1s0="DN"; fi
- wifi="WLS $wlp1s0"
- bat="BAT $(battery)"
- echo "all status $wifi | $bat | $temp | $time"
- sleep 30s
-done