mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-16 05:13:11 +01:00
eeeaa82bc5
This lets us automatically start swaylock on lid close, useful when on the go, although not a replacement for turning off a computer fully.
17 lines
374 B
Markdown
17 lines
374 B
Markdown
# swayidle
|
|
|
|
[swayidle][swayidle] is an idle management daemon for Wayland.
|
|
|
|
## Use Cases
|
|
|
|
swayidle can be used to:
|
|
|
|
- Automatically lock the screen after a period of inactivity
|
|
- Automatically lock the screen on lid close (e.g. on a laptop)
|
|
|
|
You should not use swayidle if:
|
|
|
|
- You don't want to automatically lock the screen.
|
|
|
|
[swayidle]: https://github.com/swaywm/swayidle
|