Switch to nix-rice 0.3.1
This commit is contained in:
parent
740dceeb6a
commit
412d7cc283
15 changed files with 63 additions and 59 deletions
|
|
@ -1,32 +1,31 @@
|
|||
{ pkgs, ... }:
|
||||
with pkgs.lib.nix-rice;
|
||||
let
|
||||
strPalette = pkgs.lib.rice.palette.toRgbHex rec {
|
||||
strPalette = palette.toRgbHex {
|
||||
inherit (pkgs.rice.colorPalette) normal bright dark;
|
||||
background = normal.black;
|
||||
foreground = normal.white;
|
||||
inherit (pkgs.rice.colorPalette.primary) background foreground;
|
||||
};
|
||||
opacity = toString pkgs.rice.opacity;
|
||||
font = pkgs.rice.font.monospace;
|
||||
colorString = with strPalette;
|
||||
normal: bright:
|
||||
builtins.concatStringsSep ":" [
|
||||
normal.black
|
||||
normal.red
|
||||
normal.green
|
||||
normal.yellow
|
||||
normal.blue
|
||||
normal.magenta
|
||||
normal.cyan
|
||||
normal.white
|
||||
bright.black
|
||||
bright.red
|
||||
bright.green
|
||||
bright.yellow
|
||||
bright.blue
|
||||
bright.magenta
|
||||
bright.cyan
|
||||
bright.white
|
||||
];
|
||||
colorString = normal: bright:
|
||||
builtins.concatStringsSep ":" [
|
||||
normal.black
|
||||
normal.red
|
||||
normal.green
|
||||
normal.yellow
|
||||
normal.blue
|
||||
normal.magenta
|
||||
normal.cyan
|
||||
normal.white
|
||||
bright.black
|
||||
bright.red
|
||||
bright.green
|
||||
bright.yellow
|
||||
bright.blue
|
||||
bright.magenta
|
||||
bright.cyan
|
||||
bright.white
|
||||
];
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [ terminator ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue