summaryrefslogtreecommitdiff
path: root/sway/status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway/status.sh')
-rwxr-xr-xsway/status.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/sway/status.sh b/sway/status.sh
deleted file mode 100755
index eb68f81..0000000
--- a/sway/status.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-
-temp() {
- find /sys/class/thermal -type l -name 'thermal_zone*' | \
- while read -r zone
- do
- printf "%s °C " "$(( $(cat ${zone}/temp) / 1000 ))"
- done
-}
-bat="BAT $(cat /sys/class/power_supply/BAT*/capacity | tr '\n' ' ')"
-time="$(date '+KW %V %a %Y-%m-%d %H:%M')"
-
-
-echo "| $(temp)| ${bat}| ${time} |"