Parcourir la source

Ensure that the screen is locked before it suspends

Samuel W. Flint il y a 6 ans
Parent
commit
6d5acfefe6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      i3-lock

+ 1 - 0
i3-lock

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