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 pkgs.rice.colorPalette;
|
||||
font = pkgs.rice.font.normal;
|
||||
inherit (nixosConfig.nix-rice) rice;
|
||||
strPalette = palette.toRGBHex rice.colorPalette;
|
||||
font = rice.font.normal;
|
||||
in
|
||||
{
|
||||
services.twmn = {
|
||||
|
|
@ -17,7 +19,7 @@ in
|
|||
animation.bounce.enable = false;
|
||||
color = strPalette.primary.background;
|
||||
height = 32;
|
||||
opacity = pkgs.lib.nix-rice.float.round (pkgs.rice.opacity * 100);
|
||||
opacity = float.round (rice.opacity * 100);
|
||||
offset = {
|
||||
x = -20;
|
||||
y = 50;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue