feat(tazjin/tverskoy): Add dunst configuration

This one is basically taken from some gist linked in the official
dunst readme and makes nice little boxes.

Change-Id: I5bee8488f333dcc2f7040b741729065ef8617ae0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3767
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-11-02 13:02:56 +01:00 committed by tazjin
parent 18315b2fb6
commit e99d8510d7
3 changed files with 66 additions and 0 deletions

View file

@ -367,6 +367,15 @@ in lib.fix(self: {
lockCmd = "${screenLock}/bin/tazjin-screen-lock";
};
services.dunst.enable = true;
xdg.configFile."dunst/dunstrc" = {
source = depot.users.tazjin.dotfiles.dunstrc;
onChange = ''
${pkgs.procps}/bin/pkill -u "$USER" ''${VERBOSE+-e} dunst || true
'';
};
systemd.user.startServices = true;
};