diff --git a/user/home.nix b/user/home.nix index 46ee716..233e978 100644 --- a/user/home.nix +++ b/user/home.nix @@ -788,6 +788,56 @@ in { exec = [ "xrdb .Xresources" ]; }; }; + }; + programs.mako = { + enable = true; + borderSize = 2; + padding="5"; + margin="15"; + layer = "overlay"; + + backgroundColor = color.bg; + borderColor = accent.color; + progressColor = "over ${accent.color}88"; + + defaultTimeout=10000; + # # {{@@ header() @@}} + # # text + # font={{@@ font.interface @@}} {{@@ font.size.small @@}} + # text-color={{@@ color.txt @@}} + + # # colors + # background-color={{@@ color.bg @@}}{{@@ opacity | clamp_to_hex @@}} + # border-color={{@@ accent_color @@}} + # progress-color=over {{@@ accent_color @@}}88 + + # # decoration + # border-size=2 + # padding=5 + # margin=15 + + # # features + # icons=1 + # markup=1 + # actions=1 + # default-timeout=10000 + + # # position + # layer=overlay + + # [app-name=volumesh] + # default-timeout=5000 + # group-by=app-name + # format=%s\n%b + + # [app-name=dotdrop] + # default-timeout=5000 + # group-by=app-name + # format=%s\n%b + + # # vim: ft=ini + + }; services.kdeconnect = { enable = true; @@ -860,5 +910,17 @@ in { }; Install = { WantedBy = [ "sway-session.target" ]; }; }; + mako = { + Unit = { + Description = "Notification daemon"; + PartOf = [ "graphical-session.target" ]; + After = [ "graphical-session.target" ]; + }; + Service = { + ExecStart = "${pkgs.mako}/bin/mako"; + Restart = "on-failure"; + }; + Install = { WantedBy = [ "sway-session.target" ]; }; + }; }; }