A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed ]minimalistic app icons
(Core method copied from Jean-Tinland/simple-bar#164 (comment))
For each icon I'm following these steps:
- I'm getting the original icon or, if not in a vector format I'm redrawing it in Figma. No need to be extremely precise as it is displayed in a really small size)
- I'm setting the new icon in a
24x24
viewbox - Then I'm optimising it using SVGOMG
- Add the icon to /svgs/ folder, using a snake_case name surrounded by colons and a '.svg' extension
- Add a file to /mappings/ using the same name but without the '.svg' extension. This file indicates which app names should match the icon. The format is
"App Name 1" | "App Name 2"
source ./path/to/icon_map_fn.sh
icon_map "${app_name}"
symbol_ligature="${icon_result}"