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 tray menu

dshoreman opened this issue · comments

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:

  • Capture selection
  • Capture window
  • Capture full screen

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