Fix window name timeout

This commit is contained in:
2023-04-24 14:18:05 +09:00
parent 46ce6aad41
commit d98809f64c
@@ -3,5 +3,5 @@
MAXCHAR=40
hyprctl activewindow -j | jq --raw-output .title | cut -c -$MAXCHAR
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | grep --line-buffered '^activewindow>>' | stdbuf -o0 awk -F '>>|,' '{print $3}' | stdbuf -oL cut -c -$MAXCHAR
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | grep --line-buffered '^activewindow>>' | stdbuf -o0 awk -F '>>|,' '{printf "%.40s\n", $3}'