From 42a66832752eb4e93bc32714cd6b5984d8f65872 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 21 Sep 2014 10:52:45 -0300 Subject: Random stuff to clipboard on xhibernate and xsuspend --- xhibernate | 1 + xsuspend | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3