From f9d4921726ffddb3fb136b38eaf4e5daf55c5dfb Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 6 Nov 2024 13:42:04 +0100 Subject: [PATCH 1/2] userChrome mynixos.com --- home-modules/firefox.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-modules/firefox.nix b/home-modules/firefox.nix index 903b0b9..e9850fe 100644 --- a/home-modules/firefox.nix +++ b/home-modules/firefox.nix @@ -177,6 +177,16 @@ } } + @-moz-document domain(mynixos.com) { + body, html { + background-color: transparent !important; + } + header, footer { + background-color: rgba(0,0,0,0.5) !important; + border-radius: ${builtins.toString rice.rounding}px; + } + } + @-moz-document domain(nx2.site) { html { background: radial-gradient(rgba(255, 255, 255, 0.8) 5%, transparent 5%) !important; From 148bd4c4814620d67b7a3d4e7b3f673786d5d634 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 6 Nov 2024 13:42:44 +0100 Subject: [PATCH 2/2] accent is the always visible border --- home-modules/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index 18b78f7..3ea3f72 100755 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -164,8 +164,8 @@ lib.mkIf (user != "tv") gaps_in = builtins.div rice.gap-size 2; gaps_out = rice.gap-size; border_size = rice.border-width; - "col.active_border" = "rgba(${rice.lib.nohash rice.color.border}ff) rgba(${rice.lib.nohash rice.color.border2}ff) 90deg"; - "col.inactive_border" = "rgba(${rice.lib.nohash rice.color.background}ff) rgba(${rice.lib.nohash rice.color.border2}ff) 90deg"; + "col.active_border" = "rgba(${rice.lib.nohash rice.color.border2}ff) rgba(${rice.lib.nohash rice.color.border}ff) 90deg"; + "col.inactive_border" = "rgba(${rice.lib.nohash rice.color.background}ff) rgba(${rice.lib.nohash rice.color.border}ff) 90deg"; # cursor_inactive_timeout = 10;