Switch to module-based rice
This commit is contained in:
parent
a8ee39aaa3
commit
61329e5f96
19 changed files with 505 additions and 547 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{ nixosConfig, ... }:
|
||||
with nixosConfig.nix-rice.lib;
|
||||
let
|
||||
strPalette = pkgs.lib.nix-rice.palette.toRgbHex {
|
||||
inherit (pkgs.rice.colorPalette)
|
||||
inherit (nixosConfig.nix-rice) rice;
|
||||
strPalette = palette.toRgbHex {
|
||||
inherit (rice.colorPalette)
|
||||
background
|
||||
foreground
|
||||
color0
|
||||
|
|
@ -31,7 +33,7 @@ in
|
|||
enable_audio_bell = false;
|
||||
visual_bell_duration = toString 0.1;
|
||||
update_check_interval = 0;
|
||||
background_opacity = toString pkgs.rice.opacity;
|
||||
background_opacity = toString rice.opacity;
|
||||
close_on_child_death = "yes";
|
||||
clipboard_control = "write-clipboard write-primary read-clipboard read-primary";
|
||||
disable_ligatures = "never";
|
||||
|
|
@ -44,6 +46,6 @@ in
|
|||
"ctrl+shift+up" = "previous_window";
|
||||
"ctrl+shift+down" = "next_window";
|
||||
};
|
||||
font = pkgs.rice.font.monospace;
|
||||
font = rice.font.monospace;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue