Switch to new nix-rice version
This commit is contained in:
parent
b25d9b68f8
commit
bd6b04c6a4
7 changed files with 65 additions and 52 deletions
|
|
@ -1,6 +1,31 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
strPalette = with pkgs.rice; palette.toRgbHex colorPalette;
|
||||
strPalette = with pkgs.rice; palette.toRgbHex rec {
|
||||
inherit (colorPalette) normal bright;
|
||||
dim = colorPalette.dark;
|
||||
|
||||
primary = {
|
||||
background = normal.black;
|
||||
foreground = normal.white;
|
||||
dim_foreground = dim.white;
|
||||
};
|
||||
cursor = {
|
||||
cursor = normal.white;
|
||||
text = normal.black;
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
cursor = normal.white;
|
||||
text = normal.black;
|
||||
};
|
||||
selection.background = dim.blue;
|
||||
search = {
|
||||
matches.background = dim.cyan;
|
||||
bar = {
|
||||
foreground = dim.cyan;
|
||||
background = dim.yellow;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
# Include fonts packages
|
||||
|
|
@ -20,22 +45,9 @@ in
|
|||
# hide_when_typing = true;
|
||||
hints.modifiers = "Control";
|
||||
};
|
||||
|
||||
colors = with pkgs.rice; strPalette // {
|
||||
selection = {
|
||||
text = "CellForeground";
|
||||
background = strPalette.dim.blue;
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "CellForeground";
|
||||
background = strPalette.dim.cyan;
|
||||
};
|
||||
bar = {
|
||||
foreground = strPalette.dim.cyan;
|
||||
background = strPalette.dim.yellow;
|
||||
};
|
||||
};
|
||||
selection.text = "CellForeground";
|
||||
search.matches.foreground = "CellForeground";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -61,18 +61,18 @@ in
|
|||
mouse_right_click = "close_all";
|
||||
};
|
||||
urgency_low = {
|
||||
background = palette.primary.background;
|
||||
foreground = palette.primary.foreground;
|
||||
background = palette.normal.black;
|
||||
foreground = palette.normal.white;
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = palette.primary.background;
|
||||
foreground = palette.primary.foreground;
|
||||
background = palette.normal.black;
|
||||
foreground = palette.normal.white;
|
||||
timeout = 10;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = palette.primary.background;
|
||||
foreground = palette.primary.foreground;
|
||||
background = palette.normal.black;
|
||||
foreground = palette.normal.white;
|
||||
frame_color = palette.bright.red;
|
||||
timeout = 0;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -13,17 +13,17 @@ let
|
|||
colors = with pkgs.rice; palette.toARGBHex rec {
|
||||
|
||||
normal = {
|
||||
foreground = colorPalette.primary.foreground;
|
||||
background = colorPalette.primary.background;
|
||||
foreground = colorPalette.normal.white;
|
||||
background = colorPalette.normal.black;
|
||||
underline = colorPalette.normal.blue;
|
||||
};
|
||||
|
||||
active = palette.tPalette (c: color.brighten c "50%") normal;
|
||||
active = palette.brighten "50%" normal;
|
||||
|
||||
selected = {
|
||||
foreground = colorPalette.bright.white;
|
||||
background = color.tAlphaRgba (v: 240) colorPalette.dim.blue;
|
||||
underline = colorPalette.dim.white;
|
||||
background = color.tAlphaRgba (v: 240) colorPalette.dark.blue;
|
||||
underline = colorPalette.dark.white;
|
||||
};
|
||||
|
||||
alert = colorPalette.bright.red;
|
||||
|
|
@ -168,7 +168,7 @@ in
|
|||
focused = colors.selected // common;
|
||||
occupied = colors.active // common;
|
||||
urgent = colors.active // common // { background = colors.alert; };
|
||||
empty = colors.normal // common // { text = ""; padding = 0 ; };
|
||||
empty = colors.normal // common // { text = ""; padding = 0; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ in
|
|||
inputbar-bg = strPalette.bright.black;
|
||||
inputbar-fg = strPalette.normal.cyan;
|
||||
page-padding = 10;
|
||||
recolor-lightcolor = strPalette.dim.cyan;
|
||||
recolor-lightcolor = strPalette.dark.cyan;
|
||||
statusbar-bg = strPalette.bright.black;
|
||||
selection-clipboard = "clipboard";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue