Replace gojq usages with jq

This commit is contained in:
Moeta Yuko
2024-06-18 15:41:01 +08:00
parent 595698c2ec
commit f2a6a6b40e
6 changed files with 15 additions and 18 deletions
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
hyprctl dispatch "$1" $(((($(hyprctl activeworkspace -j | gojq -r .id) - 1) / 10) * 10 + $2))
hyprctl dispatch "$1" $(((($(hyprctl activeworkspace -j | jq -r .id) - 1) / 10) * 10 + $2))