Skip to content

Commit

Permalink
Add xss-lock option --transfer-sleep-lock
Browse files Browse the repository at this point in the history
Lock before suspending/hibernating, see i3/i3lock#207.
  • Loading branch information
Gerschtli committed Jul 28, 2019
1 parent 0390165 commit 3e7f015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/config/xsession.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ in
enable = true;
lockCmd = "${lock-screen}/bin/lock-screen";
inactiveInterval = 20;

# lock before suspending/hibernating, see https://github.com/i3/i3lock/issues/207
xssLockExtraOptions = [ "--transfer-sleep-lock" ];
};

systemd.user.startServices = true;
Expand Down

0 comments on commit 3e7f015

Please sign in to comment.