feature(lib for bgs) adding a library for backgrounds

This commit is contained in:
2025-09-06 11:36:42 +02:00
parent 9bbb6b0b2e
commit a11e4961e1
11 changed files with 138 additions and 109 deletions

View File

@@ -4,6 +4,7 @@
config,
lib,
osConfig,
cLib,
...
}:
let
@@ -12,6 +13,9 @@ let
hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
# hyprlockPkg = pkgs.hyprlock;
#
bg = osConfig.settings.theme.background;
inherit (cLib.theme.bgs) resolve;
in
{
options = {
@@ -33,7 +37,7 @@ in
background = [
{
monitor = "";
path = osConfig.settings.theme.background.lockscreen;
path = resolve bg.lockscreen;
}
];
input-field = [