From d98809f64c98737d7f71ca73f5b3f6415c1c273e Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 24 Apr 2023 14:18:05 +0900 Subject: [PATCH] Fix window name timeout --- modules/home/eww/bar/window/get-window-title.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/eww/bar/window/get-window-title.sh b/modules/home/eww/bar/window/get-window-title.sh index 1172057..e035309 100755 --- a/modules/home/eww/bar/window/get-window-title.sh +++ b/modules/home/eww/bar/window/get-window-title.sh @@ -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}'