obsidian-shellcommands
obsidian-shellcommands copied to clipboard
Settings: Get icons automatically from Obsidian
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.
- [x] Implement the change.
- [ ] Add to CHANGELOG.md.