Switch to nix-rice 0.3.1

This commit is contained in:
Filippo Berto 2023-01-01 18:01:38 +01:00
parent 740dceeb6a
commit 412d7cc283
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
15 changed files with 63 additions and 59 deletions

View file

@ -1,5 +1,6 @@
{ pkgs, ... }:
let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette;
with pkgs.lib.nix-rice;
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
in
{
home.packages = with pkgs; [ dunst rice.font.normal.package ];
@ -22,8 +23,8 @@ in
padding = 8;
horizontal_padding = 8;
frame_width = 2;
frame_color = palette.normal.black;
separator_color = palette.normal.blue;
frame_color = strPalette.normal.black;
separator_color = strPalette.normal.blue;
sort = "yes";
idle_threshold = 120;
@ -58,19 +59,19 @@ in
mouse_right_click = "close_all";
};
urgency_low = {
background = palette.normal.black;
foreground = palette.normal.white;
background = strPalette.normal.black;
foreground = strPalette.normal.white;
timeout = 10;
};
urgency_normal = {
background = palette.normal.black;
foreground = palette.normal.white;
background = strPalette.normal.black;
foreground = strPalette.normal.white;
timeout = 10;
};
urgency_critical = {
background = palette.normal.black;
foreground = palette.normal.white;
frame_color = palette.bright.red;
background = strPalette.normal.black;
foreground = strPalette.normal.white;
frame_color = strPalette.bright.red;
timeout = 0;
};
shortcuts = {