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
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
# UI Colors (extended)
|
|
accent = "#1793d1"
|
|
cursor = "#c0caf5"
|
|
|
|
# Primary colors
|
|
foreground = "#c0caf5"
|
|
background = "#1a1b26"
|
|
|
|
# Selection colors
|
|
selection_foreground = "#1a1b26"
|
|
selection_background = "#c0caf5"
|
|
|
|
# Normal colors (ANSI 0-7)
|
|
color0 = "#1a1b26"
|
|
color1 = "#f7768e"
|
|
color2 = "#a6e3a1"
|
|
color3 = "#f9e2af"
|
|
color4 = "#1793d1"
|
|
color5 = "#cba6f7"
|
|
color6 = "#89dceb"
|
|
color7 = "#c0caf5"
|
|
|
|
# Bright colors (ANSI 8-15)
|
|
color8 = "#565f89"
|
|
color9 = "#f7768e"
|
|
color10 = "#a6e3a1"
|
|
color11 = "#f9e2af"
|
|
color12 = "#7aa2f7"
|
|
color13 = "#cba6f7"
|
|
color14 = "#89dceb"
|
|
color15 = "#ffffff"
|
|
|
|
# Bar/pill/popup background colors (the terminal's is "background" above, already shared
|
|
# with mako) - each paired with the matching *_opacity float below for its transparency
|
|
bar_color = "#12131b"
|
|
pill_color = "#1a1b26"
|
|
popup_color = "#1a1b26"
|
|
|
|
# GTK file-selection highlight (Thunar's grid, etc.) - decoupled from `accent` so it can
|
|
# be set independently, defaults to matching it.
|
|
gtk_selection_color = "#f7768e"
|
|
|
|
# Opacity (0-1) for the bar itself, its pills, its popups, the terminal background, and
|
|
# the GTK file-selection highlight above
|
|
bar_opacity = 0.18
|
|
pill_opacity = 0.85
|
|
popup_opacity = 0.9
|
|
terminal_opacity = 0.85
|
|
gtk_selection_opacity = 0.5
|