diff options
author | venomade <venomade@venomade.com> | 2025-02-27 17:06:42 +0000 |
---|---|---|
committer | venomade <venomade@venomade.com> | 2025-02-27 17:06:42 +0000 |
commit | 1cace80e4832a5d250ef4b7ccd687996563fb01b (patch) | |
tree | db1ced91d1382ca3cabe37dbae00da51231d6a99 /swaywm/local/bin/i3status++ |
Add old dotfiles
Diffstat (limited to 'swaywm/local/bin/i3status++')
-rwxr-xr-x | swaywm/local/bin/i3status++ | 8 |
1 files changed, 8 insertions, 0 deletions
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 |