diff options
-rwxr-xr-x | xhibernate | 7 | ||||
-rwxr-xr-x | xsuspend | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -3,7 +3,14 @@ # Hibernate computer # +# Avoid sensitive stuff to remain on clipboard echo $RANDOM | xclip + +# Lock the screen xlock + +# Wait sleep 2 + +# Hibernate sudo s2disk @@ -3,7 +3,14 @@ # Activate software suspend # +# Avoid sensitive stuff to remain on clipboard echo $RANDOM | xclip + +# Lock the screen xlock + +# Wait sleep 2 + +# Suspend sudo pm-suspend |