summaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
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} |"