all repos — nixfiles @ 14354e6765b968d9f625446be8534fe28d8e7092

System and user configuration, managed by nix and home-manager

window-manager: notify before lock
Alan Pearce alan@alanpearce.eu
Fri, 06 Sep 2019 11:54:30 +0200
commit

14354e6765b968d9f625446be8534fe28d8e7092

parent

de693c7795cd7d693ef327ec2cca06563668633a

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M modules/programs/window-manager.nixmodules/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;
     };
   };