tweak: switch from jaq to jq
`jaq` is not really better than `jq`, and it's more useful to have the more popular version in my environment.
This commit is contained in:
parent
0275dcacdd
commit
264fc1406d
5 changed files with 8 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id'
|
||||
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
||||
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/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