From 1cace80e4832a5d250ef4b7ccd687996563fb01b Mon Sep 17 00:00:00 2001 From: venomade Date: Thu, 27 Feb 2025 17:06:42 +0000 Subject: Add old dotfiles --- swaywm/local/bin/i3status++ | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 swaywm/local/bin/i3status++ (limited to 'swaywm/local/bin/i3status++') diff --git a/swaywm/local/bin/i3status++ b/swaywm/local/bin/i3status++ new file mode 100755 index 0000000..ea4ede6 --- /dev/null +++ b/swaywm/local/bin/i3status++ @@ -0,0 +1,8 @@ +#!/bin/bash + +i3status | (read line; echo "$line"; read line ; echo "$line" ; read line ; echo "$line" ; while true +do + read line + json_array="$(echo $line | sed -e 's/^,//')" + echo ",$json_array" +done) \ No newline at end of file -- cgit 1.4.1-2-gfad0