window-manager: notify before lock
Alan Pearce alan@alanpearce.eu
Fri, 06 Sep 2019 11:54:30 +0200
1 files changed, 2 insertions(+), 0 deletions(-)
M modules/programs/window-manager.nix → 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; }; };