diff options
author | Alan Pearce | 2019-09-06 11:54:30 +0200 |
---|---|---|
committer | Alan Pearce | 2019-09-06 11:54:30 +0200 |
commit | 14354e6765b968d9f625446be8534fe28d8e7092 (patch) | |
tree | 1d9995a81c02ca5ea70e34cd587f24fbf848379d | |
parent | de693c7795cd7d693ef327ec2cca06563668633a (diff) | |
download | nixos-configuration-14354e6765b968d9f625446be8534fe28d8e7092.tar.lz nixos-configuration-14354e6765b968d9f625446be8534fe28d8e7092.tar.zst nixos-configuration-14354e6765b968d9f625446be8534fe28d8e7092.zip |
window-manager: notify before lock
-rw-r--r-- | modules/programs/window-manager.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; }; |