]> gitweb.fluxo.info Git - scripts.git/commitdiff
Sleep after xlock on suspend/hibernate
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jun 2014 02:38:59 +0000 (23:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jun 2014 02:38:59 +0000 (23:38 -0300)
xhibernate
xsuspend

index 1f0d8bf2eb9537de9bdff2fcb01687304dfc2ef1..de26f1eb7f623e3232d34b7711e40c8f8484cf5f 100755 (executable)
@@ -4,4 +4,5 @@
 #
 
 xlock
+sleep 2
 sudo s2disk
index 7eea259b253dcf19fd70cd453153968ec6aa6e67..e1ecd71cef5b6e60bc14d06e24cc9ae465f12cb4 100755 (executable)
--- a/xsuspend
+++ b/xsuspend
@@ -4,4 +4,5 @@
 #
 
 xlock
+sleep 2
 sudo pm-suspend