Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@suhasamaresh
Copy link

@suhasamaresh suhasamaresh commented Mar 11, 2025

In this PR, I added an optional screenshot delay feature by introducing a new CLI flag --delay (or -d). With this change, users can specify a number of seconds to wait before capturing a screenshot, and a simple countdown is printed in the terminal during the delay. This helps when you need to prepare your screen—for example, to open a menu or hover over a tooltip—before the capture occurs. The feature defaults to 0 seconds (i.e., no delay) if not specified, so existing behavior remains unchanged.. And regarding closing and opening pr, there was network issue 😅.

Allows specifying a delay before capturing screenshots. Helpful for hovering menus or tooltips.
@Shinyzenith
Copy link
Member

Would be best to send notifyd notifications if possible, used when invoked as hotkey binding etc Overall sounds like a nice idea. Just curious as to how thread::sleep would interact with wayland event loop (doesn't look like it should cause any issues). Also accept the sleeping time in milliseconds.

@Decodetalkers Does this look good to you? Do you want this feature to be added?

@Decodetalkers
Copy link
Collaborator

Would be best to send notifyd notifications if possible, used when invoked as hotkey binding etc Overall sounds like a nice idea. Just curious as to how thread::sleep would interact with wayland event loop (doesn't look like it should cause any issues). Also accept the sleeping time in milliseconds.

@Decodetalkers Does this look good to you? Do you want this feature to be added?

I think it is a very good feature, and I want it for a long time

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants