Commit Graph

17 Commits

Author SHA1 Message Date
nico
3b4e649dc8 Add mouse battery pill, disable pointer acceleration
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
2026-10-03 16:13:47 +02:00
nico
15f5da4509 Support animated GIF wallpapers via awww
swaybg only ever renders one frame, so an animated GIF (detected by its
magic bytes, not the .gif extension - the active wallpaper file is
always literally named wallpaper.png regardless of real format) now
goes through awww instead, which was already installed. Found that
awww img's --transition-type none - the obvious flag for an instant
switch - silently kills the render loop that also drives GIF frame
advancement; --transition-step 255 gives the same instant switch
without that side effect.

New `wallpaper.py start` picks the right backend for whatever's
currently active and replaces the hardcoded swaybg autostart line in
hyprland.lua, so a GIF wallpaper survives a restart correctly too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-29 01:33:03 +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
1ca9812608 Theme qt6ct too - that's what actually colors Dolphin, not kdeglobals
kdeglobals's [Colors:*] sections (added last commit) turned out not to be
what colors a plain Qt6 widget like Dolphin: hyprland.lua sets
QT_QPA_PLATFORMTHEME=qt6ct, which makes Qt load its whole QPalette from
qt6ct's own color scheme file instead of asking KDE Frameworks for one.
kdeglobals still matters for KDE/Plasma-integration bits, just not this.

New theme/templates/qt6ct/ renders that file (a serialized QPalette, one
color per Qt::ColorRole - mapped against qpalette.h, not guessed) to
~/.config/qt6ct/colors/aether-rice.conf, the path qt6ct.conf already pointed
at. A few roles (Light/Midlight/Dark/Mid/Shadow/AlternateBase/NoRole/
ToolTipBase/HighlightedText) have no equivalent in colors.toml and reuse the
same static shades already left unmapped in kdeglobals.

Confirmed by restarting Dolphin: an already-open window keeps its old colors,
a fresh one immediately reflects the live palette. README now says plainly
which of the two files actually drives Dolphin's colors, and that a restart
is needed either way.

Also committing the current rendered outputs (colors.toml has been edited
live via the widget/presets since the last commit).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 23:15:02 +02:00
nico
e02381a665 Theme the clipboard history picker like the app launcher
Mod+C's rofi -dmenu now uses arch-blue.rasi, same as Mod+Space.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:23:19 +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
f79449e69d Add a keybinds cheatsheet panel (Mod+Shift+H, or the help button in taskbar mode)
- 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
2026-09-28 00:46:23 +02:00
nico
c47d314860 Cursor: also install as Xcursor default theme so Steam/Proton pick it up
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-20 00:31:47 +02:00
nico
3508e70b93 Add custom ArchLogo cursor theme (Hyprcursor + XCursor), document it
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-19 22:30:57 +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
8ee59b6b58 Fix logout dispatch syntax and set default cursor monitor
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
2026-09-10 16:45:11 +02:00
nico
14c34bf388 Add Lua Hyprland config and fix Quickshell bar for the Lua dispatch protocol
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
2026-09-10 16:37:20 +02:00
nico
286cdb829f Commit wallpaper into the repo and point hyprland.conf at it
Keeps the wallpaper alongside the rest of the config instead of
relying on a separate ~/Pictures/wallpapers path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-29 17:07:15 +02:00
nico
c8b368b474 Add window switcher dropdown to the bar
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.
2026-07-28 20:50:41 +02:00
nico
e6fc044b79 Replace Waybar entirely with a single native Quickshell bar
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.
2026-07-28 20:29:18 +02:00
nico
3b1eb02159 Add Quickshell power button with reboot/shutdown/logout dropdown
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.
2026-07-27 19:15:49 +02:00
nico
d338ff0650 Initial commit: version rice config (Hyprland/Waybar/Rofi/Kitty + aether theming) 2026-07-23 23:11:08 +02:00