diff --git a/Helpers/launch-dep.sh b/Helpers/launch-dep.sh index b3e0843..348562a 100644 --- a/Helpers/launch-dep.sh +++ b/Helpers/launch-dep.sh @@ -1,3 +1,3 @@ -bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' -#loggedInUserID=$(id -u $loggedInUser) -#launchctl asuser $loggedInUserID open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file +#bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' +currentUser=$(id -un) +sudo -u $currentUser open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file