I wanted to record my screen and I have my main display set up on the negative coordinates. When I tried to use slurp to get the geometry, wl-screenrec threw an error.
[nix-shell:~/workspace/api-v2-specs]$ wl-screenrec --geometry "$(slurp)"
error: unexpected argument '-9' found
Usage: wl-screenrec [OPTIONS]
For more information, try '--help'.
[nix-shell:~/workspace/api-v2-specs]$ slurp
-969,-1289 1229x1207
[nix-shell:~/workspace/api-v2-specs]$ wl-screenrec --geometry '-969,-1289 1229x1207'
error: unexpected argument '-9' found
Usage: wl-screenrec [OPTIONS]
For more information, try '--help'.
I wanted to record my screen and I have my main display set up on the negative coordinates. When I tried to use slurp to get the geometry, wl-screenrec threw an error.