Tweak the status bar
This commit is contained in:
parent
f5ff9e854f
commit
28764d0d9f
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,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 $(date +'%Y-%m-%d %H:%M:%S') 🔋$(cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/capacity)%; do sleep 1; done
|
||||
|
||||
colors {
|
||||
statusline #ffffff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue