summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-12-04 01:26:26 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2022-12-04 01:26:26 +0100
commit1d6b926458e1e0d6527f960b744b89e8ecda21bf (patch)
tree57b4bd0a5b8ca88f6b6fdd1de48efaaceec455a2
parent5f9bb334f76562007988a08769f3640f67ab8089 (diff)
Configure colon blinking in Swaybar clock
-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