forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to .config/scripts/shared/theme_colors.shClear filter

2026-08-08

fix(theming): make the GTK2 include self-installing and $HOME-relativeAhmet Kaan Gümüş · 377311f
fix(theming): make the GTK2 include self-installing and $HOME-relative

The include line that makes GTK2 read our generated ~/.gtkrc-2.0.mine was
hardcoded to /home/tahinli, so it never matched under a different username, and
the whole block was skipped unless ~/.gtkrc-2.0 already contained that exact
line. That file is written by nwg-look, which is not installed here and is
absent on a fresh machine — GTK2 theming silently did nothing there.

Derive the path from $HOME and create the rc (with gtk-theme-name) when it is
missing instead of bailing out. Rewriting it stays idempotent: the include is
filtered out and re-appended last on every run.
fix(theming): stop blanket rules from overriding app and state stylesAhmet Kaan Gümüş · 309c9aa
fix(theming): stop blanket rules from overriding app and state styles

Our generated sheets load at GTK_STYLE_PROVIDER_PRIORITY_USER, and GTK resolves
provider priority before specificity, so broad selectors were silently beating
both Adwaita and each app's own gresource CSS.

GTK4:
- `.toolbar` no longer paints a background (padding-only upstream); it was
  drawing opaque blocks over AdwToolbarView bottom bars, e.g. two floating
  rectangles in the nautilus/portal file chooser action bar
- drop bare `row`, which also matches GtkListItemWidget and boxed dropdown and
  popover item labels
- keep `.flat-dropdown` and header-bar/path-bar/list-header buttons flat, so
  nautilus's own flat styling survives; the path bar had been rendering as a
  filled entry and the column header row as a raised strip
- `columnview`/`treeview` headers sit on the view background with a separator

GTK3 (also drives every Qt app, since QT_QPA_PLATFORMTHEME=gtk3):
- restate `:disabled` locally; the `* { color }` rule had erased every Adwaita
  disabled rule, leaving disabled buttons and entries pixel-identical to live ones
- give entries a border (base is only a few steps from the window background)
- flatten tree/column header buttons, same override as GTK4
- style level bars, which fell back to Adwaita blue
- give popovers and menus their own surface plus a visible edge; the broad
  `.background` rule had handed them exactly the window color and no frame

Semantic colors keep their canonical hue with a palette tint: straight palette
colors had produced a grey "error", a blue "warning" and a brown "destructive".

Qt/KDE:
- qt5ct/qt6ct: ToolTipBase is QPalette role 18, not 17 — theme_colors.sh was
  substituting NoRole, so tooltips kept a light foreground as their background
- placeholder text no longer resolves to the selection color
- kdeglobals surfaces follow the same window/view/button steps as GTK instead of
  raw palette colors, and links are lightened (they were at 1.1:1 contrast)
- resolve mix() in the Qt color schemes too, so all templates share one syntax

gtk2.gtkrc and kdeglobals move into the repo and are symlinked back from
~/.config/wallust/templates; they were the only untracked templates.

2026-07-30

feat(theming): widen the gtk4 template, theme GTK2 via gtkrcAhmet Kaan Gümüş · e2bfda4
feat(theming): widen the gtk4 template, theme GTK2 via gtkrc

gtk4.css template covers many more libadwaita widget classes so wallust
colors reach apps that were still stock.

theme_colors.sh now rewrites ~/.gtkrc-2.0: forces gtk-theme-name=Raleigh
(no pixmap engine, so our colors show) and moves the .mine include last
so it wins. Dropped the mix() resolver — the templates emit literals now.

qt5ct/qt6ct: window geometry only.

2026-04-10

fix: resolve mix() for Flatpak GTK4 apps and add explicit widget rulesAhmet Kaan Gümüş · 3ed98cc
fix: resolve mix() for Flatpak GTK4 apps and add explicit widget rules

Flatpak libadwaita 1.8 ignores @define-color overrides, requiring
explicit CSS rules. Also pre-compute mix() values in hook script
for cross-runtime compatibility. Rename qt_colors.sh to theme_colors.sh.