nix-dotfiles/hm_modules/twmn.nix

28 lines
575 B
Nix

{ pkgs, ... }:
with pkgs.lib.nix-rice;
let
strPalette = 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 = float.round (pkgs.rice.opacity * 100);
offset = {
x = -20;
y = 50;
};
};
};
}