summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-layout')
-rwxr-xr-x.local/bin/dwmbar/dwmb-layout4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout
index 1455398..83d1ba3 100755
--- a/.local/bin/dwmbar/dwmb-layout
+++ b/.local/bin/dwmbar/dwmb-layout
@@ -1,3 +1,5 @@
#!/bin/sh
-echo "  $(cat "$HOME/.cache/layout")"
+text="  $(cat "$HOME/.cache/layout")"
+
+printf '{ "text": "%s", "class": "block" }\n' "$text"