From 61da7748afd18583c5129a81b1855313ed49a58f Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Sat, 29 Aug 2026 04:13:54 +0200 Subject: [PATCH] chore(terra): unload hypr-chrome, round corners at 25 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comments out both the plugin and its `plugin.hyprchrome` settings — Hyprland rejects plugin config for a plugin that is not loaded, so the two have to go together. The flake input stays, so re-enabling is two uncommented lines. With the window frames gone, decoration rounding goes 10 -> 25 and rounding_power 2.0 -> 1.0 (previously unset). Both were applied live first via `hyprctl eval 'hl.config{...}'`; plain `hyprctl keyword` is refused by the lua config's non-legacy parser. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01HEtXvseVb5gwAtKNhFx2PU --- hosts/terra/home/hyprland.nix | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/hosts/terra/home/hyprland.nix b/hosts/terra/home/hyprland.nix index 01b3e49..04d8a94 100644 --- a/hosts/terra/home/hyprland.nix +++ b/hosts/terra/home/hyprland.nix @@ -89,7 +89,8 @@ in wayland.windowManager.hyprland = { enable = true; - plugins = [ inputs.hypr-chrome.packages.${pkgs.stdenv.hostPlatform.system}.default ]; + # Unloaded for now; re-add together with the plugin.hyprchrome settings below. + # plugins = [ inputs.hypr-chrome.packages.${pkgs.stdenv.hostPlatform.system}.default ]; settings = { # ---- colours (from colors.conf) ---- fg_color = { _var = "rgba(eeeeeeff)"; }; @@ -131,7 +132,8 @@ in decoration = { dim_special = 0.3; - rounding = 10; + rounding = 25; + rounding_power = 1.0; blur = { enabled = true; special = true; # blur behind the special workspace @@ -158,16 +160,18 @@ in allow_workspace_cycles = 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"; - }; + # Unloaded for now — Hyprland rejects plugin config for a plugin that is + # not loaded, so this stays commented until it goes back in `plugins` above. + # 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 ----