27 lines
587 B
Nix
27 lines
587 B
Nix
{ pkgs, ... }:
|
|
let
|
|
strPalette = pkgs.lib.nix-rice.palette.toRGBHex pkgs.rice.colorPalette;
|
|
font = pkgs.rice.font.normal;
|
|
in
|
|
{
|
|
services.twmn = {
|
|
enable = true;
|
|
text = {
|
|
color = strPalette.primary.foreground;
|
|
font = {
|
|
inherit (font) package size;
|
|
family = font.name;
|
|
};
|
|
};
|
|
window = {
|
|
animation.bounce.enable = false;
|
|
color = strPalette.primary.background;
|
|
height = 32;
|
|
opacity = pkgs.lib.nix-rice.float.round (pkgs.rice.opacity * 100);
|
|
offset = {
|
|
x = -20;
|
|
y = 50;
|
|
};
|
|
};
|
|
};
|
|
}
|