diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-20 11:34:55 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-20 11:34:55 +0200 |
| commit | 8a47c7ebcd39c32e3b566d0ed1b645a82b55f9e3 (patch) | |
| tree | db45b4b7cfc664334a66c8df0ca27623fabf185e /home/rices/finals/swayidle.nix | |
| parent | a4bc3ae3780298b2f73379812d0cad03589861cc (diff) | |
Add boilerplate for a niri rice (The Finals theemd)
Diffstat (limited to 'home/rices/finals/swayidle.nix')
| -rw-r--r-- | home/rices/finals/swayidle.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/home/rices/finals/swayidle.nix b/home/rices/finals/swayidle.nix new file mode 100644 index 0000000..4de9d52 --- /dev/null +++ b/home/rices/finals/swayidle.nix @@ -0,0 +1,15 @@ +{pkgs, ...}: { + services.swayidle = { + enable = true; + events = [ + { + event = "before-sleep"; + command = "${pkgs.swaylock}/bin/swaylock -fF"; + } + { + event = "lock"; + command = "swaylock"; + } + ]; + }; +} |
