mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +00:00
darwin fix dock
This commit is contained in:
parent
7861f9ec3a
commit
a8f497e226
@ -19,6 +19,7 @@
|
|||||||
"gitify" # Git notifications in menu bar
|
"gitify" # Git notifications in menu bar
|
||||||
"logitech-g-hub" # Mouse and keyboard management
|
"logitech-g-hub" # Mouse and keyboard management
|
||||||
"mimestream" # Gmail client
|
"mimestream" # Gmail client
|
||||||
|
"obsidian" # Obsidian packaging on Nix is not available for MacOS
|
||||||
];
|
];
|
||||||
global.brewfile = true; # Run brew bundle from anywhere
|
global.brewfile = true; # Run brew bundle from anywhere
|
||||||
global.noLock = true; # Don't save lockfile (since running from anywhere)
|
global.noLock = true; # Don't save lockfile (since running from anywhere)
|
||||||
|
@ -148,7 +148,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaults write com.apple.dock persistent-apps -array \
|
defaults write com.apple.dock persistent-apps -array \
|
||||||
"$(__dock_item /Applications/1Password\ 7.app)" \
|
"$(__dock_item /Applications/1Password.app)" \
|
||||||
"$(__dock_item /Applications/Slack.app)" \
|
"$(__dock_item /Applications/Slack.app)" \
|
||||||
"$(__dock_item /System/Applications/Calendar.app)" \
|
"$(__dock_item /System/Applications/Calendar.app)" \
|
||||||
"$(__dock_item /Applications/Firefox.app)" \
|
"$(__dock_item /Applications/Firefox.app)" \
|
||||||
@ -160,10 +160,6 @@
|
|||||||
"$(__dock_item /Applications/Alacritty.app)" \
|
"$(__dock_item /Applications/Alacritty.app)" \
|
||||||
"$(__dock_item /System/Applications/System\ Preferences.app)"
|
"$(__dock_item /System/Applications/System\ Preferences.app)"
|
||||||
|
|
||||||
echo "Turn on Scroll Reverser"
|
|
||||||
open /Applications/Scroll\ Reverser.app
|
|
||||||
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Scroll Reverser.app", hidden:false}'
|
|
||||||
|
|
||||||
echo "Allow apps from anywhere"
|
echo "Allow apps from anywhere"
|
||||||
SPCTL=$(spctl --status)
|
SPCTL=$(spctl --status)
|
||||||
if ! [ "$SPCTL" = "assessments disabled" ]
|
if ! [ "$SPCTL" = "assessments disabled" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user