summaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-01-09 21:12:02 +0100
committerxengineering <me@xengineering.eu>2026-01-13 11:23:31 +0100
commitbe258954cd6182c1d51723a780bf94c2ed57e442 (patch)
tree9b3b89b14fbc47e1a268ccb153d4b35af82998ae /sway
parent4f202f0e924dfbd563d5530c4cdb4f1e7c984ebc (diff)
downloaddotfiles-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')
-rw-r--r--sway/config2
-rwxr-xr-xsway/status.sh15
2 files changed, 1 insertions, 16 deletions
diff --git a/sway/config b/sway/config
index 259a660..bfb2776 100644
--- a/sway/config
+++ b/sway/config
@@ -215,7 +215,7 @@ bindsym $mod+r mode "resize"
bar {
position top
- swaybar_command swaybar
+ swaybar_command waybar
status_command while ~/.config/sway/status.sh; do sleep 1; done
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} |"