home: Switch to i3lock instead of betterlockscreen
This commit is contained in:
parent
bbad254bf0
commit
a029bd12e4
1 changed files with 8 additions and 3 deletions
|
|
@ -1,10 +1,15 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.services.screen-locker = {
|
config.services.screen-locker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inactiveInterval = 30;
|
inactiveInterval = 30;
|
||||||
lockCmd = "${pkgs.betterlockscreen}/bin/betterlockscreen -l dim";
|
lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
|
||||||
xautolock.extraOptions = [ "-killer 'systemctl suspend'" ];
|
xautolock.extraOptions = [ "-detectsleep" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue