adding better workspaces to eww

This commit is contained in:
Chris Cochrun 2023-08-30 15:28:21 -05:00
parent f7394076c1
commit d34f4ab2b4
9 changed files with 55 additions and 33 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'