
Change Power Management Settings of the system
Changing power management settings requires administrator privileges. By default this is done via username & password. If you would rather use your fingerprint to authenticate you must modify your sudo configuration (note: this change will apply to sudo globally, not just within Raycast).
/etc/pam.d/sudo_local.template to sudo_local:
sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
#) from the auth line in sudo_local:
# sudo_local: local config file which survives system update and is included for sudo
# uncomment following line to enable Touch ID for sudo
auth sufficient pam_tid.so
/etc/pam.d/sudo in your preferred text editorauth sufficient pam_tid.so to the list of auth entries:
# sudo: auth account password session
auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
Note: /etc/pam.d/sudo is a default macOS file so it will be overwritten by system updates. You will have to reapply this change after each time you update macOS.
Get detailed low power mode settings
Toggle low power mode
Enable low power mode
Disable low power mode
See status of low power mode in the menubar
sudo appears to support touch ID and use it instead of AppleScriptToggle Low Power Mode command