nix/user/common/mako/default.nix

17 lines
431 B
Nix
Raw Normal View History

2024-05-07 14:09:40 +03:00
{ style, util, setting, ... }: let
2024-05-07 22:54:40 +03:00
alpha = style.opacity.hex;
2024-05-07 14:09:40 +03:00
in {
2024-04-06 03:03:58 +03:00
config = util.trimTabs ''
anchor=top-center
2024-04-29 02:03:44 +03:00
default-timeout=${toString(setting.popup.timeout.ms)}
2024-04-06 03:03:58 +03:00
font=${style.font.serif.name} ${toString(style.font.size.popup)}
2024-05-07 14:09:40 +03:00
background-color=#${style.color.bg.dark}${alpha}
border-color=#${style.color.bg.regular}${alpha}
2024-04-06 03:03:58 +03:00
text-color=#${style.color.fg.light}
height=120
icons=0
margin=32
width=480
'';
}