Swayidle: Difference between revisions
Add Swayidle |
mNo edit summary |
||
| Line 17: | Line 17: | ||
# Turn off the screen (Note that the command may differ among window managers) | # Turn off the screen (Note that the command may differ among window managers) | ||
# Suspend the system | # Suspend the system | ||
which could be set using {{ic|services.swayidle.timeouts}}. | |||
{{ic|services.swayidle.events}} is useful in case commands such as {{ic|systemctl suspend}} are manually run. | |||
{{file|~/.config/home-manager/home.nix|nix|3= | {{file|~/.config/home-manager/home.nix|nix|3= | ||