dotfiles/.config/rice
Sarthak e2dfb1a67c gtk: force the dark variant, autostart particles
GTK4 ignores gtk-application-prefer-dark-theme, and did not follow the
portal's prefer-dark either, so Adwaita stayed light while the custom css
darkened only some surfaces - that is why pavucontrol had dark-grey labels
on dark backgrounds and a white content pane. GTK_THEME=Adwaita:dark fixes
GTK3 and GTK4 together.

Also recolour the stale ~/.themes Terminal-Dark leftovers, point gtk-4.0 at
a theme and icon set that exist, and start the particle layer from bspwmrc.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cn3dHfbgNYdbZvzb1b3GQt
2026-09-04 00:33:39 +05:30
..
particles Sakura Line: retheme the whole desktop from the wallpaper 2026-09-04 00:19:36 +05:30
st Sakura Line: retheme the whole desktop from the wallpaper 2026-09-04 00:19:36 +05:30
install.sh gtk: force the dark variant, autostart particles 2026-09-04 00:33:39 +05:30
packages.txt Sakura Line: retheme the whole desktop from the wallpaper 2026-09-04 00:19:36 +05:30
README.md Sakura Line: retheme the whole desktop from the wallpaper 2026-09-04 00:19:36 +05:30

Sakura Line

bspwm rice. Palette sampled from ~/.config/bspwm/wallpaper/wallpaper.jpg.

Replicate on a fresh machine

bash <(curl -fsSL https://git.srtk.in/sarthak/dotfiles/raw/branch/main/.config/rice/install.sh)

Or, if the dotfiles are already cloned:

~/.config/rice/install.sh            # full run
~/.config/rice/install.sh --dry-run  # show what it would do, change nothing

Arch is the first-class target. Debian/Ubuntu and Fedora are best-effort — the desktop, build and theming steps work; the AUR extras are skipped.

The script is safe to re-run. Anything in $HOME that would be overwritten by the dotfiles checkout is moved to ~/.rice-backup-<timestamp>/ first.

What it sets up

WM bspwm + sxhkd
Bar polybar (translucent, rounded)
Compositor picom (rounded corners, vsync)
Launcher rofi, centred, with icons
Notifications dunst
Terminal st, built from st/config.h here (upstream gitignores it)
Wallpaper layer particles, built from particles/ here
Toolkits GTK2/3/4 via gtk.css overrides, Qt via qt6ct

Palette

role hex from
bg #0f0d17 twilight shadow
fg #e9eefb cool white
accent #92b9ea sky
red #cf6a80 blossom
green #8fae74 grass
yellow #d8a87c train stripe
magenta #b483c0 plum blossom
cyan #8ab6c4 station house

Changing the wallpaper does not re-derive these — they are written into each app's config.

Layout

.config/rice/
├── install.sh        one-shot bootstrap
├── packages.txt      package list ("aur:" prefix = needs an AUR helper)
├── st/config.h       st build config
└── particles/        wallpaper-layer particle field (source + Makefile)