Tweaked aliases for sleep and screenoff.

This commit is contained in:
Sheldon Lee 2021-12-01 01:03:31 +08:00
parent db9c183bdd
commit 94945b2298

View File

@ -11,9 +11,9 @@ alias sizes='du -hs .[^.]* * | sort -h'
# bash tree alias
alias gittree="git log --all --decorate --oneline --graph"
# 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"
alias sleep="slock & \sleep 1 ; systemctl suspend"
# screen brightness script
alias brightness="$HOME/.config/wm_scripts/brightness.sh"