Custom icon persistence #3631
-
|
Hi CleanShot.2024-12-28.at.04.27.55.mp4I was wondering if an option could be added to make the customized icon permanent? I even think it might be a sensible default. A similar feature is implemented in Telegram for MacOS - CleanShot.2024-12-28.at.04.48.39.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 17 replies
-
|
First, please do not post links to GPL source code. Since Ghostty is MIT licensed we cannot look at GPL code to implement things in Ghostty. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, in the meantime I've built a small tool to export a customized icon as a PNG so you can manually apply it in a persistent manner: https://github.com/vandorsx/ghostsmith update: my tool can now auto apply an icon |
Beta Was this translation helpful? Give feedback.
-
|
I created a rough example proof of concept in zig. I'm relatively new to the language, so please let me know if you see any improvements I should make. The core technologies used are Edit: Not sure if this would be best implemented in Swift or zig. I will have to learn more about the architecture. |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, there is a macOS shell script that allows the user to set custom icons. It is MIT licensed and available via Homebrew: https://github.com/mklement0/fileicon In addition, the kitty terminal allows macOS users to use a custom icon by placing it in the kitty config directory: https://sw.kovidgoyal.net/kitty/faq/#i-do-not-like-the-kitty-icon I like how kitty does it. |
Beta Was this translation helpful? Give feedback.
-
|
If this feature gets added can we have some icons of the mascot only? The terminal style icons are very busy looking compared to modern ones. |
Beta Was this translation helpful? Give feedback.
-
|
I hacked my copy of Ghostty to look in the config directory for a custom icon ala kitty. The difference between this and using fileicon is that it updates
|
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
Here to link a related issue #3076, where they said that it's currently not possible for |
Beta Was this translation helpful? Give feedback.
-
|
a bit off-topic Q: do we have here someone who can create a nice icon based on my prototype?
some ideas that might/should be taken into account:
At the end would be nice to get something as neat & eye-candy as the following kitty icons good looking kitty icons
https://github.com/DinkDonk/kitty-icon?tab=readme-ov-file#kitty-application-icon |
Beta Was this translation helpful? Give feedback.
-
|
This is now done on tip. |
Beta Was this translation helpful? Give feedback.
-
|
Just in case it's useful for anyone else, here's the icon I've made for Ghostty to match the MacOS 26/Tahoe style Or slightly more toned down and on-brand :) And my config is like this: |
Beta Was this translation helpful? Give feedback.









This is now done on tip.