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 -1
View File
@@ -7,7 +7,7 @@ getaudiooutput() {
pactl list sources | grep 'Name' | grep 'monitor' | cut -d ' ' -f2
}
getactivemonitor() {
hyprctl monitors -j | gojq -r '.[] | select(.focused == true) | .name'
hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .name'
}
mkdir -p "$(xdg-user-dir VIDEOS)"