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-date | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.local/bin/dwmbar/dwmb-date') diff --git a/.local/bin/dwmbar/dwmb-date b/.local/bin/dwmbar/dwmb-date index cd598b1..ece4e5f 100755 --- a/.local/bin/dwmbar/dwmb-date +++ b/.local/bin/dwmbar/dwmb-date @@ -1,3 +1,6 @@ #!/bin/sh -date +"  %a %b %d" +text=$(date +" %a %b %d") + +printf '{ "text": "%s", "class": "block" }\n' "$text" + -- cgit v1.2.3