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

Error when using slurp command from example on README #126

Open
Serpentarius13 opened this issue Aug 23, 2024 · 4 comments
Open

Error when using slurp command from example on README #126

Serpentarius13 opened this issue Aug 23, 2024 · 4 comments

Comments

@Serpentarius13
Copy link

Hey, its not working with slurp =( Im getting this:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }', src/wayshot.rs:65:69
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@Shinyzenith
Copy link
Member

Hi, I need the invocation command, wayshot version and preferably also which branch you're on.

@Serpentarius13
Copy link
Author

Hi, I need the invocation command, wayshot version and preferably also which branch you're on.

Hello, thanks for the reply. Command is wayshot -s "$(slurp)". The version is 1.2.2-2 wayshot-bin from AUR

@CheerfulPianissimo
Copy link

CheerfulPianissimo commented Aug 26, 2024

That's a pretty outdated release, can you try the wayshot AUR package instead, it is at version 1.3.1-2.
If you want to make it work using the old release, the command to use is wayshot -s "$(slurp -f '%x %y %w %h')"

@Serpentarius13
Copy link
Author

Serpentarius13 commented Aug 26, 2024

That's a pretty outdated release, can you try the wayshot AUR package instead, it is at version 1.3.1-2. If you want to make it work using the old release, the command to use is wayshot -s "$(slurp -f '%x %y %w %h')"

Okay, thanks! Can you please update the binary release? I hate infinite cargo builds that add on when I'm doing -Syu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants