dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud
GNU General Public License v2.0
42 stars 3 forks source link

Rename shouldn't trigger Yad in terminal #43

Closed dshoreman closed 5 years ago

dshoreman commented 5 years ago

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.