Commit Graph

19 Commits

Author SHA1 Message Date
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
cc37bcfe18 Theme KDE/Qt apps (Dolphin, etc.) via kdeglobals
New theme/templates/kde/ renders the KDE color scheme embedded in kdeglobals
(Colors:View/Window/Button/Selection/Tooltip/Complementary + WM), themeing
every KDE/Qt app that reads it, not just Dolphin - kdeglobals was previously a
static, hand-maintained file (still bearing its ColorScheme=AetherRice name
from when the old aether app generated it once). The rendered output is
byte-identical to what was already there, confirming every mapped value was
right.

Needed render.py to grow a {key.rgb} placeholder format ("r,g,b" decimal, no
alpha - what kdeglobals uses, vs. the hex/rgba() formats every other template
needed). A couple of BackgroundAlternate shades don't correspond to any role
in colors.toml and are left as static literals rather than mapped to
something that wouldn't mean the same thing - noted in the template.

reload_apps() now also sends a best-effort dbus-send KGlobalSettings ping;
not every KDE app listens for it, so an already-open Dolphin may still need a
restart to fully pick up a change, same as most apps here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 22:54:45 +02:00
nico
63a56f4a01 Theme presets, and make the bar itself actually re-theme (colors + opacity)
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
2026-09-28 22:45:09 +02:00
nico
e66691b469 README: add a Hardware section documenting hardcoded hardware assumptions
Table of what's actually mine (CPU, GPU, monitors incl. EDID desc: strings,
keyboard layout) vs. generic (RAM/storage/motherboard, disk pill), where each
hardcoded value lives, and what happens (fails gracefully vs. needs editing)
on different hardware.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:30:14 +02:00
nico
a11882aebc README: repo is public, simplify install.sh instructions back to a raw curl
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:11:51 +02:00
nico
285f87b5b7 Add install.sh, and a full dependency list to the README
install.sh clones this repo into a temp dir and moves only the paths it
tracks into ~/.config one by one, backing up anything already there under
the same name instead of overwriting it (a plain 'git clone' straight into
~/.config isn't an option - that directory already has other apps' configs
in it, and git refuses a non-empty target anyway). Re-running it detects an
existing checkout and just pulls. --dry-run previews, --deps installs
dependencies via pacman, --repo installs from a fork. Tested end to end in a
sandboxed HOME: first run (with a colliding pre-existing dir), the pull path,
and an unrelated app's config staying untouched.

README: replaced the one-line Requirements blurb with a full table (what
each program is for, pacman/apt/dnf package names) plus ready-to-paste
install commands per distro, and an Installing section pointing at the new
script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:08:52 +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
4b8892cf90 Stats pills: GPU usage/temp toggle, per-mount disk details, live network throughput
- 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
2026-09-27 23:01:00 +02:00
nico
85fee48d10 Add notification panel with unread badge, drop window switcher button
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
2026-09-26 01:34:52 +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
a56826e553 Document the Lua Hyprland config and taskbar mode in the README
- Note that hyprland.lua is now the active Hyprland config (hyprland.conf
  is kept for reference only) and flag the hl.dsp.* dispatch syntax
  change, since it affects anything sending raw dispatch strings
- Add the taskbar-mode bullet to the bar feature list
- Fix the wallpaper reference to point at hyprland.lua instead of the
  now-inactive .conf

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 17:38:49 +02:00
nico
33ff083170 Document the wallpaper's path in the README
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-29 17:11:33 +02:00
nico
4485846f66 Document the theme and hotkeys in the README
Notes that the palette is built around the stock default Hyprland
wallpaper, and lists the hyprland.conf keybinds by category.
2026-07-28 21:01:54 +02:00
nico
7aa84f037c Add README
Describes the stack, the Quickshell bar's features, the aether theming
pipeline, and discloses that most of this config (especially the bar)
was built with Claude Code rather than hand-written.
2026-07-28 20:54:45 +02:00