Move HM modules
This commit is contained in:
parent
5db76d0fed
commit
3cf0004b78
110 changed files with 403 additions and 564 deletions
28
modules/hm/twmn.nix
Normal file
28
modules/hm/twmn.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue