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

Add a tray menu #35

Closed dshoreman closed 5 years ago

dshoreman commented 5 years ago

We can use Yad's --notification option to add a tray icon, in conjunction with --listen in order to send menu items to its STDIN.

For the icon itself, the easiest option would be camera-photo-symbolic. While a png could be used, I'm not the most decisive person in the world so picking one is easier said than done. camera-photo is the same icon, but in "wireframe" format so it doesn't really show that well on a dark background.

The menu should contain at least the following options:

It could also be nice to have a menu item that opens the target folder in Nextcloud's files app using the default browser (xdg-open). Example link would be $server/apps/files/?dir=/$savedir