From 29acaa9825af4cdbfece2aaf8be75efb14058bff Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 5 Aug 2023 22:09:22 +0900 Subject: chore(home/gui): add comments on swayidle timeout seconds --- home/profiles/gui/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index 32a6d47..9d19a2c 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -124,13 +124,17 @@ in { event = "lock"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; } ]; timeouts = [ + # 4m30s { timeout = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; } + # 5m { timeout = 300; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; } + # 10m { timeout = 600; command = "${pkgs.sway}/bin/swaymsg 'output * dpms off'"; resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; } + # 15m { timeout = 900; command = "${pkgs.systemd}/bin/systemctl suspend"; -- cgit 1.4.1