Skip to content

Commit

Permalink
feat: use Zen Browser and Ghostty
Browse files Browse the repository at this point in the history
  • Loading branch information
aboqasem committed Feb 5, 2025
1 parent 17be001 commit 74ad5ce
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions custom/03-aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ alias sudo='sudo '
# Browser
alias chrome='/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser'
alias brave='/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser'
alias zen='/Applications/Zen\ Browser.app/Contents/MacOS/zen'

# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
Expand Down
2 changes: 1 addition & 1 deletion setup.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ echo ' - Login to:'
echo ' - Atuin: `atuin account login`'
echo ' - VSCode'
echo ' - JetBrains Toolbox'
echo ' - Set up Brave'
echo ' - Set up Zen Browser'
echo ' - Import misc/Raycast.config'
echo ' - Restart your computer'
1 change: 1 addition & 0 deletions setup/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ cask 'docker'
# Tools #
###############################################################################

cask 'zen-browser'
cask 'brave-browser'
cask 'alt-tab'
cask 'rectangle'
Expand Down
14 changes: 7 additions & 7 deletions setup/macos.zsh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env zsh

# Close any open System Preferences panes, to prevent them from overriding
# Close any open System Settings panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
osascript -e 'tell application "System Settings" to quit'

# Ask for the administrator password upfront
sudo -v
Expand All @@ -18,7 +18,7 @@ done 2>/dev/null &
# General UI/UX #
###############################################################################

# Set computer name (as done via System Preferences → Sharing)
# Set computer name (as done via System Settings → Sharing)
sudo scutil --set ComputerName "Zouabi"
sudo scutil --set HostName "Zouabi"
sudo scutil --set LocalHostName "Zouabi"
Expand Down Expand Up @@ -447,7 +447,7 @@ defaults write com.apple.dock show-process-indicators -bool true

# Set apps in the Dock
defaults write com.apple.dock persistent-apps -array
for dockItem in {/System/Applications/{Mail,Notes,"App Store","System Settings"},/Applications/{iTerm,"Visual Studio Code","Brave Browser"}}.app; do
for dockItem in {/System/Applications/{Mail,Notes,"App Store","System Settings"},/Applications/{Ghostty,"Visual Studio Code","Zen Browser"}}.app; do
defaults write com.apple.dock persistent-apps -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>'$dockItem'</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>'
done

Expand Down Expand Up @@ -510,13 +510,13 @@ sudo ln -sf "/Applications/Xcode.app/Contents/Developer/Applications/Simulator (
# 12: Notification Center
# 13: Lock Screen
# Top left screen corner → Mission Control
defaults write com.apple.dock wvous-tl-corner -int 2
defaults write com.apple.dock wvous-tl-corner -int 0
defaults write com.apple.dock wvous-tl-modifier -int 0
# Top right screen corner → Desktop
defaults write com.apple.dock wvous-tr-corner -int 4
defaults write com.apple.dock wvous-tr-corner -int 0
defaults write com.apple.dock wvous-tr-modifier -int 0
# Bottom left screen corner → Start screen saver
defaults write com.apple.dock wvous-bl-corner -int 5
defaults write com.apple.dock wvous-bl-corner -int 0
defaults write com.apple.dock wvous-bl-modifier -int 0

###############################################################################
Expand Down

0 comments on commit 74ad5ce

Please sign in to comment.