Nix fmt rfc style (more or less)

This commit is contained in:
Filippo Berto 2024-08-13 12:22:23 +02:00
parent e7496c447a
commit 515f098644
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
146 changed files with 2607 additions and 906 deletions

View file

@ -11,8 +11,10 @@
, palette ? rice.palette.palette { }
, ...
}:
let strPalette = lib.nix-rice.palette.toRgbaShortHex palette;
in writeScriptBin "way-lockscreen" ''
let
strPalette = lib.nix-rice.palette.toRgbaShortHex palette;
in
writeScriptBin "way-lockscreen" ''
# Using font package ${font.package}
${swaylock}/bin/swaylock \
--color "${strPalette.primary.background}" \
@ -35,4 +37,3 @@ in writeScriptBin "way-lockscreen" ''
# --indicator-radius 120 \
# --indicator-thickness 15 \
''