kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
1.18k stars 25 forks source link

Using custom icons on Kando nodes #383

Open D3vil0p3r opened 2 months ago

D3vil0p3r commented 2 months ago

Hello @Schneegans , I'm reading from docs that the user can mainly use as icon of a node only Google Material Symbols, Simple Icons or emojis.

Is there a way (now or in the future) to use also custom SVG icons stored in the system (as in FlyPie)?

Schneegans commented 2 months ago

Hi there! This is not yet possible, but I'll definitely add this option in the future!

D3vil0p3r commented 2 months ago

When it will be available, I start to implement it on Athena OS

rairay91 commented 4 weeks ago

I too want that option 🥳

D3vil0p3r commented 2 weeks ago

@Schneegans is there a planned date for it?

Schneegans commented 2 weeks ago

@D3vil0p3r It's definitely been frequently requested. So I think that I'll try to add this in 1.2.0. The next version (1.1.0) will come in a week or so bringing Keyboard Macro Items and App-dependent menus. Then I'll start implementing this, most likely together with custom themes. So maybe in a month or so?

Schneegans commented 4 days ago

I was just wondering how to approach this. I basically have two options in mind:

  1. Add a new Icon Theme called "Custom Icons". This is empty at first but there will be "+" button which opens a file picker which you can use to add images to the theme. Somewhere in the settings we would need to store the paths to all the icons added this way.
  2. There could be a predefined directory in Kando's config directroy (e.g. kando/icon-themes) and any directory you put in there would show up as custom icon theme. Kando would automatically list all icon files in those directories in the icon picker.

Do you have other ideas? Having both approaches seems a bit overkill to me. I personally tend to the second approach as it seems more versatile, effective, and fosters sharing of icon themes. The first one may be a bit easier to understand, though. However, we could show a prominent hint in the icon picker telling the user where to put custom icons so that Kando will find them.

D3vil0p3r commented 4 days ago

The option 1 is the same there is on FlyPie, right?

Schneegans commented 4 days ago

Well, in Fly-Pie it's somewhat "worse" in the sense that there is no list of previously selected icons. You always have to use the file picker to select a custom icon. Even if you want to select the same icon multiple times.

D3vil0p3r commented 4 days ago

Ah ok