Switch from swaylock-effects to swaylock
This commit is contained in:
parent
53aa15b6ea
commit
038bcbfff1
1 changed files with 2 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, rice
|
, rice
|
||||||
, roboto
|
, roboto
|
||||||
, swaylock-effects
|
, swaylock
|
||||||
, writeScriptBin
|
, writeScriptBin
|
||||||
, font ? {
|
, font ? {
|
||||||
package = roboto;
|
package = roboto;
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
let strPalette = lib.nix-rice.palette.toRgbaShortHex palette;
|
let strPalette = lib.nix-rice.palette.toRgbaShortHex palette;
|
||||||
in writeScriptBin "way-lockscreen" ''
|
in writeScriptBin "way-lockscreen" ''
|
||||||
# Using font package ${font.package}
|
# Using font package ${font.package}
|
||||||
${swaylock-effects}/bin/swaylock \
|
${swaylock}/bin/swaylock \
|
||||||
--color="${strPalette.primary.background}"
|
--color="${strPalette.primary.background}"
|
||||||
--inside-ver-color="${strPalette.normal.green}" \
|
--inside-ver-color="${strPalette.normal.green}" \
|
||||||
--inside-wrong-color="${strPalette.normal.red}" \
|
--inside-wrong-color="${strPalette.normal.red}" \
|
||||||
|
|
@ -29,7 +29,6 @@ in writeScriptBin "way-lockscreen" ''
|
||||||
--separator-color="${strPalette.normal.black}" \
|
--separator-color="${strPalette.normal.black}" \
|
||||||
--indicator-radius=120 \
|
--indicator-radius=120 \
|
||||||
--indicator-thickness=15 \
|
--indicator-thickness=15 \
|
||||||
--effect-blur 3x10 \
|
|
||||||
--font="${font.name}" \
|
--font="${font.name}" \
|
||||||
--font-size="${toString font.size}"
|
--font-size="${toString font.size}"
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue