commit 13e9ab2c84940014c2ca44283cf680cd1f7b044f parent d60358f332fa2adbd3eeca6258e330d26750784c Author: Francesco Saccone <francesco@francescosaccone.com> Date: Sun, 6 Apr 2025 18:58:09 +0200 style: reformat with 'nix fmt' Signed-off-by: Francesco Saccone <francesco@francescosaccone.com> Diffstat:
M | modules/home/sway/default.nix | | | 62 | ++++++++++++++++++++++++++++++++------------------------------ |
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix @@ -75,37 +75,39 @@ output."*".background = "${./background.png} fill"; - colors = let - default = { - inherit (colors) background; - border = colors.background; - childBorder = colors.background; - indicator = colors.background; - text = colors.white; - }; - in rec { - background = colors.transparent; - - focused = { - background = colors.white; - border = colors.white; - childBorder = colors.white; - indicator = colors.white; - text = colors.background; - }; - - focusedInactive = default; - unfocused = default; - urgent = { - inherit (default) - background - childBorder - indicator - text - ; - border = colors.red; + colors = + let + default = { + inherit (colors) background; + border = colors.background; + childBorder = colors.background; + indicator = colors.background; + text = colors.white; + }; + in + rec { + background = colors.transparent; + + focused = { + background = colors.white; + border = colors.white; + childBorder = colors.white; + indicator = colors.white; + text = colors.background; + }; + + focusedInactive = default; + unfocused = default; + urgent = { + inherit (default) + background + childBorder + indicator + text + ; + border = colors.red; + }; }; - }; gaps = { inner = 14;