pop-os / gnome-shell-extension-system76-power

System76 Power Management Extension
MIT License
88 stars 26 forks source link

Request for shutdown option after switching profiles #84

Closed carywreams closed 1 year ago

carywreams commented 2 years ago

Current options following a Graphics Mode or Profile change are:

Would love to have "Shutdown" option, too.

My Use Case:

I'm switching graphics modes in preparation for my next reboot. I'm not ready to have the machine reboot immediately upon reconfiguration. However, I don't want to boot it twice after having transitioned.

Currently, this is the process I follow to support my workflow:

  1. make configuration change
  2. select restart later option
  3. open terminal window
  4. shutdown -h now

I'd prefer:

  1. make configuration change
  2. select shutdown option

Pull Request ?

Between the src/extension.ts code on lines 417-431 and the reboot definition on line 449, I could probably assemble a pull request that stayed within the spirit of the file.

Any interest ?

Thanks, Cary

carywreams commented 1 year ago

nvm. I've found the CLI, system76-power graphics <mode>