From b4daba18359dfe6a3c3acff9078ed7ef4643a127 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 7 Apr 2012 14:16:13 +0900 Subject: [PATCH] add alias suspend and hibernate --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bashrc b/bashrc index e475211..3930879 100755 --- a/bashrc +++ b/bashrc @@ -93,6 +93,10 @@ alias pu=pushd alias sudo="sudo " # use aliases through sudo alias halt="sudo halt" alias reboot="sudo reboot" +alias suspend="dbus-send --system --print-reply --dest=org.freedesktop.UPower \ + /org/freedesktop/UPower org.freedesktop.UPower.Suspend" +alias hibernate="dbus-send --system --print-reply --dest=org.freedesktop.UPower \ +/org/freedesktop/UPower org.freedesktop.UPower.Hibernate" alias rand="echo \$RANDOM" alias ut="ssh 6365454829@un001.ecc.u-tokyo.ac.jp" alias xunp="file-roller -h"