fixup! Custom packages
This commit is contained in:
parent
3286c02857
commit
97f500a3bf
1 changed files with 18 additions and 21 deletions
|
|
@ -1,32 +1,29 @@
|
||||||
{ roboto
|
{ roboto
|
||||||
, swaylock
|
, swaylock
|
||||||
, writeScriptBin
|
, writeScriptBin
|
||||||
, font ? { package = roboto; name = "Roboto"; size = 10; }
|
|
||||||
, colors ? {
|
|
||||||
base = "000000ff";
|
|
||||||
inside = { ver = "00ff00ff"; wrong = "ff0000ff"; base = "000000ff"; };
|
|
||||||
ring = { ver = "10ff10ff"; wrong = "ff1010ff"; base = "1010ffff"; };
|
|
||||||
key.hl = "ff1010ff";
|
|
||||||
bs.hl = "ff1010ff";
|
|
||||||
separator = "000000ff";
|
|
||||||
}
|
|
||||||
, wallpaper ? ../../wallpapers/n8ca4obsys991.png
|
, wallpaper ? ../../wallpapers/n8ca4obsys991.png
|
||||||
|
, font ? { package = roboto; name = "Roboto"; size = 10; }
|
||||||
|
, strPalette ? {
|
||||||
|
primary.background = "000000ff";
|
||||||
|
normal = { red = "ff0000ff"; green = "00ff00ff"; black = "000000ff"; };
|
||||||
|
bright = { red = "ff1010ff"; green = "10ff10ff"; blue = "1010ffff"; };
|
||||||
|
}
|
||||||
}: writeScriptBin "wl-lockscreen" ''
|
}: writeScriptBin "wl-lockscreen" ''
|
||||||
# Using font package ${font.package}
|
# Using font package ${font.package}
|
||||||
${swaylock}/bin/swaylock \
|
${swaylock}/bin/swaylock \
|
||||||
--color "${colors.base}" \
|
--color "${strPalette.primary.background}" \
|
||||||
--inside-ver-color "${colors.inside.ver}" \
|
--inside-ver-color "${strPalette.normal.green}" \
|
||||||
--inside-wrong-color "${colors.inside.wrong}" \
|
--inside-wrong-color "${strPalette.normal.red}" \
|
||||||
--inside-color "${colors.inside.base}" \
|
--inside-color "${strPalette.normal.black}" \
|
||||||
--ring-ver-color "${colors.ring.ver}" \
|
--ring-ver-color "${strPalette.bright.green}" \
|
||||||
--ring-wrong-color "${colors.ring.wrong}" \
|
--ring-wrong-color "${strPalette.bright.red}" \
|
||||||
--ring-ver-color "${colors.ring.ver}" \
|
--ring-ver-color "${strPalette.bright.green}" \
|
||||||
--ring-wrong-color "${colors.ring.wrong}" \
|
--ring-wrong-color "${strPalette.bright.red}" \
|
||||||
--ring-color "${colors.ring.base}" \
|
--ring-color "${strPalette.bright.blue}" \
|
||||||
--line-uses-ring \
|
--line-uses-ring \
|
||||||
--key-hl-color "${colors.key.hl}" \
|
--key-hl-color "${strPalette.bright.red}" \
|
||||||
--bs-hl-color "${colors.bs.hl}" \
|
--bs-hl-color "${strPalette.bright.red}" \
|
||||||
--separator-color "${colors.separator}" \
|
--separator-color "${strPalette.normal.black}" \
|
||||||
--font "${font.name}" \
|
--font "${font.name}" \
|
||||||
--font-size "${toString font.size}" \
|
--font-size "${toString font.size}" \
|
||||||
--image "${toString wallpaper}" \
|
--image "${toString wallpaper}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue