Skip to content
coopbriPublic

About

Dotfiles and system configuration

Topics

Resources

Stars

21 stars

Watchers

2 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

Repository files navigation

Warning

These files are experimental and I am just beginning to terraform (not Terraform, we're FOSS-only here) the land to make space for the rice fields. I wouldn't recommend using these files directly, only for inspiration if anything for now. I will remove this warning once I feel they are decently stable to use "in production" (is it "production" if you're a developer and these are for your development machine? In "productelopment"?), kind of like a warrant canary.

My personal dotfiles and system configuration.

How to Use

The process is inspired by https://www.atlassian.com/git/tutorials/dotfiles.

Public and private files

Dotfiles live in two bare repos that share $HOME as the work tree:

Command Repo Visibility Holds
cfg ~/.dots public everything safe to share (this repo)
cfgp ~/.dots-private private files with internal notes, e.g. .claude/CLAUDE.md

Each file belongs to exactly one repo. cfg add refuses a file that cfgp already tracks, and the reverse. dots <git args> runs a command in both, e.g. dots status, dots pull, dots push. The functions live in .config/zsh/dots.zsh, sourced from .zshrc.

Secrets never go in either repo: they load from Bitwarden at runtime (see load_secrets in .zshrc).

Set up a new machine:

git clone --bare git@github.com:coopbri/dots.git ~/.dots
git clone --bare git@github.com:coopbri/dots-private.git ~/.dots-private
for r in ~/.dots ~/.dots-private; do
  git --git-dir=$r config status.showUntrackedFiles no
  git --git-dir=$r config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
  git --git-dir=$r --work-tree=$HOME checkout   # move aside any file it reports as conflicting
done

To make a file private, untrack it publicly and add it privately: cfg rm --cached <file> && cfgp add <file>, then commit in both.

Gallery

Software

Core

Component Selection
Bootloader refind
Operating System arch
Compositor (Wayland) hyprland
Terminal rio
Shell zsh oh-my-zsh p10k
Bar waybar
Launcher wofi
File Manager dolphin
Notification Daemon swaync
Clipboard Manager cliphist wl-clip-persist
Screenshots grimshot flameshot
Wallpaper hyprpaper
Fonts nerd fonts
Screen Lock hyprlock
Idle Daemon hypridle

Applications

Component Selection
IDE vs code zed helix
Browser firefox brave
Email, RSS, Atom thunderbird
Music spotify

About

Dotfiles and system configuration

Topics

Resources

Stars

21 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages