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

Use power/reset/exit icons from theme if .svg are unavailable #122

Closed
NHOrus opened this issue Jun 19, 2024 · 6 comments · Fixed by #124
Closed

Use power/reset/exit icons from theme if .svg are unavailable #122

NHOrus opened this issue Jun 19, 2024 · 6 comments · Fixed by #124

Comments

@NHOrus
Copy link

NHOrus commented Jun 19, 2024

Due to packaging issues, nwg-drawer in gentoo shows no power/reset/exit/sleep icons.
It would be nice, if svg icons are missing, to pull icon from theme. It also would unify looks of apps and buttons.

@nwg-piotr
Copy link
Owner

nwg-piotr commented Jun 26, 2024

Which specific icon names would you like me to use? Remember, that they must exist in Adwaita icon theme.

@NHOrus
Copy link
Author

NHOrus commented Jun 26, 2024

Exit - system-log-out-symbolic.svg
Lock - system-lock-screen-symbolic.svg
Poweroff - system-shutdown-symbolic.svg
Reboot - system-reboot-symbolic.svg
Can't find any for Sleep

@nwg-piotr
Copy link
Owner

Can't find any for Sleep

Don't stop searching! ;)

@nwg-piotr
Copy link
Owner

Maybe this one?

dialog-error-symbolic

nwg-piotr added a commit that referenced this issue Jun 29, 2024
@nwg-piotr
Copy link
Owner

Finally I ended up using the face-yawn-symbolic icon, as the above looks differently in themes other than Adwaita (exclamation, mostly). Keep in mind that it still won't look well with some icon themes.

obraz

To use icon theme icons, add the -pbuseicontheme flag.

@NHOrus
Copy link
Author

NHOrus commented Jun 29, 2024

Thank you

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 a pull request may close this issue.

2 participants