Added new commands for sleep-lid-off and sleep-lid-on

This commit is contained in:
Marcin Woźniak 2024-02-11 23:17:29 +01:00
parent 28bf3cb1ed
commit 7a52b5dd74
Signed by: y0rune
GPG Key ID: F204C385F57EB348

2
.zshrc
View File

@ -163,6 +163,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
alias code="open -a 'Visual Studio Code'"
alias xclip="pbcopy"
alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr"
alias sleep-lid-off="sudo pmset -b sleep 0; sudo pmset -b disablesleep 1"
alias sleep-lid-on="sudo pmset -b sleep 5; sudo pmset -b disablesleep 0"
# Terraform
export TFENV_ARCH=amd64