summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-12-22 17:46:38 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-12-22 17:50:12 -0700
commit665479b76e32ba1257ad96ef32d207d31fef10fe (patch)
treed9e8dc5f3106d62b84965910c67eab73092e0a90
parent755aaca8860d489eb69ba4dd234d847409003a86 (diff)
downloaddotfiles-665479b76e32ba1257ad96ef32d207d31fef10fe.tar.gz
blank screen shortly after locking to save power
-rw-r--r--.config/i3/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index bd28c092..0cfa31ca 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -45,10 +45,10 @@ bindsym $mod+b exec firefox -new-window
# lock screen -- relies on xss-lock
# note that this won't lock other VTs (lock-session*s* requires root password)
-bindsym $mod+l exec loginctl lock-session
# lock & blank screen -- relies on xss-lock, too
bindsym $mod+Shift+b exec touch ~/local/xtrlock-please-blank, exec loginctl lock-session
+bindsym $mod+l exec loginctl lock-session && sleep 0.5 && xset dpms force standby
# go to sleep -- xss-lock will lock screen
bindsym $mod+Shift+l exec systemctl suspend