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:
4
theme/templates/hyprland/config.json
Normal file
4
theme/templates/hyprland/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"template": "theme.conf",
|
||||
"destination": "~/.config/hypr/theme.conf"
|
||||
}
|
||||
15
theme/templates/hyprland/theme.conf
Normal file
15
theme/templates/hyprland/theme.conf
Normal 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
|
||||
}
|
||||
4
theme/templates/kitty/config.json
Normal file
4
theme/templates/kitty/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"template": "theme.conf",
|
||||
"destination": "~/.config/kitty/theme.conf"
|
||||
}
|
||||
5
theme/templates/kitty/theme.conf
Normal file
5
theme/templates/kitty/theme.conf
Normal 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}
|
||||
15
theme/templates/mako/colors.ini
Normal file
15
theme/templates/mako/colors.ini
Normal 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}
|
||||
4
theme/templates/mako/config.json
Normal file
4
theme/templates/mako/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"template": "colors.ini",
|
||||
"destination": "~/.config/mako/colors.ini"
|
||||
}
|
||||
4
theme/templates/rofi/config.json
Normal file
4
theme/templates/rofi/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"template": "theme.rasi",
|
||||
"destination": "~/.config/rofi/theme.rasi"
|
||||
}
|
||||
11
theme/templates/rofi/theme.rasi
Normal file
11
theme/templates/rofi/theme.rasi
Normal 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};
|
||||
}
|
||||
Reference in New Issue
Block a user