From f9b491031d8f179f906f4372a68f74db88ba427e Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 10 Jun 2024 07:29:40 -0500 Subject: [PATCH] Improved legibility for light themes --- profiles/work/home.nix | 5 +++++ user/wm/hyprland/hyprland.nix | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/profiles/work/home.nix b/profiles/work/home.nix index 7aae935..a23480c 100644 --- a/profiles/work/home.nix +++ b/profiles/work/home.nix @@ -223,4 +223,9 @@ news.display = "silent"; + gtk.iconTheme = { + package = pkgs.papirus-icon-theme; + name = if (config.stylix.polarity == "dark") then "Papirus-Dark" else "Papirus-Light"; + }; + } diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 70d58d2..dc14aaf 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -372,7 +372,8 @@ in passes = 2 ignore_opacity = true contrast = 1.17 - brightness = 0.8 + brightness = '' + (if (config.stylix.polarity == "dark") then "0.8" else "1.25") + '' + xray = true } }