Adds a power menu icon to the top panel with options to suspend, log out, restart or shutdown the system.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
| Version | Status |
|---|---|
| 2 | Active |
| 1 | Rejected |
1. Please add GitHub or GitLab repo url to the `metadata.json`: [EGO Review Guidelines: url](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#metadata-json-must-be-well-formed) 2. You should use system actions instead of spawn command: ```js import * as SystemActions from 'resource:///org/gnome/shell/misc/systemActions.js'; let systemActions = new SystemActions.getDefault(); // Possible actions systemActions.activateLockScreen(); systemActions.activateSuspend(); systemActions.activateRestart(); systemActions.activatePowerOff(); systemActions.activateLogout(); systemActions.activateSwitchUser(); ``` You can also add `donations` to the `metadata.json`, so people can donate to you if they want: [Extension Anatomy: donations](https://gjs.guide/extensions/overview/anatomy.html#donations) If you need any help with your extension you can ask us on: - [GNOME Extensions Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions