aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxhibernate1
-rwxr-xr-xxsuspend1
2 files changed, 2 insertions, 0 deletions
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