diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-06-13 13:09:40 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-06-13 13:09:40 +0100 |
| commit | b3a1e85c74ac530c378e1d136ca6c83c63fcfcff (patch) | |
| tree | ab5d30ad719970365cda1d4ddc7f8df6ee8691ce /.local | |
| parent | cbe745e93e530f5e1ef3b95c9724ad70b9c95a9f (diff) | |
Updated to use new MangoWM IPC mmsg
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/screenshot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh index b2cc69b..19a9157 100755 --- a/.local/bin/screenshot.sh +++ b/.local/bin/screenshot.sh @@ -1,7 +1,7 @@ #!/bin/sh # Get focused output -output="$(mmsg -g | grep "selmon 1" | awk '{print$1}')" +output="$(mmsg get all-monitors | jq -r '.monitors[] | select(.active == true) | .name')" case $1 in selected-region) |
