mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
4 lines
224 B
Bash
Executable File
4 lines
224 B
Bash
Executable File
#!/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}'
|