Adde alias for locking and sleeping.

This commit is contained in:
sheldonmlee 2021-10-22 00:12:41 +08:00
parent 73043dc97f
commit 7efe56c4b6

View File

@ -12,6 +12,8 @@ alias sizes='du -hs .[^.]* * | sort -h'
alias gittree="git log --all --decorate --oneline --graph" alias gittree="git log --all --decorate --oneline --graph"
# turn screen off # turn screen off
alias screenoff="sleep 1; xset dpms force off" alias screenoff="sleep 1; xset dpms force off"
# sleep
alias sleep="slock & systemctl suspend"
# screen brightness script # screen brightness script
alias brightness="$HOME/.config/wm_scripts/brightness.sh" alias brightness="$HOME/.config/wm_scripts/brightness.sh"