Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected argument when using negative position #43

Closed
wvffle opened this issue Dec 3, 2023 · 2 comments
Closed

Unexpected argument when using negative position #43

wvffle opened this issue Dec 3, 2023 · 2 comments

Comments

@wvffle
Copy link

wvffle commented Dec 3, 2023

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'.
@russelltg
Copy link
Owner

Good report thank you!! Will fix shortly.

russelltg added a commit that referenced this issue Dec 4, 2023
@russelltg
Copy link
Owner

Repro'd and fixed

ThatOneCalculator added a commit to ThatOneCalculator/wl-screenrec that referenced this issue Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants