Lockscreen custom

This commit is contained in:
Filippo Berto 2021-06-20 21:41:54 +02:00
parent b3fdc5f573
commit e080d5b9b8
10 changed files with 134 additions and 49 deletions

View file

@ -1,11 +1,8 @@
{ pkgs, ... }:
let
i3lock-color = "${pkgs.i3lock-color}/bin/i3lock-color";
in
{
services.screen-locker = {
enable = true;
lockCmd = '' ${i3lock-color} -B 10 --greeter-text="Welcome back $USER" --greeter-color="#ffffff" --date-color="#ffffff" --time-color="#ffffff" '';
lockCmd = "${pkgs.lockscreen}";
inactiveInterval = 10; # miutes
};
}