openrazer's own dpi_stages active-index only updates when a stage is
cycled via the mouse's physical button, not when set-dpi-stage sets
d.dpi directly - so it went stale and no longer matched the real
current DPI, highlighting the wrong stage regardless of what was
actually applied. Derive the active stage from the current DPI value
instead of trusting that index.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
The used/free and read/write lines had no Layout.fillWidth or elide,
so long values ran past the popup's fixed width and were cut off by
the window bounds instead of wrapping or eliding. Also widened the
disk popup slightly (300 -> 340) so typical values fit without eliding.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
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
Setting up OpenRazer (for the battery read) reset the mouse's DPI to
its 1800 default, exposing that input.accel_profile was never set -
Hyprland/libinput default to an adaptive (accelerated) curve, which
became noticeable once the DPI changed. accel_profile = "flat" for a
linear 1:1 response, which is what was expected all along.
New mouse battery pill in the bar (between network and clock), via
scripts/mouse_battery.py querying openrazer - hidden entirely if no
Razer device is found, so it's a no-op for anyone without one.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
ThemeWidget.qml's themeDir and five paths in Bar.qml (theme dump,
stats, notifications, volume) were literal "/home/nico/..." strings.
Harmless for a single-user machine, but a second user with their own
clone of this repo would have their bar and theme widget silently
pointed at this user's files instead of their own - which they can't
even read, since $HOME is 700. Now resolved per-user via
Quickshell.env("HOME") / Quickshell.shellDir.
qt6ct/qt6ct.conf (tracked in this repo) had the same problem in its
color_scheme_path, baked in from whoever last edited it rather than
generated - now a proper render.py template using a new {home}
placeholder (not a palette color, always available) instead of one of
the existing color substitutions, since this is the first template
that needs an absolute path rather than a color value.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
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
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
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
- Centered overlay listing every keybind, grouped by category, generated from
a small list in Bar.qml kept in sync with the README Hotkeys section by
hand (Hyprland's Lua config binds everything through one opaque __lua
dispatcher, so hyprctl binds can't recover a human-readable action to
auto-generate it from)
- Help button only shows in taskbar mode (next to the clock); hovering it
only hints what it does, the list itself needs a click
- New Mod+Shift+H bind in hyprland.lua opens/closes it from either mode,
via the same IPC-handler pattern as the window switcher
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
- GPU pill now toggles usage/temperature like CPU, icon stays fixed either way
- Disk pill cycles through every real mounted filesystem (root first); its
tooltip lists all of them with device name, used/free space and live R/W
speed sampled from /proc/diskstats
- Every stats tooltip (CPU/RAM/disk/GPU/volume/network) has a heading
- Network tooltip shows the network device and live up/download throughput
in decimal bit units (Kbit/Mbit/Gbit/s), sampled every second independently
of the slower nmcli connection/SSID lookup
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Bell button (left of the workspaces, left of the clock in taskbar mode) opens
a full-height right-edge panel of mako notifications; clicking one marks it
read via scripts/notifs.py. Window switcher stays on Mod+Shift+A.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Bar.qml: added an MPRIS now-playing display (Quickshell.Services.Mpris).
The bar's center already showed nothing on whichever monitor isn't
focused (only the focused one gets the active window's title) - that
space now shows the currently playing track (title in the main text
color/bold, artist in blue, separated by an accent-colored dash) instead
when a player is active. Long text scrolls as a marquee rather than
getting truncated, since the bar is a fixed-size layer surface and can't
just let text overflow. Positioning defaults to centered in the whole
bar, only shifting toward the gap between the pill groups if bar-centered
would actually overlap one of them (their widths aren't equal).
Also fixed the clock tooltip clipping: it had a fixed 230px width, too
narrow for the German long-form date line ("Donnerstag, 11. September
2026"). Now grows to fit like its height already did.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Same fix as the taskbar: Hyprland.toplevels includes fcitx's "Input" /
"Default IME" popups, which don't appear in hyprctl clients and don't
get a real workspace assigned. Filter on that here as well.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Hyprland.toplevels included fcitx's "Input" and "Default IME" popup
surfaces, which don't appear in hyprctl clients and showed up in the
taskbar as icon-less letter buttons. Genuine application windows always
have a workspace assigned; these don't, so filter on that.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Bar.qml: taskbar buttons now group all windows of the same app class into
one button instead of one per window. Clicking focuses the first window
in the group; hovering shows a popup listing every window in the group,
each individually clickable to focus that specific one. A small badge
with the window count appears on the icon when a group has more than one
window.
Also fixes the hover popup being unusable: it was tied directly to the
button's MouseArea.containsMouse, so it closed the instant the pointer
left the button to move toward the popup (a separate surface) - never
enough time to actually click a row. Now uses a 250ms close-delay timer
that gets cancelled by hovering either the button or the popup itself
(via a HoverHandler in the popup, which doesn't steal clicks from the row
MouseAreas underneath it).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Taskbar icons only resolved for windows already open when Quickshell
started - anything opened afterward fell back to the letter placeholder.
lastIpcObject (Hyprland's IPC JSON snapshot) apparently lags or stays
stale for windows opened after Quickshell is already running.
Switched to preferring the Wayland toplevel handle's appId, which the
compositor sets immediately on window creation, with lastIpcObject.class
kept as a fallback. Fixes the common case (opening a window after
Quickshell is running); pre-existing windows at Quickshell startup can
still miss their icon due to a startup enumeration race between
Quickshell and the Wayland toplevel-management protocol - acceptable
since that's not really a real-world scenario.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Bar.qml: clicking the logo pill now toggles bar.taskbarMode, which swaps
the normal bar content (workspace pills, title, stats/tray/network/volume
pills, window-switcher button) for a compact taskbar of open-window
buttons. Clock and power button stay visible in both modes.
Taskbar buttons are icon-only (32px), resolved via Quickshell's own
DesktopEntries.heuristicLookup(class) + Quickshell.iconPath(), the same
mechanism app launchers use, with the window class read from
lastIpcObject (the raw hyprctl JSON each toplevel carries). Falls back to
the window title's first letter when no icon is found. Hovering a button
shows the full title as a small popup window - the bar is a fixed-size
Wayland layer surface, so a plain overflowing Rectangle gets clipped;
this follows the same PanelWindow-per-LazyLoader pattern already used for
the clock tooltip.
Windows are sorted by address (not the live Hyprland.toplevels order,
which can silently reorder on focus changes) so buttons keep a stable
slot instead of jumping around.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Bar.qml: logout button still used the classic "hyprctl dispatch exit"
string, which breaks under the Lua config's dispatch protocol just like
the workspace/window-switcher clicks did. Switched to hl.dsp.exit(),
matching the SUPER+SHIFT+E keybind already in hyprland.lua.
hyprland.lua: set cursor.default_monitor to the primary (HKC) monitor.
This was never configured before, so Hyprland picked its own default at
startup, which landed the cursor/focus on the LG monitor (workspace 5)
instead of the primary one (workspace 1) on login.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
hyprland.lua is the new active config (auto-generated from hyprland.conf via
hyprconf2lua, then finished by hand):
- Fixed monitorv2 sections to use hl.monitor() instead of hl.config({monitorv2=...}),
which isn't a valid section key
- Restored the double space in the LG monitor's description string, which had been
silently normalized by the converter and broke workspace-rule monitor matching
(workspaces 5-8 were binding to the wrong display)
- Finished the aether border-color TODO: reads aether-theme.conf at config-load time
and applies general.col.active_border/inactive_border + group.col.border_active,
preserving the dynamic behavior from the old `source = aether-theme.conf` line
Bar.qml: the Lua config changed Hyprland's dispatch IPC syntax from plain strings
("workspace 5") to Lua expressions (hl.dsp.focus({workspace = 5})), which broke
workspace-switch clicks and the window-switcher focus clicks. Updated both call
sites to the new syntax, and fixed the active-workspace highlight to only show on
the focused monitor (Hyprland's own "active" flag is per-monitor, not global).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
Tray icons now sit in a background pill matching the other stat
pills. Volume no longer waits on a 3s poll - a pactl subscribe
watcher triggers an immediate refresh on change, with a slower
poll left as a fallback. Stats refresh interval reduced 2s -> 1s.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
New button between the workspace pills and window title opens a
dropdown listing all open windows (workspace + title), click to
focus. Also bindable via Mod+Shift+A (previously unused), dispatched
through a Quickshell IPC handler so the keybind works regardless of
which monitor currently has focus.
Waybar is fully retired: logo, workspaces, active window title, tray,
CPU/RAM/disk/GPU stats, volume, network, clock, and power all now live
in one Bar.qml per monitor, laid out with real QML layouts instead of
absolutely-positioned overlays guessing at Waybar's box model. This
removes the whole class of collision/spacing bugs that came from two
independent renderers (Waybar + Quickshell) trying to line up dynamic
content (tray icon count, GPU/volume digit width) without either side
knowing the other's actual position.
Popups (power menu, calendar, tooltips) now anchor to their trigger
button's live position within the shared row layout rather than
hardcoded margins, so they stay correctly placed regardless of content
width changes.
Workspace/title logic uses the Quickshell.Hyprland module directly
(IPC-driven, per-monitor active workspace and toplevel), replacing
hyprland/workspaces and hyprland/window. Volume uses wpctl. GPU/CPU/RAM/
disk stats reuse the existing stats.sh script, extended with per-core
usage and nvidia-smi output. System tray uses Quickshell's SystemTray
service (StatusNotifierItem) with left-click activate / right-click menu.
hyprland.conf no longer needs the exec-once wait-for-waybar wrapper
since there's only one bar renderer now.
Shows connection type/status (wifi essid, "LAN", or offline) with a
matching icon, refreshed periodically via nmcli/ip. Hover shows the
local IP; clicking toggles the tooltip to fetch and show the public IP
via curl, falling back gracefully when offline.
Waybar and Quickshell both autostart via exec-once, racing to create their
layer-shell surfaces. When Waybar's (transparent) bar surface ended up
stacked above the power button/clock widget on the same "top" layer, it
silently ate their clicks after a fresh login even though the buttons were
still visible. Pinning every Quickshell window to the overlay layer makes
the stacking order deterministic regardless of startup order.
Same anchored-popup pattern as the power button: bar pill shows date/time,
hover opens a tooltip with full weekday date and ISO calendar week, click
opens a month calendar (week numbers, today highlighted, prev/next month
navigation). Waybar keeps a blank spacer reserving the space.
Replaces the removed Waybar custom/power module with a Quickshell-rendered
button anchored to the same spot in the bar, opening a proper anchored
dropdown (Neustart/Herunterfahren/Abmelden, localized via $LANG) instead of
a screen-centered rofi menu. Waybar keeps a blank spacer module reserving
the space. Styled to match the rice's blue accent and the bar's pill look.