Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default icon to libnotify notifications #46

Merged
merged 5 commits into from
Dec 19, 2023
Merged

Conversation

NeiRo21
Copy link
Contributor

@NeiRo21 NeiRo21 commented Oct 1, 2023

No description provided.

@maximbaz
Copy link
Owner

maximbaz commented Oct 2, 2023

Thanks for the PR! It is kinda intentional that there's no built-in icon, you can drop your favorite icon into any standard icon location, name it yubikey-touch-detector.png and it will be picked up. I am not sold yet that we need to have something more than this, and especially to replace custom icons with a single hardcoded one.

@NeiRo21
Copy link
Contributor Author

NeiRo21 commented Oct 3, 2023 via email

@maximbaz
Copy link
Owner

maximbaz commented Oct 3, 2023

What if instead of specifying a path to the icon in XDG data, we keep yubikey-touch-detector as it is today (so no change in Go code), and simply install yubico icon into /usr/share/icons/hicolor/128x128/apps/yubikey-touch-detector.png? Then it would be automatically picked up, unless people put their override in ~/.local/share/icons/.

service.conf.example Show resolved Hide resolved
service.conf.example Show resolved Hide resolved
@maximbaz
Copy link
Owner

Amazing, thanks so much! Looks good to me, should I merge, or is there anything else you want to do?

@NeiRo21
Copy link
Contributor Author

NeiRo21 commented Dec 19, 2023

I think this is it for now. :)

@maximbaz maximbaz changed the title Add icon to libnotify notifications Add default icon to libnotify notifications Dec 19, 2023
@maximbaz maximbaz merged commit ce2874a into maximbaz:main Dec 19, 2023
@AndrewKvalheim
Copy link

@NeiRo21 Did you see the existing discussion in #25? It links to an official touch icon that is probably a better fit than the Yubico Inc. logo.

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants