From 900e491c05aa30bcd9e1eaaa446cf05b18dc0472 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 15 Aug 2024 11:56:23 -0400 Subject: [PATCH] sway: override stylix indicator colors --- homeManagerModules/desktop/sway/settings.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 054fbaa5..5e993581 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -5,9 +5,12 @@ ... }: let cfg = config.ar.home; + focused = config.lib.stylix.colors.withHashtag.base0D; helpers = import ../wayland/helpers.nix {inherit config lib pkgs;}; modifier = "Mod4"; scripts = import ./scripts.nix {inherit config lib pkgs;}; + unfocused = config.lib.stylix.colors.withHashtag.base03; + urgent = config.lib.stylix.colors.withHashtag.base08; in { enable = true; checkConfig = false; @@ -29,6 +32,14 @@ in { bars = []; modifier = modifier; + colors = { + focused.indicator = lib.mkForce focused; + focusedInactive.indicator = lib.mkForce unfocused; + placeholder.indicator = lib.mkForce unfocused; + unfocused.indicator = lib.mkForce unfocused; + urgent.indicator = lib.mkForce urgent; + }; + defaultWorkspace = "workspace number 1"; floating.criteria = [