dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a `delay` option

dshoreman opened this issue · comments

To capture screenshots with context menus etc we need to add a delay. An option in config might be nice to have, but probably unnecessary.

For now, we can just add a --delay argument that takes an integer (or maybe decimal) value, defaulting to 0. Then we can do something like

sleep $(( delay * 1000 )); import ...