Reduce simple-osd notification timeout

This commit is contained in:
Alexander Bantyev 2021-08-07 15:12:25 +03:00
parent eafcb316f5
commit 538897b2ca
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -18,7 +18,11 @@ in {
systemd.user.services = daemons [ "pulseaudio" "mpris" ]
// pkgs.lib.optionalAttrs (config.deviceSpecific.isLaptop)
(daemons [ "battery" "brightness" ]);
xdg.configFile."simple-osd/common".text =
genIni { progressbar.length = 25; };
xdg.configFile = {
"simple-osd/common".text =
genIni { progressbar.length = 25; notification."default timeout" = 3; };
"simple-osd/mpris".text =
genIni { default."notification display time" = 3; };
};
};
}