Skip to content

erdajt/macdotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macOS Dotfiles

1:1 port of my Hyprland setup to macOS. Same themes, keybinds, workflow.

Overview

Desktop Neovim
Neofetch App Launcher
Wallpaper Picker Theme Picker

Contributors Forks Stargazers Issues


About

Direct copy of my Hyprland rice on macOS. Same 7 themes, vim keybinds, tiling workflow. Hyprland swapped for AeroSpace, Waybar for SketchyBar, rofi for fzf.

Stack

Component Tool
Tiling WM AeroSpace
Status Bar SketchyBar (Lua config)
Window Borders JankyBorders
Terminal Alacritty
Editor Neovim (config on macos branch)
App Launcher fzf in floating Alacritty
Spotify Spicetify with TokyoNight theme
Shell zsh + oh-my-zsh + zsh-vi-mode

Features

7 Themes

Switch all themes globally with opt+shift+t. Changes alacritty, sketchybar, borders, and fzf pickers all at once.

  • Tokyo Night
  • Everforest
  • Dracula
  • Tokyo/Dracula
  • Nord
  • Catppuccin Mocha
  • Rose Pine

Active theme saved in ~/.config/aerospace/.theme-state.

fzf Pickers

Themed floating alacritty windows with fzf. Colors match the active theme.

  • App Launcher (opt+space) - fuzzy search installed apps
  • Theme Picker (opt+shift+t) - switch themes
  • Wallpaper Picker (opt+w) - pick from ~/Pictures/Wallpapers/

Keybinds

Modifier is opt (option), same as SUPER in Hyprland.

Keybind Action
opt+q Open Alacritty
opt+shift+q Close window
opt+e Open Finder
opt+space App launcher
opt+h/j/k/l Focus left/down/up/right
opt+shift+h/j/k/l Move window left/down/up/right
opt+1-0 Workspace 1-10
opt+shift+1-0 Move window to workspace (follows focus)
opt+f Fullscreen
opt+shift+v Toggle floating
opt+i Toggle split orientation
opt+r Resize mode (h/j/k/l)
opt+b Balance sizes
opt+s Screenshot to clipboard
opt+shift+s Screenshot to ~/Screenshots
opt+w Wallpaper picker
opt+shift+t Theme picker
opt+shift+a/d Decrease/increase opacity
opt+d Dismiss notifications
opt+shift+w Toggle SketchyBar
opt+shift+r Reload config

SketchyBar

Lua config with:

  • Aerospace workspace indicators (shows occupied/focused only)
  • Theme colors reload on switch
  • CPU, WiFi, battery, volume, media widgets
  • NerdFont icons (CaskaydiaCove Nerd Font)

Alacritty

  • CaskaydiaCove Nerd Font, size 18.7
  • 0.95 opacity, adjustable with keybinds
  • Buttonless, starts maximized
  • 7 theme files swap on theme switch

Install

Dependencies

brew install --cask alacritty
brew install --cask aerospace
brew tap FelixKratz/formulae
brew install sketchybar
brew install borders
brew install fzf
brew install neovim
brew install spicetify-cli

# oh-my-zsh + vi mode
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/jeffreytse/zsh-vi-mode ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-vi-mode

# SbarLua (needed for sketchybar lua config)
git clone https://github.com/FelixKratz/SbarLua.git /tmp/SbarLua
cd /tmp/SbarLua && make install && cd -

# font: CaskaydiaCove Nerd Font
# https://www.nerdfonts.com/font-downloads

Setup

git clone https://github.com/erdajt/macdotfiles.git
cd macdotfiles

cp -r aerospace ~/.config/
cp -r alacritty ~/.config/
cp -r borders ~/.config/
cp -r sketchybar ~/.config/
cp -r spicetify/Themes/* ~/.config/spicetify/Themes/
cp .zshrc ~/

chmod +x ~/.config/aerospace/scripts/*.sh
chmod +x ~/.config/alacritty/opacity.sh

brew services start felixkratz/formulae/sketchybar

spicetify config current_theme TokyoNight
spicetify apply

# wallpapers go here
mkdir -p ~/Pictures/Wallpapers

Optional

# disable macos shortcuts that conflict with aerospace
~/.config/aerospace/scripts/disable-macos-hotkeys.sh
# log out and back in after

Credits

(back to top)

About

MacOS dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors