From fa4d83c8f7ae9bad5994eedc38d88dd953037d69 Mon Sep 17 00:00:00 2001 From: Arnav Sood <5009477+arnavs@users.noreply.github.com> Date: Sun, 18 Apr 2021 21:44:56 -0700 Subject: [PATCH] Update .aliases Updated for Big Sur. Will open a dialog box on the first run, good thereafter. --- .aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.aliases b/.aliases index 3387fa0609e..25621ad07d2 100644 --- a/.aliases +++ b/.aliases @@ -139,7 +139,7 @@ alias pumpitup="osascript -e 'set volume output volume 100'" alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill" # 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"