Swaylock: fix arguments
This commit is contained in:
parent
81ff9e822e
commit
66b8dedca6
1 changed files with 19 additions and 16 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
package = roboto;
|
package = roboto;
|
||||||
name = "Roboto";
|
name = "Roboto";
|
||||||
}
|
}
|
||||||
|
, wallpaper ? ../../wallpapers/background.jpg
|
||||||
, palette ? rice.palette.palette { }
|
, palette ? rice.palette.palette { }
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
@ -14,22 +15,24 @@ 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}/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}" \
|
||||||
--inside-color="${strPalette.normal.black}" \
|
--inside-color "${strPalette.normal.black}" \
|
||||||
--ring-ver-color="${strPalette.bright.green}" \
|
--ring-ver-color "${strPalette.bright.green}" \
|
||||||
--ring-wrong-color="${strPalette.bright.red}" \
|
--ring-wrong-color "${strPalette.bright.red}" \
|
||||||
--ring-ver-color="${strPalette.bright.green}" \
|
--ring-ver-color "${strPalette.bright.green}" \
|
||||||
--ring-wrong-color="${strPalette.bright.red}" \
|
--ring-wrong-color "${strPalette.bright.red}" \
|
||||||
--ring-color="${strPalette.bright.blue}" \
|
--ring-color "${strPalette.bright.blue}" \
|
||||||
--line-uses-ring \
|
--line-uses-ring \
|
||||||
--key-hl-color="${strPalette.bright.red}" \
|
--key-hl-color "${strPalette.bright.red}" \
|
||||||
--bs-hl-color="${strPalette.bright.red}" \
|
--bs-hl-color "${strPalette.bright.red}" \
|
||||||
--separator-color="${strPalette.normal.black}" \
|
--separator-color "${strPalette.normal.black}" \
|
||||||
--indicator-radius=120 \
|
--font "${font.name}" \
|
||||||
--indicator-thickness=15 \
|
--font-size "${toString font.size}" \
|
||||||
--font="${font.name}" \
|
--image "${toString wallpaper}" \
|
||||||
--font-size="${toString font.size}"
|
--scaling fit
|
||||||
|
# --indicator-radius 120 \
|
||||||
|
# --indicator-thickness 15 \
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue