10 lines
223 B
Bash
Executable file
10 lines
223 B
Bash
Executable file
#!/bin/sh
|
|
|
|
function handle {
|
|
if [[ ${1:0:12} == "activewindow" ]]; then
|
|
echo ${1:0}
|
|
fi
|
|
}
|
|
|
|
socat - UNIX-CONNECT:/tmp/hypr/$(echo $HYPRLAND_INSTANCE_SIGNATURE)/.socket2.sock | while read line; do handle $line; done
|