From: Maximilian Friedersdorff Date: Fri, 14 May 2021 08:00:42 +0000 (+0100) Subject: Suspend on inactivity? X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=482da1962c8d61c9cd7f3cadbf0dcbb84b05d92b;p=max%2Fsaltfiles.git Suspend on inactivity? --- diff --git a/states/i3/files/config.jinja b/states/i3/files/config.jinja index d35f003..d0932eb 100644 --- a/states/i3/files/config.jinja +++ b/states/i3/files/config.jinja @@ -41,6 +41,7 @@ font pango:monospace 10 # The combination of xss-lock, nm-applet and pactl is a popular choice, so # they are included here as an example. Modify as you see fit. +exec xset dpms 300 600 0 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -i ~/Pictures/lockscreen_full_blurred_1.png --nofork