mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-11 01:39:26 -05:00
Replace gojq usages with jq
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user