Reduce clock drift in the status bar
This commit is contained in:
parent
67a552bd04
commit
7da75d4b68
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 echo $(print-status); do sleep 1; done
|
||||
status_command while :; do sleep 0.5 & echo $(print-status); wait; done
|
||||
|
||||
colors {
|
||||
statusline #ffffff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue