Skip to content

Commit

Permalink
add caffeinate alias
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Oct 12, 2024
1 parent 27bd74c commit 1e762af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion macos/.macos-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && kill
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"

# Lock the screen (when going AFK)
alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"
#alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"
alias afk="caffeinate"

# Postgresql
alias psqlstatus="brew services info postgresql"
Expand Down

0 comments on commit 1e762af

Please sign in to comment.