diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-26 20:07:27 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-27 13:05:30 -0800 |
commit | 0fa65e2210f015838af244872aa4472cc6c899ee (patch) | |
tree | 2db4fea37c2a6e770af78e93e4139761e981a022 /users/fcuny/desktop/wm | |
parent | devel: install LSP for nix (diff) | |
download | world-0fa65e2210f015838af244872aa4472cc6c899ee.tar.gz |
mako: run with systemd
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/wm/notification.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/users/fcuny/desktop/wm/notification.nix b/users/fcuny/desktop/wm/notification.nix index 39d3fa8..c0b0415 100644 --- a/users/fcuny/desktop/wm/notification.nix +++ b/users/fcuny/desktop/wm/notification.nix @@ -5,11 +5,22 @@ pkgs.libnotify # to send notifications ]; - programs = { - mako = { - enable = true; - markup = true; - actions = true; + systemd.user.services.mako = { + Service = { + ExecStart = "${pkgs.mako}/bin/mako"; }; + Install = { + WantedBy = [ "sway-session.target" ]; + }; + }; + + programs.mako = { + enable = true; + layer = "overlay"; + defaultTimeout = 300; + maxVisible = 10; + maxIconSize = 24; + markup = true; + actions = true; }; } |