mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-19 07:19:59 -05:00
stuff
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
hyprctl activewindow -j | gojq -c -M
|
||||
|
||||
if [ "$1" == "--once" ]; then
|
||||
exit 0
|
||||
else
|
||||
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "window>>" | while read -r line; do
|
||||
hyprctl activewindow -j | gojq -c -M
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user