dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[macOS] custom settings/theming for wm, bar, term, shell, editor, browser, etc.

hb's dotfiles

Notes: this repo contains submodules, use --recurse-submodules when cloning this repo to get all the modules:

git clone --recurse-submodules https://github.com/hbthen3rd/dotfiles.git
# or
git clone --recurse-submodules [email protected]:hbthen3rd/dotfiles.git

Screenshots

btop, neofetch, tty-clock, unimatrix, pipes.sh

lazygit, neovim, bat

Firefox, ranger, eza, Alfred

Machine + OS

  • M2 MacBook Air / macOS Sonoma 14.2.1

Desktop

yabai

  • System Preferences > Desktop and Dock (bold is required):
    • Mission Control: uncheck "Automatically rearrange Spaces based on most recent use"
    • Desktop & Stage Manager:
      • Show Items: uncheck "On Desktop"
      • Set "Click wallpaper to reveal desktop" to "Always"
    • Widgets:
      • Show Widgets: uncheck "On Desktop"
      • Set "Widget style" to "Full-color"
  • Some advanced features of yabai requires SIP to be disabled. However, disabling SIP will also disable Apple Pay on your Mac. For my setup, I left SIP enabled. My configs doesn't use any advanced feature from yabai

JankyBorders

sketchybar

  • Font: CaskaydiaCove Nerd Font
  • Creates exactly 7 workspaces/desktops
  • System Preferences (bold is required):
    • Desktop and Dock > Dock:
      • Check "Automatically hide and show the Dock"
    • Control Center > Menu Bar Only:
    • Set "Automatically hide and show the menu bar" to "Always"

skhd

  • System Preferences > Keyboard > Keyboard Shortcuts... (bold is required):
    • For each of the item on the left side bar > click "Restore Defaults"
    • Mission Control > Make sure everything under Mission Control is checked (Move left/right, switch to desktop 1/2/etc.)

Alfred

Terminal Emulator + Shell + Package Manager

iTerm

  • Font: CaskaydiaCove Nerd Font
  • Color scheme: Gruvbox Dark (Hard)
  • Profile: Window tweaks (Transparency, Blur radius, No Title Bar style)

Zsh

Homebrew

File Manager

Ranger Finder
Code preview ranger code preview Finder code preview
Image preview ranger image preview Finder image preview

Ranger

Finder

  • cmd + 3 to View as Columns
  • cmd + shift + . to Show Hidden files

Code Editor

Neovim Visual Studio Code
Intellisense neovim intellisense Visual Studio Code intellisense
Terminal neovim terminal Visual Studio Code terminal
File search neovim file search Visual Studio Code file search
Source control neovim source control Visual Studio Code source control
Command palette neovim command palette Visual Studio Code command palette

Neovim + Neovide

Visual Studio Code

Source Control

Lazygit

Web Browser

Firefox Arc
Web page Firefox web page Arc web page
New tab page Firefox new tab page Arc new tab page

Firefox

  • Firefox Onebar theme with the following about:config:
    • onebar.hide-all-URLbar-icons            : true
      onebar.disable-autohide-of-URLbar-icons : false
      onebar.disable-https-truncate           : false
      onebar.disable-centering-of-URLbar      : false
      onebar.disable-single-tab               : true
      onebar.hide-unified-extensions-button   : false
      onebar.hide-all-tabs-button             : false
      onebar.conditional-navigation-buttons   : false
      onebar.hide-navigation-buttons          : false
      
  • Color and layout tweaks to Browser XUL and :about pages to match Gruvbox Dark (Hard) color (Firefox Onebar included)
    • Only Dark theme is supported, no light theme or high-contrast theme support

Arc

Other tools