aboutsummaryrefslogtreecommitdiff
path: root/config.in
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-13 10:11:10 -0400
committerGitHub <noreply@github.com>2018-05-13 10:11:10 -0400
commit61aa0937a75d23c0f2a00a8cea52c08bf69164dd (patch)
tree5f2e7817313b657431870862d4059b62bcd2e396 /config.in
parent0c96d757d0d5d1762390dd119cbe344e8781c19f (diff)
parentf40049b5cd8d0274a62399cbdd1f8fd0e7668be3 (diff)
Merge pull request #1824 from snaggen/idle
DPMS and lock handling
Diffstat (limited to 'config.in')
-rw-r--r--config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.in b/config.in
index 54817f2a..4a11762a 100644
--- a/config.in
+++ b/config.in
@@ -29,6 +29,20 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
+### Idle configuration
+#
+# Example configuration:
+#
+#exec swayidle \
+# timeout 300 'swaylock -c 000000' \
+# timeout 600 'swaymsg "output * dpms off"' \
+# resume 'swaymsg "output * dpms on"' \
+# before-sleep 'swaylock -c 000000'
+#
+# This will lock your screen after 300 seconds of inactivity, then turn off
+# your displays after another 600 seconds, and turn your screens back on when
+# resumed. It will also lock your screen before your computer goes to sleep.
+
### Input configuration
#
# Example configuration: