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,9 @@
{ pkgs, ... }:
with pkgs.lib.nix-rice;
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
in {
let
inherit (pkgs.lib) nix-rice;
strPalette = nix-rice.palette.toRGBHex pkgs.rice.colorPalette;
in
{
home.packages = builtins.attrValues {
inherit (pkgs) dunst;
inherit (pkgs.rice.font.normal) package;
@ -26,7 +28,7 @@ in {
notification_limit = 10;
offset = "7x28";
separator_color = strPalette.normal.blue;
transparency = 100 - float.round (pkgs.rice.opacity * 100);
transparency = 100 - nix-rice.float.round (pkgs.rice.opacity * 100);
width = "(0, 320)";
};
urgency_low = {