aboutsummaryrefslogtreecommitdiff
path: root/home/rices/schrottkatze/swayidle.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-10 12:13:36 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-10 12:13:36 +0200
commit648e12342110718ca3736ec0082a688590cc0f7d (patch)
tree0d05e32e6cf7fbb05e8a5e20984e14db77406071 /home/rices/schrottkatze/swayidle.nix
parent0f4f072b317bafad7016dcb9fdb3a4dd593d7f85 (diff)
Add schrottkatze rice: terminal, notifications, fuzzel, swayidle, layaway
Kitty with Gruvbox colors, Dunst notifications, Fuzzel launcher, swayidle/swaylock screen locking, layaway layout tool.
Diffstat (limited to 'home/rices/schrottkatze/swayidle.nix')
-rw-r--r--home/rices/schrottkatze/swayidle.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/rices/schrottkatze/swayidle.nix b/home/rices/schrottkatze/swayidle.nix
new file mode 100644
index 0000000..6d8525c
--- /dev/null
+++ b/home/rices/schrottkatze/swayidle.nix
@@ -0,0 +1,15 @@
+{pkgs, ...}: {
+ services.swayidle = {
+ enable = true;
+ events = [
+ {
+ event = "before-sleep";
+ command = "${pkgs.swaylock}/bin/swaylock -fF -c 442244";
+ }
+ {
+ event = "lock";
+ command = "swaylock -c 441144";
+ }
+ ];
+ };
+}