Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351 stars 11 forks source link

Settings: Get icons automatically from Obsidian #425

Open Taitava opened 1 month ago

Taitava commented 1 month ago

Discussed in https://github.com/Taitava/obsidian-shellcommands/discussions/409

Make the icon selector in shell command settings use the getIconIds() function.

Currently, the list of icons (when selecting an icon for a shell command in the settings) is hard-coded into this plugin. Even if Obsidian brings new icons, they will not become available in this plugin's settings. Obsidian API added support for retrieving the icons list some time ago, so I can now improve the list in this plugin.

kuva

Taitava commented 1 month ago

Done. Will be released in 0.23.0. Still need to add this to CHANGELOG.md.