mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
replace alacritty with kitty in macos dock
This commit is contained in:
parent
f304392d58
commit
b9ddaf095c
@ -132,6 +132,16 @@
|
|||||||
defaults write com.apple.screensaver askForPassword -int 1
|
defaults write com.apple.screensaver askForPassword -int 1
|
||||||
defaults write com.apple.screensaver askForPasswordDelay -int 0
|
defaults write com.apple.screensaver askForPasswordDelay -int 0
|
||||||
|
|
||||||
|
echo "Allow apps from anywhere"
|
||||||
|
SPCTL=$(spctl --status)
|
||||||
|
if ! [ "$SPCTL" = "assessments disabled" ]; then
|
||||||
|
sudo spctl --master-disable
|
||||||
|
fi
|
||||||
|
|
||||||
|
'';
|
||||||
|
|
||||||
|
# User-level settings
|
||||||
|
activationScripts.postUserActivation.text = ''
|
||||||
echo "Show the ~/Library folder"
|
echo "Show the ~/Library folder"
|
||||||
chflags nohidden ~/Library
|
chflags nohidden ~/Library
|
||||||
|
|
||||||
@ -162,16 +172,10 @@
|
|||||||
"$(__dock_item /Applications/Mimestream.app)" \
|
"$(__dock_item /Applications/Mimestream.app)" \
|
||||||
"$(__dock_item /Applications/zoom.us.app)" \
|
"$(__dock_item /Applications/zoom.us.app)" \
|
||||||
"$(__dock_item /Applications/Obsidian.app)" \
|
"$(__dock_item /Applications/Obsidian.app)" \
|
||||||
"$(__dock_item /Applications/Alacritty.app)" \
|
"$(__dock_item ${pkgs.kitty}/Applications/kitty.app)" \
|
||||||
"$(__dock_item /System/Applications/System\ Preferences.app)"
|
"$(__dock_item /System/Applications/System\ Preferences.app)"
|
||||||
|
|
||||||
echo "Allow apps from anywhere"
|
|
||||||
SPCTL=$(spctl --status)
|
|
||||||
if ! [ "$SPCTL" = "assessments disabled" ]; then
|
|
||||||
sudo spctl --master-disable
|
|
||||||
fi
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user