solorice/.config/eww/scripts/get-window-title
2024-07-16 22:42:32 +03:00

3 lines
144 B
Bash
Executable File

#!/bin/sh
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}'