Files
illogical-impulse/early/.config/eww/scripts/taskbarloop
T
2024-02-22 15:35:06 +07:00

13 lines
272 B
Bash
Executable File

#!/usr/bin/bash
scripts/taskbar
if [ "$1" == "--once" ]; then
scripts/taskbar
exit 0
else
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "window>>" | while read -r line; do
scripts/taskbar
echo
done
fi