Skip to content

Instantly share code, notes, and snippets.

@ryanmoon
Created July 21, 2016 00:22
Show Gist options
  • Save ryanmoon/417d6c4e4b132d77d70c85d0d1c0350c to your computer and use it in GitHub Desktop.
Save ryanmoon/417d6c4e4b132d77d70c85d0d1c0350c to your computer and use it in GitHub Desktop.
MacOS Power Settings for use with Outset at boot-every
#!/bin/bash
###
# Outset script for commands to run at boot-every and set power settings
###
pmset repeat wakeorpoweron MTWRFSU 7:00:00
pmset -a displaysleep <%= @displaysleep %> halfdim 1
pmset -a disksleep 0
pmset -a sleep 0
pmset -a womp 1
pmset -a darkwakes 0
systemsetup -setcomputersleep Off > /dev/null
@ryanmoon
Copy link
Author

These settings should be tweaked for your environment, these work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment