From 852ea2ed6eb2ed6938f426033a4f6b5f7f30584d Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Sat, 14 Oct 2017 11:05:58 -0400 Subject: [PATCH] Added power commands. --- .bash_aliases | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index 1126261..14f01c8 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -2,6 +2,9 @@ alias bs="xmodmap -e \"clear Lock\"" alias c="clear" shopt -s dotglob +alias reb="sudo shutdown -r 0" +alias sd="sudo shutdown 0" +alias slp="systemctl suspend" # directories alias cdr="cd ~/../../" @@ -14,7 +17,7 @@ alias lab="cd ~/258/258-labs-self" # bash alias vb="vim ~/.bash_aliases" -alias reb=". ~/.bashrc" +alias rba=". ~/.bashrc" # git . ~/.secure @@ -25,3 +28,7 @@ alias vig="vi .gitignore" alias ga="git add *" alias gai="git add .gitignore" +# redshift +rs(){ + redshift -O $1 +}