mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
4 lines
224 B
Text
4 lines
224 B
Text
|
#!/bin/bash
|
||
|
hyprctl monitors -j | jq --raw-output .[0].activeWorkspace.id
|
||
|
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 grep '^workspace>>' | stdbuf -o0 awk -F '>>|,' '{print $2}'
|