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
This commit is contained in:
nico
2026-09-28 01:53:04 +02:00
parent f79449e69d
commit 3c69367660
61 changed files with 875 additions and 1163 deletions

View File

@@ -0,0 +1,4 @@
{
"template": "theme.conf",
"destination": "~/.config/hypr/theme.conf"
}

View File

@@ -0,0 +1,15 @@
# Generated by theme/render.py from the active palette.
# Edit the template at ~/.config/theme/templates/hyprland/theme.conf, not the output.
$activeBorderColor1 = rgba({color4.strip}ff)
$activeBorderColor2 = rgba({color12.strip}ff)
$inactiveBorderColor = rgba({color8.strip}cc)
general {
col.active_border = $activeBorderColor1 $activeBorderColor2 45deg
col.inactive_border = $inactiveBorderColor
}
group {
col.border_active = $activeBorderColor1 $activeBorderColor2 45deg
}

View File

@@ -0,0 +1,4 @@
{
"template": "theme.conf",
"destination": "~/.config/kitty/theme.conf"
}

View File

@@ -0,0 +1,5 @@
# Generated by theme/render.py from the active palette.
# Edit the template at ~/.config/theme/templates/kitty/theme.conf, not the output.
background {background}
foreground {foreground}
cursor {cursor}

View File

@@ -0,0 +1,15 @@
# Generated by theme/render.py from the active palette.
# Edit the template at ~/.config/theme/templates/mako/colors.ini, not the output.
# Included from ~/.config/mako/config.
text-color={foreground}
background-color={background}
[urgency=low]
border-color={color8}
[urgency=normal]
border-color={color4}
[urgency=critical]
border-color={color1}

View File

@@ -0,0 +1,4 @@
{
"template": "colors.ini",
"destination": "~/.config/mako/colors.ini"
}

View File

@@ -0,0 +1,4 @@
{
"template": "theme.rasi",
"destination": "~/.config/rofi/theme.rasi"
}

View File

@@ -0,0 +1,11 @@
/* Generated by theme/render.py from the active palette.
Edit the template at ~/.config/theme/templates/rofi/theme.rasi, not the output. */
* {
bg: rgba(15, 17, 26, 0.92);
bg-alt: {background.rgba:0.92};
fg: {foreground};
muted: {color8};
accent: {accent};
accent-alt: {color12};
urgent: {color1};
}