dshoreman / nextshot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename shouldn't trigger Yad in terminal

dshoreman opened this issue · comments

While Yad works for setting a custom filename, it shouldn't be required if Nextshot is being run directly in a terminal window.

Code to detect whether or not we're in a terminal will be required for #42, so build on that and use read -p instead of Yad when Nextshot is called interactively.