Floating.Point Posted September 5 Share Posted September 5 (edited) I have been toying around with changing workflow object icons on the fly. This is as simple as replacing the .png file in the workflow folder – ${alfred_preferences}/workflows/${alfred_workflow_uid}/UUID.png Below is an example colour picker workflow, where the icon is updating to reflect changes made to the foreground and background colours. I really really like this, but am wondering if there anything I should watch out for here? (for example, Alfred isn't going to suddenly change the UUID of the associated icon or anything like that?) Notice the icon in the top right changing as I adjust settings: Edited September 5 by Floating.Point fixed some wording Link to comment
vitor Posted September 5 Share Posted September 5 Things to take into consideration: due to caching, you may still see the previous icon on occasion; and you’re changing the icon in the workflow itself so when you share it you may be doing so with one of the modified icons. None of those seems like a deal breaker for your use case, though. Your specific mention of the ID changing shouldn’t be a worry. Just keep in mind that what you’re doing isn’t officially supported so don’t rely on it for anything critical. But if there’s anything in the future which changes that behaviour, you’ll probably be able to see it in Alfred’s release notes. Floating.Point 1 Link to comment
Floating.Point Posted September 5 Author Share Posted September 5 Ah lovely, this is great news! This functionality isn't at all critical, but it's a nice addition. I will proceed, but stay mindful of future breaking changes. Thanks Vitor 🙏 vitor 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now