Selaa lähdekoodia

Ensure that the screen is locked before it suspends

Samuel W. Flint 6 vuotta sitten
vanhempi
commit
6d5acfefe6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      i3-lock

+ 1 - 0
i3-lock

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