11 Commits

Author SHA1 Message Date
nico
6373ed38ec Add a palette-themed hyprlock lock screen
Themed through the same template pipeline as everything else: clock,
date, username and password-field colors come from theme/colors.toml,
background is a re-encoded, size-capped copy of the active wallpaper
(handles both an oversized original and a GIF saved under the .png-
named active wallpaper file). Bound to Mod+L, guarded against double-
invocation. Animations are disabled - this GPU/driver combo crashes
hyprlock's fade-in otherwise, regardless of what background is set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-05 17:38:26 +01:00
nico
9778399537 Drop dolphin, qt5ct, file-roller - replaced or never actually used
dolphin: replaced by Thunar. qt5ct: never actually wired up -
hyprland.lua only ever sets QT_QPA_PLATFORMTHEME for qt6ct, so it did
nothing. file-roller: redundant with xarchiver, which Thunar's archive
plugin already uses. Drops the matching .gitignore/install.sh/README
references and the now-orphaned dolphinrc/qt5ct.conf.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-30 02:00:26 +02:00
nico
3ae03bed4f Add a custom palette-driven SDDM login theme
New sddm/aether-rice/: matches the rest of the rice (Bar/mako palette,
JetBrainsMono, popup-glass login card), synced live into
/usr/share/sddm/themes/aether-rice by render.py's sync_sddm_theme() -
no sudo after the one-time setup documented in the README, since the
greeter can't read anything under ~/.config ($HOME is 700).

Custom Rectangle+MouseArea buttons instead of SddmComponents' Button,
which can get its background stuck on the wrong color (drives it
through named states, but also assigns it as a plain property - once
something sets that outside the state machine, idle has nothing
correct to revert to). Session/layout row is last in the card, not
above the buttons, because ComboBox/LayoutBox open their dropdown as a
plain child Rectangle that paints under whatever comes later in the
same Column - it was invisible behind the buttons above it.

Xsetup runs `xrandr --output <biggest> --primary` before the greeter
starts, so the login card lands on the right monitor - `<biggest>` is
picked dynamically by resolution, not hardcoded, since Xorg (esp. with
nvidia) often names outputs differently than Wayland/DRM does.

Known, unfixable-from-here limitation documented in the README: the
keyboard layout shows/applies as the wrong one until the first
keypress, on every SDDM theme including its own bundled ones - a
confirmed open upstream bug (sddm/sddm#1845), not something a theme's
QML can work around.

Also fixes wallpaper.py never syncing the login screen's background:
it doesn't go through render.py at all normally, so it now calls
render.sync_sddm_theme() itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-30 00:39:41 +02:00
nico
823277f535 Switch file manager to Thunar, fix GTK3 theming from the ground up
Dolphin's selection color is stuck on stock Breeze blue outside a full
Plasma session (unfixed upstream regression, see README) - dropped it
for Thunar. Getting Thunar themed exposed a chain of GTK3-specific
issues fixed along the way: !important is silently rejected by GTK3's
CSS parser (not just deprioritized), the widget and icon themes resolve
via completely different mechanisms under Hyprland (no XSETTINGS
daemon), and Thunar's ExoIconView grid reads its selection color from a
named @define-color instead of normal :selected matching. Folder icon
colors are now generated to match the accent exactly (theme/icon_theme.py,
no sudo) instead of snapping to a papirus-folders preset.

Also adds the kde-colorscheme template (the missing piece
KColorSchemeManager actually resolves ColorScheme= against) and new
gtk_selection_color/gtk_selection_opacity palette keys with widget
controls, following the existing bar/pill/popup color+opacity pattern.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-29 01:19:42 +02:00
nico
63a56f4a01 Theme presets, and make the bar itself actually re-theme (colors + opacity)
Presets (theme/presets.py): named snapshots of the whole palette, saved/loaded/
deleted from a new bookmark button on the theme widget. Stored outside the
repo in ~/.local/share/quickshell/theme-presets/ (JSON, per-machine data, same
precedent as the wallpaper history). A built-in Default entry can't be
overwritten or deleted.

Wiring that up exposed a real gap: the bar's own colors were hand-matched
hardcoded QML literals, not actually driven by theme/colors.toml, and opacity
wasn't themeable anywhere yet. Fixed both:
- colors.toml gains bar_color/pill_color/popup_color (paired with the existing
  *_opacity floats) plus generic opacity support in render.py (--set now
  accepts a 0-1 float, not just #rrggbb)
- Bar.qml now fetches the palette via render.py --dump and rebinds every
  matching hardcoded hex literal (accent, foreground, color1/2/3/5/6/8/12,
  the bar/pill/popup backgrounds, the logo tint and the bar's bottom border)
  to it; kitty's background_opacity is template-driven instead of a second
  hardcoded line fighting the themed one
- both the bar and the widget listen on their own Quickshell IPC target
  (render.py/presets.py ping both after every change) so edits reload with no
  restart, matching the "instant" promise the color editor already had
- the theme widget's color popup gained a slider + matching color swatch per
  surface (Bar/Pills/Popups/Terminal) below the existing role list, and its
  role labels now say what each color actually paints instead of "Color N"
  (verified against the templates and Bar.qml's literals, not guessed) with
  unused roles honestly marked as such
- the CPU pill's icon color is deliberately hardcoded again after this -
  it coincidentally shared color12's hex value with the help icon/detail
  text, so theming color12 was recoloring it too

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 22:45:09 +02:00
nico
285f87b5b7 Add install.sh, and a full dependency list to the README
install.sh clones this repo into a temp dir and moves only the paths it
tracks into ~/.config one by one, backing up anything already there under
the same name instead of overwriting it (a plain 'git clone' straight into
~/.config isn't an option - that directory already has other apps' configs
in it, and git refuses a non-empty target anyway). Re-running it detects an
existing checkout and just pulls. --dry-run previews, --deps installs
dependencies via pacman, --repo installs from a fork. Tested end to end in a
sandboxed HOME: first run (with a colliding pre-existing dir), the pull path,
and an unrelated app's config staying untouched.

README: replaced the one-line Requirements blurb with a full table (what
each program is for, pacman/apt/dnf package names) plus ready-to-paste
install commands per distro, and an Installing section pointing at the new
script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:08:52 +02:00
nico
3c69367660 Replace aether with a homegrown theme system + desktop theme widget
aether (the third-party GUI app) is gone - it didn't work reliably. Replaced
with theme/: colors.toml (palette), templates/<app>/ (Hyprland, Kitty, Rofi,
mako; unused Waybar template dropped), render.py (renders + reloads apps,
supports --set/--get/--dump), and wallpaper.py (archives + swaps the
wallpaper, deduped by hash, via a native zenity picker).

New ThemeWidget.qml: a small standalone widget pinned to the top-left corner
of the main monitor, independent of the bar and sitting on the Bottom wlr
layer (so normal windows can cover it). Two buttons - wallpaper gallery/picker,
and a color-role picker with a preset palette + hex input - call straight into
the scripts above.

Also includes an unrelated hyprland.lua fix found while testing the widget:
new kitty windows were coming up in genuine Hyprland fullscreen regardless of
workspace; a fullscreen_state window rule forces it off (plain
'fullscreen = false' turned out to be a no-op).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 01:53:04 +02:00
nico
2b612d6e63 Switch notification daemon from dunst to mako, theme it via aether
Autostart was launching dunst, which isn't what's actually used - mako
was never installed and no daemon was really running. Fixed exec-once/
hl.exec_cmd in both hyprland.conf and hyprland.lua to start mako instead.

Added a full mako/config: rounded corners, accent-colored border for
normal urgency, muted for low, red for critical - critical also ignores
any app-supplied timeout (ignore-timeout + default-timeout=0) so it
stays until dismissed, verified live with a 1s-timeout test notification
that was still visible 6s later. Also: icons with their own corner
radius, Spotify notifications suppressed, do-not-disturb mode respected,
20-entry history, max 5 visible, sorted by time, and a format string
that shows the app name above the title/body.

Colors aren't hardcoded - added aether/custom/mako/colors.ini as a
template (same mechanism already used for Hyprland's border colors),
rendered by aether into mako/colors.ini, which mako/config pulls in via
include=. Updates automatically on the next theme switch.

Had to add !/mako to .gitignore - it's a new top-level dir and the
default-deny root pattern was blocking it entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-17 17:40:58 +02:00
nico
7aa84f037c Add README
Describes the stack, the Quickshell bar's features, the aether theming
pipeline, and discloses that most of this config (especially the bar)
was built with Claude Code rather than hand-written.
2026-07-28 20:54:45 +02:00
nico
3036b996f9 Track kdeglobals and dolphinrc (Dolphin color scheme fix) 2026-07-25 22:36:18 +02:00
nico
d338ff0650 Initial commit: version rice config (Hyprland/Waybar/Rofi/Kitty + aether theming) 2026-07-23 23:11:08 +02:00