From 7da75d4b688ab707cf4a164fdd876d901299b7ee Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:44:37 +0300 Subject: [PATCH] Reduce clock drift in the status bar --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index 7af97ff..7fc5e2f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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