Explorar o código

Ensure that the screen is locked before it suspends

Samuel W. Flint %!s(int64=6) %!d(string=hai) anos
pai
achega
6d5acfefe6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      i3-lock

+ 1 - 0
i3-lock

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