Remove 'with' from most modules

This commit is contained in:
Filippo Berto 2023-08-15 18:33:34 +02:00
parent 40032f7fd9
commit 7459ae0e96
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
27 changed files with 222 additions and 230 deletions

View file

@ -1,7 +1,6 @@
{ pkgs, ... }:
with pkgs.lib.nix-rice;
let
strPalette = palette.toRGBHex pkgs.rice.colorPalette;
strPalette = pkgs.lib.nix-rice.palette.toRGBHex pkgs.rice.colorPalette;
font = pkgs.rice.font.normal;
in
{
@ -18,7 +17,7 @@ in
animation.bounce.enable = false;
color = strPalette.primary.background;
height = 32;
opacity = float.round (pkgs.rice.opacity * 100);
opacity = pkgs.lib.nix-rice.float.round (pkgs.rice.opacity * 100);
offset = {
x = -20;
y = 50;