aboutsummaryrefslogtreecommitdiff
path: root/env-wayland
diff options
context:
space:
mode:
Diffstat (limited to 'env-wayland')
-rw-r--r--env-wayland/.config/sway/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/env-wayland/.config/sway/config b/env-wayland/.config/sway/config
index 23907eb..dbafc25 100644
--- a/env-wayland/.config/sway/config
+++ b/env-wayland/.config/sway/config
@@ -230,7 +230,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
- status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
+ status_command while echo $(cat /sys/class/power_supply/BAT0/capacity)% $(date +'%Y-%m-%d %I:%M:%S %p'); do sleep 1; done
colors {
statusline #ffffff