Browse Source

Ensure that the screen is locked before it suspends

Samuel W. Flint 6 years ago
parent
commit
6d5acfefe6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      i3-lock

+ 1 - 0
i3-lock

@@ -26,6 +26,7 @@ case ${1} in
         ;;
     suspend)
         i3-lock lock
+        sleep 1
         systemctl suspend
         ;;
     *)