about summary refs log tree commit diff stats
path: root/hm/soispha/conf/swayidle
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/swayidle')
-rw-r--r--hm/soispha/conf/swayidle/config5
-rw-r--r--hm/soispha/conf/swayidle/default.nix29
2 files changed, 0 insertions, 34 deletions
diff --git a/hm/soispha/conf/swayidle/config b/hm/soispha/conf/swayidle/config
deleted file mode 100644
index a48f670b..00000000
--- a/hm/soispha/conf/swayidle/config
+++ /dev/null
@@ -1,5 +0,0 @@
-timeout 180 'swaylock -fF'
-
-timeout 360 'systemctl suspend-then-hibernate'
-
-before-sleep 'swaylock -f'
diff --git a/hm/soispha/conf/swayidle/default.nix b/hm/soispha/conf/swayidle/default.nix
deleted file mode 100644
index 6b8a7d80..00000000
--- a/hm/soispha/conf/swayidle/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{
-  config,
-  pkgs,
-  ...
-}: {
-  xdg.configFile."swayidle/config".source = ./config;
-
-  #  services.swayidle = {
-  #    enable = true;
-  #    events = [
-  #      {
-  #        event = "before-sleep";
-  #        command = "${pkgs.swaylock}/bin/swaylock -f ";
-  #      }
-  #    ];
-  #    timeouts = [
-  #      {
-  #        timeout = 180;
-  #        command = "${pkgs.swaylock}/bin/swaylock -fFu ";
-  #      }
-  #      {
-  #        timeout = 360;
-  #        # TODO: systemctl is installed?
-  #        command = "systemctl suspend-then-hibernate";
-  #      }
-  #    ];
-  #    # systemdTarget = ""; # TODO: this might be usefull
-  #  };
-}