diff options
| author | xengineering <me@xengineering.eu> | 2026-01-09 21:12:02 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-01-13 11:23:31 +0100 |
| commit | be258954cd6182c1d51723a780bf94c2ed57e442 (patch) | |
| tree | 9b3b89b14fbc47e1a268ccb153d4b35af82998ae /sway/status.sh | |
| parent | 4f202f0e924dfbd563d5530c4cdb4f1e7c984ebc (diff) | |
| download | dotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.tar dotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.tar.zst dotfiles-be258954cd6182c1d51723a780bf94c2ed57e442.zip | |
sway: Switch back to minimal waybar
`swaybar` has icon issues on Arch Linux. Furthermore waybar - while more
complicated to configure - has way more features. Complexity can be
avoided by a minimal config.
Diffstat (limited to 'sway/status.sh')
| -rwxr-xr-x | sway/status.sh | 15 |
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} |" |
