4 Commits

Author SHA1 Message Date
nico
5a1e4ca3ad Default GTK selection color to accent instead of fixed red
gtk_selection_color's comment already claimed it defaults to accent,
but the value was hardcoded to a leftover red instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 01:31:14 +02:00
nico
4547c27aa7 Move mouse widget standalone, add RGB control widget, align peripherals
The mouse battery pill lived in Bar.qml, duplicated per-screen (it
renders once per monitor) and invisible whenever taskbar mode hid the
stats row entirely. Pulled into its own MouseWidget.qml, same
standalone pattern as the theme widget - single instance, click opens
DPI/poll-rate/idle-time/low-battery-threshold controls. mouse_battery.py
folded into the new mouse.py (adds set-dpi-stage/set-poll-rate/
set-idle-time/set-low-battery-threshold on top of the old status-only
script).

New RGBWidget.qml + scripts/rgb.py: per-device mode/color/speed/
brightness for RAM/GPU/mainboard RGB via OpenRGB's SDK server
(autostarted headless in hyprland.lua), plus a one-click "sync all to
accent". Both RAM sticks are grouped into one card/one set of controls
since they're the same model - rgb.py's commands take a comma-separated
device-id list for exactly this. Found and worked around two real
issues along the way: this server build mishandles openrgb-python's
default protocol version (pinned to 3 instead), and set_color() doesn't
reliably force Direct mode first on its own - a device left on a
cycling effect can keep animating right through a color-set call
despite it reporting success, worst on the GPU's own i2c adapter.
Mitigated with an explicit mode switch + verify-and-retry.

Also: hyprland.lua was missing accel_profile entirely, so libinput's
default adaptive curve was always active - flat now, for the 1:1
response a gaming mouse is normally run with (found while chasing an
unrelated OpenRazer DPI reset making it suddenly noticeable).

Widget layout: all three corner widgets now align on a shared row
height instead of each guessing the previous one's width.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-10-04 02:12:09 +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
d338ff0650 Initial commit: version rice config (Hyprland/Waybar/Rofi/Kitty + aether theming) 2026-07-23 23:11:08 +02:00