From: Silvio Rhatto Date: Sun, 21 Sep 2014 13:52:45 +0000 (-0300) Subject: Random stuff to clipboard on xhibernate and xsuspend X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=42a66832752eb4e93bc32714cd6b5984d8f65872;p=utils-x11.git Random stuff to clipboard on xhibernate and xsuspend --- diff --git a/xhibernate b/xhibernate index de26f1e..181a8d9 100755 --- a/xhibernate +++ b/xhibernate @@ -3,6 +3,7 @@ # Hibernate computer # +echo $RANDOM | xclip xlock sleep 2 sudo s2disk diff --git a/xsuspend b/xsuspend index e1ecd71..0f8c1ed 100755 --- a/xsuspend +++ b/xsuspend @@ -3,6 +3,7 @@ # Activate software suspend # +echo $RANDOM | xclip xlock sleep 2 sudo pm-suspend