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

View file

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