Files
dotfiles-archive/swaywm/local/bin/i3status++
T
2025-02-27 17:06:42 +00:00

8 lines
211 B
Bash
Executable File

#!/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)