diff --git a/.bash_extra b/.bash_extra index e8a1350..9a16e9b 100644 --- a/.bash_extra +++ b/.bash_extra @@ -246,3 +246,4 @@ alias suspend="~/dotfiles/scripts/pwr.sh -sd" alias hibernate="~/dotfiles/scripts/pwr.sh -hb" alias restart="~/dotfiles/scripts/pwr.sh -r" alias shutdown="~/dotfiles/scripts/pwr.sh -s" +alias reboot="~/dotfiles/scripts/pwr.sh -r" diff --git a/scripts/pwr.sh b/scripts/pwr.sh index 8e59cd5..c0e36b8 100755 --- a/scripts/pwr.sh +++ b/scripts/pwr.sh @@ -46,23 +46,23 @@ function display_off { if [[ -n "$1" ]]; then case "$1" in --reboot | -r) - sleep 3 dunstify -u critical "reboot" + sleep 3 reboot ;; --shutdown | -s) - sleep 3 dunstify -u critical "shutdown" + sleep 3 shutdown ;; --suspend | -sd) - sleep 3 dunstify -u critical "suspend" + sleep 3 suspend ;; --hibernate | -hb) - sleep 3 dunstify -u critical "hibernate" + sleep 3 hibernate ;; --help | -h)