|
@@ -191,7 +191,7 @@ bindsym $mod+r mode "resize"
|
|
|
|
|
|
# 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 date +[$(cat /sys/class/power_supply/BAT0/capacity)%]'[%Y-%m-%d %I:%M:%S %p]'; do sleep 1; done
|
|
|
colors {
|
|
|
statusline #ffffff
|
|
|
background #323232
|