flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.87k stars 1.6k forks source link

Separate icon for tray/panel #445

Closed erikdubois closed 5 years ago

erikdubois commented 5 years ago

can you add an tray-icon to your application so we can theme our icons so that they look the same. The cirular icon (3th from left) is now the icon for the app itself flameshot.svg.

Would be great if you could include a flameshot-tray.svg so we can change them later with different icon themes. Thanks for this nice application

trayicon

AlfredoRamos commented 5 years ago

Which version are you using?

Since version 0.6.0 your theme can customize the tray icon with a file called flameshot-tray.

Make sure your theme includes a file with that name and you're using an updated version of Flameshot.

It's related to #366

erikdubois commented 5 years ago

On ArchLinux we can install 0.6.0-2 and have a git version.

I have placed flameshot-tray in different folders and recreated the icon cache each time.

I get no result.

In what folder does it need to be to work.

. ├── 16 │   ├── actions │   ├── apps │   ├── devices │   ├── panel │   ├── places │   └── status ├── 22 │   ├── apps │   ├── panel │   ├── places │   └── status ├── 24 │   ├── actions │   ├── apps │   ├── panel │   ├── places │   └── status ├── 32 │   └── places ├── 48 │   └── categories └── scalable ├── actions ├── animations ├── apps ├── categories ├── devices ├── emblems ├── mimetypes ├── notifications ├── panel ├── places └── status

AlfredoRamos commented 5 years ago

I think it should be placed inside panel, or at least that's where the Papirus icon theme, which is the one I installed to test, place that file.

https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/commit/f8bc341fe1412c6c11bf97695564185f545ecd9f

On a side note, I'm not too familiar with theme creation, but shouldn't the directories below scalable be inside imside it instead?

erikdubois commented 5 years ago

papirus-flameshot

can you install papirus and see if you are getting their tray icon? Forgot to draw an arrow at the bottom right - circular icon - 4th icon in system tray from left

AlfredoRamos commented 5 years ago

Yes, it shows me the tray icon, though I was using a light theme and I showed me the Light variant.

flameshot_papirus_dark

erikdubois commented 5 years ago

stays unresolved will figure it out eventually