Created
March 3, 2023 15:49
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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