Skip to content

Commit

Permalink
Fix alias afk for big sur
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos committed Nov 28, 2021
1 parent 3140e97 commit 8af265e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stow/shell/dot-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="osascript -e 'set volume output volume 100'"

# Lock the screen (when going AFK)
alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"
alias afk="osascript -e 'tell app \"System Events\" to key code 12 using {control down, command down}'"

# Reload the shell (i.e. invoke as a login shell)
alias reload="exec ${SHELL} -l"
Expand Down

0 comments on commit 8af265e

Please sign in to comment.