From 14354e6765b968d9f625446be8534fe28d8e7092 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 6 Sep 2019 11:54:30 +0200 Subject: window-manager: notify before lock --- modules/programs/window-manager.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/programs') diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix index c0322ac..1ca1e10 100644 --- a/modules/programs/window-manager.nix +++ b/modules/programs/window-manager.nix @@ -17,6 +17,8 @@ xautolock = { enable = true; locker = "${pkgs.i3lock-color}/bin/i3lock-color"; + enableNotifier = true; + notifier = "${pkgs.libnotify}/bin/notify-send \"Locking in 10 seconds\""; time = 5; }; }; -- cgit 1.4.1