Fix lockscreen + better import

This commit is contained in:
Filippo Berto 2021-09-13 16:46:26 +02:00
parent 286f70981b
commit ab69dc3c01
2 changed files with 8 additions and 7 deletions

View file

@ -18,7 +18,7 @@ writeScript "lockscreen.sh" ''
${i3lock-color}/bin/i3lock-color \
--insidever-color="${strPalette.normal.green}" \
--insidewrong-color="${strPalette.normal.red}" \
--inside-color="${strPalette.primary.background}" \
--inside-color="${strPalette.normal.black}" \
--ringver-color="${strPalette.bright.green}" \
--ringwrong-color="${strPalette.bright.red}" \
--ringver-color="${strPalette.bright.green}" \
@ -27,7 +27,7 @@ writeScript "lockscreen.sh" ''
--line-uses-ring \
--keyhl-color="${strPalette.bright.red}" \
--bshl-color="${strPalette.bright.red}" \
--separator-color="${strPalette.primary.background}" \
--separator-color="${strPalette.normal.black}" \
--verif-color="${strPalette.normal.green}" \
--wrong-color="${strPalette.normal.red}" \
--layout-color="${strPalette.normal.blue}" \

View file

@ -11,15 +11,16 @@ in
{
nixpkgs.overlays = [
(import ./overlays/rice.nix)
(final: prev: (prev.lib.callPackageWith prev) ./custom/default.nix {}) # Custom packges
(
final: prev: {
lockscreen = prev.lockscreen.override {
palette = prev.rice.colorPalette;
font = prev.rice.font.normal;
cocktail-bar-cli = final.callPackage ./custom/cocktail-bar-cli {};
update-background = final.callPackage ./custom/update-background {};
lockscreen = final.callPackage ./custom/lockscreen {
palette = final.rice.colorPalette;
font = final.rice.font.normal;
};
}
)
) # Custom packges
];
home = {