- Bind $mod+C to toggle nerd-dictation in hyprland and i3 - Replace hyprsunset with gammastep (added to packages.txt) - Add nwg-displays monitor/workspace configs and DP-2 rotation - Snacks keymaps picker on <leader>?, disable which-key default - Document colors+base build system in CLAUDE.md Co-Authored-By: Claude Fable 5 <[email protected]>
2.1 KiB
2.1 KiB
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Overview
This is a dotfiles/config repository for Arch Linux (Manjaro) using yay as the package manager. Configs are installed by symlinking or sourcing from ~/scripts/ into their standard locations. The repo targets Wayland-based desktops (Hyprland and Sway) with an i3 fallback for X11.
Repository Structure
- Window managers:
hyprland/,sway/,i3/- config files for each WM - Waybar:
waybar/- separate config JSONs per WM (waybar_hyprland_config.json,waybar_sway_config.json) plus sharedwaybar_style.css - Shell:
bashrc,zshrc- sourced from the user's dotfiles, not used directly - Terminal:
alacritty.toml(imported via alacritty's import system),kitty.conf - Scripts:
sh/- shell utilities added to PATH (sharefile,getfile,waybar-history) - Submodule:
hatsune-miku-windows-linux-cursors- cursor theme (init withgit submodule update --init --recursive) - Packages:
packages.txt- list of packages installed viayay -S
Build System
Some configs are built by concatenating a colors.* file with a base.* file. The build outputs are gitignored. Always edit the source (base.*) files, never the built outputs.
| Component | Sources | Build output | Build command |
|---|---|---|---|
| Hyprland | hypr/colors.conf + hypr/base.conf |
hypr/hyprland.conf |
hypr/build.sh |
| Waybar CSS | waybar/colors.css + waybar/base.css |
waybar/style.css |
waybar/build.sh |
After editing a base file, run the corresponding build.sh to regenerate the output.
Key Conventions
- Configs are symlinked into
~/.config/(see README.md for exact symlink commands per component) - Shell configs (
bashrc,zshrc) are sourced, not symlinked alacritty.tomluses alacritty's import mechanism rather than symlinking- Hyprland is the primary/active WM (most recent changes)
$modin WM configs refers to the Super/Windows key- Keybindings use vim-style hjkl navigation across all WMs and tmux