From 9ebf91e892cbafbf03d09f3adca652db181d1587 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 5 Aug 2024 19:30:47 -0400 Subject: Wayland migration (first of many) --- .local/bin/dwmbar/dwmb-time | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.local/bin/dwmbar/dwmb-time') diff --git a/.local/bin/dwmbar/dwmb-time b/.local/bin/dwmbar/dwmb-time index bbd6585..15046a3 100755 --- a/.local/bin/dwmbar/dwmb-time +++ b/.local/bin/dwmbar/dwmb-time @@ -1,3 +1,6 @@ #!/bin/sh -date +"  %H:%M " +text="$(date +" %H:%M")" + +printf '{ "text": "%s", "class": "block" }\n' "$text" + -- cgit v1.2.3