mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
test
This commit is contained in:
parent
c69ed34507
commit
d68c699a7a
18 changed files with 644 additions and 203 deletions
6
home-manager/modules/eww/config/scripts/get-active-workspace
Executable file
6
home-manager/modules/eww/config/scripts/get-active-workspace
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/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}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue