From 538897b2ca886dc90b4ca1d15ec4ad8124b833d2 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Sat, 7 Aug 2021 15:12:25 +0300 Subject: [PATCH] Reduce simple-osd notification timeout --- profiles/workspace/simple-osd-daemons.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/profiles/workspace/simple-osd-daemons.nix b/profiles/workspace/simple-osd-daemons.nix index 3b1e567..24fa241 100644 --- a/profiles/workspace/simple-osd-daemons.nix +++ b/profiles/workspace/simple-osd-daemons.nix @@ -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; }; + }; }; }