summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway.config6
1 files changed, 5 insertions, 1 deletions
diff --git a/sway.config b/sway.config
index 8de40c8..c5df2b1 100644
--- a/sway.config
+++ b/sway.config
@@ -213,7 +213,11 @@ 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 %H:%M:%S %p'; do sleep 1; done
+ status_command while date +'%Y-%m-%d %H:%M:%S %p'; \
+ do sleep 0.5; \
+ date +'%Y-%m-%d %H %M %S %p'; \
+ sleep 0.5; \
+ done
colors {
statusline #ffffff