commit 808f40edb76fd260780a7234a7919b3e63dd478f
parent fffbf9dec2a61de0c28270f54a11a88226c23492
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Mon, 14 Apr 2025 16:54:02 +0200
feat: add 'backgroundImage' option
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/home-manager/sway/default.nix b/modules/home-manager/sway/default.nix
@@ -24,6 +24,11 @@
'';
};
};
+ backgroundImage = lib.mkOption {
+ description = "The image used as background.";
+ default = ./background.png;
+ type = lib.types.uniq lib.types.path;
+ };
colors = lib.mkOption {
description = "The hex colors, in '#rrggbb[aa]' format.";
default = {