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

Sleep button (or sleep icon request) #6

Closed
eddsalkield opened this issue Apr 8, 2022 · 5 comments
Closed

Sleep button (or sleep icon request) #6

eddsalkield opened this issue Apr 8, 2022 · 5 comments

Comments

@eddsalkield
Copy link

I'd really like to add a "sleep" button to my instance of nwg-bar. Would you let me know where the icons are derived from so that I could add one that fits with the theme of the rest of the icons?

Additionally, would you consider the integration of a sleep button into the default bar?

@nwg-piotr
Copy link
Owner

It's possible to use just system icon names, but I couldn't find any suitable for a sleep icon.

Quick solution:

  1. download some free svg icon, e.g. https://www.svgrepo.com/svg/212923/sleep
  2. edit it to look like you want (or pull from my GDrive: https://drive.google.com/file/d/1Yb-0f7YwX452C_3dRIIjHzBNvxBj69Ny/view?usp=sharing)
  3. copy it to /usr/share/pixmaps

That's it.

2022-04-08-031604_screenshot

@eddsalkield
Copy link
Author

Thanks! This is ideal :)

@nwg-piotr
Copy link
Owner

Could you tell me what command you use for the sleep button?

@eddsalkield
Copy link
Author

Sure - that'd be pm-suspend from the pm-utils project - they're distro-agnostic power management scripts :)

@nwg-piotr
Copy link
Owner

Thanks!

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

No branches or pull requests

2 participants