3 lines
202 B
Bash
3 lines
202 B
Bash
|
#!/usr/bin/env bash
|
||
|
hyprctl activewindow -j | jq --raw-output .title
|
||
|
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}'
|