Add a power off button to easily turn off your computer. This button replaces the power off icon in the system area of the Gnome panel. You no longer need to open the system menu to turn off your computer.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. Use this instead of spawn command: ```js this._systemActions = new SystemActions.getDefault(); this._systemActions.activatePowerOff(); ``` 2. Remove unnecessary comments. 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