Skip to content

Instantly share code, notes, and snippets.

@1RedOne
Created March 3, 2023 15:49
Show Gist options
  • Save 1RedOne/f596d46f0ebd5823bbc193565b1c87ae to your computer and use it in GitHub Desktop.
Save 1RedOne/f596d46f0ebd5823bbc193565b1c87ae to your computer and use it in GitHub Desktop.
Good work around to have Windows style Profile icons for the Edge Browser
# prereq, install Edge and ALSO Edge Dev
# in Edge, sign in with your normal profile
# in Edge Dev, sign in with your work profile
# then download the thumbnail / profile icon you want for both
# finally, install fileIcon
#to run as a cronJob (like a Windows scheduled task)
# run 'sudo crontab -e'
# add this line to the top
# 45 * * * * /Library/temp/setIcons.sh >> /Users/Stephen/iconSetLog.log
# exit with this sequence :wq! (I know wtf, right? but this is what Linux text editors are like)
now=$(date +"%T")
echo "Refreshing Microsoft Edge App Icons at $now"
fileicon set "/Applications/Microsoft Edge Dev.app" "/Users/Stephen/Downloads/workProfile.png"
fileicon set "/Applications/Microsoft Edge.app" "/Users/Stephen/Downloads/personalProfile.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment