fix(swaylock): isolate from sway
This commit is contained in:
parent
c4f60385d4
commit
278bae388b
4 changed files with 32 additions and 21 deletions
24
home/swaylock/home.nix
Normal file
24
home/swaylock/home.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; mkIf config.passthrough.gui {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
indicator-caps-lock = true;
|
||||
font-size = 20;
|
||||
ignore-empty-password = true;
|
||||
show-failed-attempts = true;
|
||||
color = mkDefault "#00000000";
|
||||
|
||||
# Ring
|
||||
indicator-radius = 115;
|
||||
|
||||
# Swaylock-effects specific settings
|
||||
clock = true;
|
||||
timestr = "%r";
|
||||
grace = 2;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue