Benjamin Yule Bädorf
52bbd13a24
* Use mako home-manager module * Use nextcloud-client home-manager module * Urgent notifications go above fullscreen apps * Add battery check with libnotify * Increase waybar text sizing
33 lines
555 B
Nix
33 lines
555 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
psCfg = config.pub-solar;
|
|
in {
|
|
home-manager.users."${psCfg.user.name}" = {
|
|
services.mako = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
padding=10
|
|
margin=5,5,0
|
|
default-timeout=5000
|
|
|
|
background-color=#1a181a
|
|
text-color=#e3e1e4
|
|
border-color=#ff5f5f
|
|
font=Hack 14
|
|
|
|
[urgency=high]
|
|
background-color=#ff5f5f
|
|
text-color=#1a181a
|
|
border-color=#1a181a
|
|
layer=overlay
|
|
font=Hack 14
|
|
'';
|
|
};
|
|
};
|
|
}
|