summary refs log tree commit diff stats
path: root/modules/programs
diff options
context:
space:
mode:
authorAlan Pearce2019-09-06 11:54:30 +0200
committerAlan Pearce2019-09-06 11:54:30 +0200
commit14354e6765b968d9f625446be8534fe28d8e7092 (patch)
tree1d9995a81c02ca5ea70e34cd587f24fbf848379d /modules/programs
parentde693c7795cd7d693ef327ec2cca06563668633a (diff)
downloadnixfiles-14354e6765b968d9f625446be8534fe28d8e7092.tar.lz
nixfiles-14354e6765b968d9f625446be8534fe28d8e7092.tar.zst
nixfiles-14354e6765b968d9f625446be8534fe28d8e7092.zip
window-manager: notify before lock
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/window-manager.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix
index c0322acf..1ca1e109 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;
     };
   };