Just a little system tray icon to show support for the LGBTQ+ community.
Originally created last year as a simple one-off project in response to Windows 11 users getting mad about a pride icon appearing on their task bar.
This year I remade it in Go, added support for Windows (7 and up), and improved compatibility with a variety of Linux environments.
Let me know what you think, or don’t, just please be nice about it.
Screenshot for reference?
Option to change it to any flag?
You can change it to any flag by modifying .config/prideicon/lastselected
so the first line is the absolute path to the image you want (png on Linux, ico on Windows).
I considered adding a menu option to open a prompt to select a custom icon, but I wasn’t sure how many people would want to use it, so I just left it as a configuration file option for now.
Screenshots are a good idea.
How do I compile from source? I would like to see that in the readme
It uses a makefile, you can just type make
while in the pride-system-icon directory.
On Windows you may need to install GNU make first.
You’ll need to have Go installed, I’ve added a vendor
directory to make it easier. The compiled files will be placed in dist/windows/prideicon.exe
and dist/linux/prideicon
Here are the commands to compile without using make:
go build -mod vendor -tags linux -o prideicon
go build -mod vendor -tags windows -ldflags -H=windowsgui -o prideicon.exe
So many people asking what the point is while I’m over here enjoying my new system icon. Thanks for the post!!! 🏳️🌈🏳️⚧️
Glad to hear it!
I’m not sure if your name is a reference to the god of Red Dwarf or the yonic pokemon, but either way, cheers.
What’s the point? Just pick a pride flag as your start menu icon or desktop background image.
Sorry, but this is really useless. I support the cause, but there is absolutely no need for this software. I think this community is meant for software that actually has a use.
It’s free and it’s open source software. It can be discussed here.
Some software is more about looking nice than serving a utility.
I learned a lot about the system tray writing it. I think it stands as a decent example for how to add an icon to the system tray.