readme at the root, and fix what would break on a fresh machine

The repo landing page showed .config, .themes and .gtkrc-2.0 and nothing else,
so there was no sign the bootstrap existed. It has always been at
.config/rice/install.sh - that is just where it lands on disk. Root README now
carries the curl one-liner, a map of what is tracked, and a note that this is a
bare repo over $HOME so nobody goes looking for a wrapper folder again.

Things that would not have survived a replication:

  - polybar's click and scroll handlers called $HOME/bin/system-info.sh and
    $HOME/bin/volume.sh. That directory does not exist; the scripts are in
    .config/scripts. The exec lines already pointed there, so only the
    interactive bits were dead.
  - bspwmrc hardcoded DisplayPort-0, so no desktops on any other machine.
    Takes the xrandr primary now, falling back to the first monitor bspc sees.
  - install.sh picked conflicting files out of git's checkout error with a
    regex that required a dot inside the name, so .bashrc and .xinitrc were
    never matched and never backed up - and .bashrc always exists on a fresh
    Arch install, which is precisely when the checkout aborts.
  - bspwmrc sourced ~/.env and merged ~/.Xresources unconditionally; neither
    exists. Guarded.

packages.txt was missing programs whose configs this repo already carries:
fish, neovim, yazi, kitty, plus xrdb/xsetroot/xsettingsd/wmname that bspwmrc
launches, gtk3 for the control panel, and wireplumber for the wpctl calls.

Newly tracked: .xinitrc (the thing that actually starts bspwm), .bashrc (which
holds the dotfiles alias), greenclip, flameshot, kitty, Thunar, mimeapps and
user-dirs. Dropped six editor backups that had been committed by accident.
Skipped QtProject.conf - it is file-dialog history, not configuration.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011beBgzmH72WFn8wiWqRZPf
This commit is contained in:
Sarthak 2026-09-04 10:09:16 +05:30
parent 10fca7d9e4
commit 0780a3abf5
22 changed files with 358 additions and 262 deletions

View file

@ -1,13 +0,0 @@
[manager]
prepend_keymap = [
{ on = ["+"], run = "cd /home/carrie", desc = "Home" },
{ on = ["+", "f"], run = "cd /home/carrie/Documents", desc = "Documents" },
{ on = ["+", "a"], run = "cd /home/carrie/Pictures", desc = "Pictures" },
{ on = ["+", "c"], run = "cd /home/carrie/.config", desc = "Config" },
{ on = ["+", "d"], run = "cd /home/carrie/Downloads", desc = "Downloads" },
{ on = ["+", "v"], run = "cd /home/carrie/Videos", desc = "Videos" },
{ on = ["+", "h"], run = "cd /drives", desc = "Drives" },
]

View file

@ -1,26 +0,0 @@
[manager] # <--- Use [manager], not [mgr]
# ... your other single-key bindings might go here ...
prepend_keymap = [
{ on = ["`", "`"], run = "cd /home/carrie", desc = "Home" },
{ on = ["`", "f"], run = "cd /home/carrie/Documents", desc = "Documents" },
{ on = ["`", "a"], run = "cd /home/carrie/Pictures", desc = "Pictures" },
{ on = ["`", "c"], run = "cd /home/carrie/.config", desc = "Config" },
{ on = ["`", "d"], run = "cd /home/carrie/Downloads", desc = "Downloads" },
{ on = ["`", "v"], run = "cd /home/carrie/Videos", desc = "Videos" },
{ on = ["`", "h"], run = "cd /drives", desc = "Drives" },
{ on = ["n", "f"], run = "create --dir", desc = "New Folder" },
{ on = ["n", "d"], run = "create", desc = "New File" },
{ on = ["c", "x"], run = "cut", desc = "Cut File" },
{ on = ["c", "c"], run = "yank", desc = "Copy File" },
{ on = ["c", "v"], run = "paste", desc = "Paste File" },
]
# Add the 'Right = "open"' line OUTSIDE and AFTER the list block.
# Yazi reads simple key-value pairs like this separately from the list above.
Right = "open"

View file

@ -1,26 +0,0 @@
[manager] # <--- Use [manager], not [mgr]
# ... your other single-key bindings might go here ...
prepend_keymap = [
{ on = ["`", "`"], run = "cd /home/carrie", desc = "Home" },
{ on = ["`", "f"], run = "cd /home/carrie/Documents", desc = "Documents" },
{ on = ["`", "a"], run = "cd /home/carrie/Pictures", desc = "Pictures" },
{ on = ["`", "c"], run = "cd /home/carrie/.config", desc = "Config" },
{ on = ["`", "d"], run = "cd /home/carrie/Downloads", desc = "Downloads" },
{ on = ["`", "v"], run = "cd /home/carrie/Videos", desc = "Videos" },
{ on = ["`", "h"], run = "cd /drives", desc = "Drives" },
{ on = ["n", "f"], run = "create --dir", desc = "New Folder" },
{ on = ["n", "d"], run = "create", desc = "New File" },
{ on = ["c", "x"], run = "cut", desc = "Cut File" },
{ on = ["c", "c"], run = "yank", desc = "Copy File" },
{ on = ["c", "v"], run = "paste", desc = "Paste File" },
]
# Add the 'Right = "open"' line OUTSIDE and AFTER the list block.
# Yazi reads simple key-value pairs like this separately from the list above.
Right = "open"

View file

@ -1,44 +0,0 @@
[manager]
show_hidden = true
[opener]
edit = [
{ run = 'nvim "$@"', block = true },
]
image = [
{ run = 'feh "$@"', orphan = true },
]
video = [
{ run = 'mpv "$@"', orphan = true },
]
audio = [
{ run = 'strawberry "$@"', orphan = true },
]
[open]
rules = [
{ name = "*.png", use = "image" },
{ name = "*.jpg", use = "image" },
{ name = "*.jpeg", use = "image" },
{ name = "*.gif", use = "image" },
{ name = "*.webp", use = "image" },
{ name = "*.mp4", use = "video" },
{ name = "*.mkv", use = "video" },
{ name = "*.webm", use = "video" },
{ name = "*.mp3", use = "audio" },
{ name = "*.flac", use = "audio" },
{ name = "*.wav", use = "audio" },
{ name = "*.ogg", use = "audio" },
{ mime = "text/*", use = "edit" },
]