4 lines
212 B
Text
4 lines
212 B
Text
|
|
#!/bin/sh
|
||
|
|
hyprctl activewindow -j | jq --raw-output .title
|
||
|
|
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 grep '^activewindow>>' | stdbuf -o0 awk -F '>>|,' '{print $3}'
|