diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-13 10:30:35 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-13 10:30:35 -0700 |
| commit | 085b4c42e6dfca8e12ebfa68a421b91feec34986 (patch) | |
| tree | b5861bfbfccaf29457fbb438b84d3765931dc6df /modules/home-manager | |
| parent | 8c717cbc5a7549f8d0c6c21b942db563c6277347 (diff) | |
fixing swaylock config
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/swayidle.nix | 2 | ||||
| -rw-r--r-- | modules/home-manager/swaylock.nix | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/modules/home-manager/swayidle.nix b/modules/home-manager/swayidle.nix index d9fbc98..19cd171 100644 --- a/modules/home-manager/swayidle.nix +++ b/modules/home-manager/swayidle.nix @@ -16,7 +16,7 @@ { #timeout 300 timeout = 5; - command = "${dpmsCommand} off && swaylock --screenshots --clock --indicator-idle-visible --grace 10"; + command = "${dpmsCommand} off && swaylock"; resumeCommand = "${dpmsCommand} on"; } { #timeout 420 diff --git a/modules/home-manager/swaylock.nix b/modules/home-manager/swaylock.nix index 25b2c48..745d3ef 100644 --- a/modules/home-manager/swaylock.nix +++ b/modules/home-manager/swaylock.nix @@ -1,6 +1,11 @@ -{ ... }: { +{ pkgs, ... }: { programs.swaylock.enable = true; - programs.swaylock.settings = { + programs.swaylock.package = pkgs.swaylock-effects; + programs.swaylock.settings = { + ignore-empty-password = true; + clock = true; + screenshots = true; + grace = 10; indicator-radius = 100; indicator-thickness = 7; ring-color = "455a64"; |
