mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(wezterm): add script to replace app icon after update
This commit is contained in:
9
fish/functions/replaceWeztermLogo.fish
Normal file
9
fish/functions/replaceWeztermLogo.fish
Normal file
@@ -0,0 +1,9 @@
|
||||
function replaceWeztermLogo --description "Set a different icon for Kitty terminal"
|
||||
cp ~/Dropbox/Software/Wezterm/terminal.icns /Applications/WezTerm.app/Contents/Resources/terminal.icns
|
||||
sudo rm -rfv /Library/Caches/com.apple.iconservices.store
|
||||
sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \;
|
||||
sleep 3;
|
||||
sudo touch /Applications/*;
|
||||
killall Dock;
|
||||
killall Finder;
|
||||
end
|
||||
Reference in New Issue
Block a user