terra: hyprchrome glow/shadow, borderless windows, warmer accents

Now that the plugin draws its own outline and glow, hyprland's own border is
redundant — border_size 0 and let hyprchrome own the window edge (outline_size
2 in fg_color). Fill in the rest of its knobs: glow 12/0.85, shadow 24 offset
{4,8} in bg_color.

Accents go warm: bg_accent to a muted red (963c38) and a new fg_accent_alt
(ff9d42) so the active-border gradient runs amber->orange instead of
amber->background. Colour literals lowercased for consistency.

Also re-pick the placeholder wallpaper, and drop the comment explaining
hyprland's lua gradient table format — the surviving call site is now the
only one and reads plainly enough.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 03:32:16 +02:00
co-authored by Claude Opus 5
parent 2abd842e97
commit c17524e358
+17 -12
View File
@@ -36,7 +36,7 @@ let
# here rather than at runtime, since hyprpaper has no built-in "random"
# mode; re-pick and rebuild (or swap in real per-monitor selection) when
# this stops being a placeholder.
wallpaper = "/mnt/hdd_01/data/Pictures/Wallhaven/wallhaven-g7jg63.png";
wallpaper = "/mnt/hdd_01/data/Pictures/Wallhaven/wallhaven-4yjyd4.png";
# Dispatchers → the new hl.dsp.* API (signatures verified against hyprland
# 0.55's src/config/lua/bindings/LuaBindingsDispatchers.cpp).
@@ -93,9 +93,10 @@ in
settings = {
# ---- colours (from colors.conf) ----
fg_color = { _var = "rgba(eeeeeeff)"; };
fg_accent = { _var = "rgba(FFD063ff)"; };
bg_color = { _var = "rgba(0F1012ff)"; };
bg_accent = { _var = "rgba(40382fff)"; };
fg_accent = { _var = "rgba(ffd063ff)"; };
fg_accent_alt = { _var = "rgba(ff9d42ff)"; };
bg_color = { _var = "rgba(0f1012ff)"; };
bg_accent = { _var = "rgba(963c38ff)"; };
# ---- monitors ----
monitor = [
@@ -115,16 +116,11 @@ in
debug.disable_logs = false;
general = {
border_size = 1;
border_size = 0;
col = {
inactive_border = lua "bg_accent";
# Gradient: hyprland's lua gradient type (CLuaConfigGradient::parse)
# takes either a plain colour string or a table with a `colors`
# array (1+ entries) and an optional `angle` in DEGREES. The list
# entries may be literal "rgba(...)" strings or, as here, the
# `_var` locals declared above rendered raw via mkLuaInline.
active_border = {
colors = [ (lua "fg_accent") (lua "bg_accent") ];
colors = [ (lua "fg_accent") (lua "fg_accent_alt") ];
angle = 45;
};
};
@@ -162,7 +158,16 @@ in
allow_workspace_cycles = true;
};
plugin.hyprchrome.enabled = true;
plugin.hyprchrome = {
enabled = true;
glow_size = 12;
glow_strength = 0.85;
shadow_size = 24;
shadow_color = lua "bg_color";
shadow_offset = lua "{ 4, 8 }";
outline_size = lua "2";
outline_color = lua "fg_color";
};
};
# ---- animations ----