summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-03-30 01:00:51 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2025-03-30 01:00:51 -0400
commitf4c4550e327d9090c82a735d39d104d0bedb602d (patch)
treefcfa762512155c132a66d3adbb56067ca2d5d61b /.local/bin/dwmbar/dwmb-layout
parent43dbb32d741e11f8e06341f515944ec757d4578f (diff)
Loads of laptop shit
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"