Dotfiles for macOS and Arch Linux, themed with Catppuccin Mocha by default and switchable with mise run theme. Configs are split into GNU Stow packages, and mise tasks stow only the ones the current OS needs.
shared/ stowed everywhere: zsh, nvim, ghostty, starship, lazygit, fastfetch, btop, bat, mpv, yazi, ideavim
mac/ stowed on macOS: omniwm, homebrew (Brewfile)
arch/ stowed on Arch: hyprland, hyprlock, hypridle, hyprpaper, quickshell, gtk, qt (qt6ct + Kvantum), xsettingsd
packages/ package lists (not stowed): arch/pacman.txt, arch/aur.txt
system/ system files (not stowed): sddm login theme config, reflector, zram
scripts/ helper scripts used by the mise tasks
wallpapers/ wallpapers submodule
When a tool needs per-OS settings, the shared config includes a platform file that mac/ and arch/ each provide:
- zsh:
shared/.zshrcsources~/.config/zsh/platform.zsh(PNPM path, plugin locations, OS-specific aliases). - ghostty:
shared/.config/ghostty/configincludes~/.config/ghostty/platform(font, window decorations, macOS option-as-alt).
macOS is the source of truth: when both systems configure the same tool, the macOS version goes in shared/.
mise run theme lists the themes and mise run theme <name> switches to one: Catppuccin (mocha, latte), Rosé Pine, Gruvbox, Tokyo Night, Nord, Dracula, Everforest, Kanagawa, Ayu Mirage, Poimandres, Osaka Jade, Void, One Dark Pro, Blue Hour and Magical Girl (a pastel white theme made for this repo). mise run stow applies the current theme (Catppuccin Mocha on a fresh checkout).
themes/palettes/<name>.paletteholds the colors of a theme, using the Catppuccin slot names (base,text,mauve, ...). quickshell switches to the theme's wallpaper:wallpapers/themes/<theme>.<ext>(in the submodule) if you put one there, otherwise the file inwallpapers/named by thewallpaperline of the palette (THEME_NO_WALLPAPER=1 mise run theme <name>keeps the current one). To add a theme, copy a palette and change the hex values and the wallpaper.- The checked-in configs are Catppuccin Mocha.
scripts/theme.shswaps every Mocha color for the same slot of the new palette and writes the result to~/.config/theme/(starship, lazygit, fastfetch, fzf, ghostty, nvim palette) or to gitignored files in the config dir of tools that only read their own (bat, btop, yazi)..zshrcand the ghostty config pick these up and fall back to Mocha when they are missing. - neovim installs the colorscheme plugin of the current theme on its next start, which updates
lazy-lock.json. - Open a new shell for the prompt, lazygit and fzf. ghostty and btop reload on their own, nvim and yazi need a restart.
- On Arch it also themes: quickshell (reads
~/.config/theme/palette.jsonand follows changes live), hyprland (borders and shadow, reloaded withhyprctl reload), hyprlock (recolored copy, started with-c), Kvantum (the Mocha Kvantum theme recolored into the gitignoredtheme-current). SDDM is themed bymise run arch:sddm, which recolors its config for the current theme. - GTK (Thunar, GTK 3 and 4 apps): the built-in Adwaita theme recolored from the palette, no GTK theme package needed. GTK 3 ignores color overrides on its Adwaita, so
themes/templates/gtk3.css(written in Mocha, recolored like the other configs) becomes the generatedgtk.csswith real widget rules; GTK 4 / libadwaita take named colors. ThegsettingsGTK theme is set to Adwaita and the icons switch between Papirus-Dark and Papirus-Light. Apps pick it up when they start (thunar -qrestarts Thunar); the cursor and the arch:sddm wallpaper stay as they are.
shared/.config/nvim is a LazyVim config with the colorscheme of the current theme (Catppuccin Mocha by default). Language extras (LSP, treesitter, formatters, linters) are imported in lua/config/lazy.lua: Markdown, JavaScript/TypeScript, JSON, Go, Rust, C# and Terraform. Mason installs the language servers on first launch, which needs node/npm, go, cargo and dotnet on the PATH (e.g. through mise). :LazyHealth and :Mason show what is missing.
-
Clone this repository with its submodules into your home directory:
git clone --recursive git@github.com:hlaclau/dotfiles.git ~/dotfiles cd ~/dotfiles mise trust
-
Create the symlinks (
shared+macorarch, picked from the OS). This also fetches the git submodules:mise run stow:check # optional dry run mise run stow -
Install packages (Brewfile on macOS, pacman + AUR on Arch):
mise run install
-
On Arch, apply the login screen theme (needs SilentSDDM installed):
mise run arch:sddm
Then the system services (mirror refresh, zram, trim, snapper snapshots of a btrfs
/):mise run arch:system
-
On macOS, set Homebrew's zsh as your shell:
sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' chsh -s $(brew --prefix)/bin/zsh
The Arch setup runs Hyprland with a Lua config (arch/.config/hypr/hyprland.lua, binds in bindings.lua) and a Quickshell shell in arch/.config/quickshell:
- Dynamic island hanging from the top of each screen: clock, now playing, notifications (it replaces a notification daemon), volume popup and a REC timer. Click it or press
SUPER + Ito open the control center, a dimmed overlay with a dock at the top and Home, Audio, Network, Clipboard, Hyprland, Screens, Resources, Calendar (with weather), Emoji, Music (spectrum), Floating image and Crosshair panels you can drag, resize and pin (pinned ones stay on screen, clickable, after the overlay closes). Open panels, pins and positions are remembered. A pinned floating image drops its frame and lets clicks through; the crosshair is drawn at the middle of the screen (qs ipc call island toggleCrosshair), andqs ipc call island panel <id>opens or closes any panel, so both can have a key. - Workspace overview with live window previews:
SUPER + Tab. - Top bar: a solid strip the island grows out of, with rounded screen corners. Workspaces with app icons, the focused window, weather, CPU/RAM/GPU rings, tray, network/audio/notifications and the date. Hover a chip for details: graphs, a forecast, volume sliders, a calendar.
- App launcher: a full-screen grid of every app with search, most used first:
SUPER + Space. Prefixes switch modes:=calc,>run,?web,:emoji,/files,@windows. - Wallpaper picker: your collection plus wallhaven.cc search; downloads go to
~/Pictures/Wallpapers, and the choice per screen is remembered:SUPER + W. - Theme picker: cards with the palette of every theme, Enter or a click applies it with
scripts/theme.sh(see Themes):SUPER + SHIFT + W, orqs ipc call themes set <id>. - Screens (overlay panel,
SUPER + SHIFT + P): switch each monitor on or off, keep only one, or mirror one on another (for a console or a work pc). It applies live throughhyprctl evalandRestoregoes back tohyprland.lua; the last screen can't be turned off.
Press SUPER + / for a searchable list of every keybind.
Quickshell runs as a systemd user service (arch/.config/systemd/user/quickshell.service) so it comes back if it crashes: systemctl --user restart quickshell restarts it, journalctl --user -u quickshell shows its logs.
Run mise tasks to list all available tasks.
| Task | Description |
|---|---|
mise run submodules |
Fetch git submodules (recursive) |
mise run stow |
Fetch submodules, then stow shared + the current OS package |
mise run stow:restow |
Restow (refresh symlinks) |
mise run stow:check |
Dry run: show what stow would do |
mise run unstow |
Remove all dotfile symlinks |
mise run install |
Install packages for the current OS |
mise run brew:install |
Install packages from the Brewfile |
mise run arch:install |
Install pacman and AUR packages |
mise run arch:sddm |
Apply the Catppuccin config to the SilentSDDM login theme |
mise run scripts:macos-utilities |
Apply macOS defaults (Finder, trackpad, keyboard) |
cd ~/dotfiles
git pull
mise run stow:restow # also updates submodules
mise run install