tweaks for eww

This commit is contained in:
Chris Cochrun 2025-04-29 14:57:27 -05:00
parent 8c1c70df2b
commit 79053fa847
6 changed files with 34 additions and 7 deletions

7
.config/eww/scripts/gaw Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env nu
def active [_change] {
hyprctl monitors -j | from json | where focused == true | get activeWorkspace.id | first
}
socat -u UNIX-CONNECT:/run/user/1000/hypr/29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc_1745939475_617930074/.socket2.sock - | lines | take until { is-empty } | active $in