--wip-- [skip ci]
This commit is contained in:
parent
eea02abfcb
commit
762085707c
136 changed files with 261 additions and 261 deletions
29
hm/modules/twmn.nix
Normal file
29
hm/modules/twmn.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ nixosConfig, ... }:
|
||||
with nixosConfig.nix-rice.lib;
|
||||
let
|
||||
inherit (nixosConfig.nix-rice) rice;
|
||||
strPalette = palette.toRGBHex rice.colorPalette;
|
||||
font = 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 (rice.opacity * 100);
|
||||
offset = {
|
||||
x = -20;
|
||||
y = 50;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue