decryption function

This commit is contained in:
tristan 2024-01-08 21:53:43 +00:00
parent cd5a381451
commit f3eb45a361
7 changed files with 38 additions and 43 deletions

View file

@ -62,16 +62,16 @@ with lib; let
name = display.name;
value = let
res = display.resolution;
in {
mode =
mkIf (!resUnset res)
"${toString res.x}x${toString res.y}@${toString res.freq}Hz";
scale = toString display.scaling;
}
// lib.mkIf ( display ? wallpaper && display.wallpaper != null ) {
bg = "${ display.wallpaper } fill";
}
;
in
{
mode =
mkIf (!resUnset res)
"${toString res.x}x${toString res.y}@${toString res.freq}Hz";
scale = toString display.scaling;
}
// lib.mkIf (display ? wallpaper && display.wallpaper != null) {
bg = "${display.wallpaper} fill";
};
};
resolutionType = types.submodule {