Gustash/Hyprshot

jq: parse error

Closed this issue · 2 comments

jq: parse error: Invalid numeric literal at line 1, column 9
jq: error: syntax error, unexpected ')' (Unix shell quoting issues?) at <top-level>, line 1:
[.[] | select(.workspace.id | contains())]                                       
jq: 1 compile error
invalid box format: 

jq: parse error: Invalid numeric literal at line 1, column 9
jq: parse error: Invalid numeric literal at line 1, column 9
supplied geometry did not intersect with any outputs

grim -g "$(slurp)" works

Could you post output with flag -d?

And please check correctness of your jq installation

It was a Hyprland bug.

Saving in: /home/acheong/2024-05-01-152120_hyprshot.png
jq: parse error: Invalid numeric literal at line 1, column 9
jq: error: syntax error, unexpected ')' (Unix shell quoting issues?) at <top-level>, line 1:
[.[] | select(.workspace.id | contains())]                                       
jq: 1 compile error
Monitors: Couldn't connect to /run/user/1000/hypr/e400a288d0f8ef75672cb201203b857b65b782bb_1714532544/.socket.sock. (3)
Clients: 
Boxes:

invalid box format: 

Geometry: 
jq: parse error: Invalid numeric literal at line 1, column 9
jq: parse error: Invalid numeric literal at line 1, column 9
Crop: , x

Fixed by updating to latest git and rebooting.