A flat and square macOS rice with minimal distractions. Inspired by early dwm/i3 rices, uses the Meadow colors.
Here's an overview of the setup:
- Operating System: macOS 27
- Window Manager: yabai
- App Borders: JankyBorders
- Hotkeys: skhd
- Status Bar: Sketchybar
- Terminal: ghostty
- Shell: fish
- Resource Monitor: btop
- Font: Departure Mono (Nerd Font build)
- Color Scheme: Meadow, Meadow and Meadow Light
The weather module needs an OpenWeather API key. After signing up, grab your key here and put it in ~/.config/sketchybar/sketchybar_env:
export API_KEY="your_api_key_here"Note
A fresh key can take 20-30 minutes to activate.
setup.sh sets the window corner radius for you:
defaults write -g NSConvolutionOverride1 -float 0.001A flat 0 means "default" (20), so it has to be a hair above. Log out and back in for it to apply, or run killall Finder. To go back, defaults delete -g NSConvolutionOverride1.
I highly suggest binding capslock to control + option + command using Karabiner-Elements, since that combination of keys is used as the modifier key for my yabai/skhd config. After installing, go to Complex Modifications -> Add Your Own rule -> And paste the following:
{
"description": "Caps lock key -> hyper key without shift (⌘⌥⌃), Escape when tapped",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_command",
"modifiers": ["left_option", "left_control"]
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
Additionally, pressing capslock normally will register it as the esc key, which is useful for vim users.
Clone this repository to ~/.config, then run the setup script:
git clone https://github.com/gloceandotdev/0px.git ~/.config
bash ~/.config/setup.shThe script installs all dependencies via Homebrew (including the font), sets fish as the default shell, configures the yabai scripting addition, sets the corner radius, and sets up the dark-notify LaunchAgent for automatic theme switching.
Note
SIP must be partially disabled for yabai's scripting addition to work. See the yabai wiki for instructions. After upgrading yabai, re-run the sudoers section of setup.sh.