From 94945b2298271c27625de4112a81073c7c29b7df Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Wed, 1 Dec 2021 01:03:31 +0800 Subject: [PATCH] Tweaked aliases for sleep and screenoff. --- .bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index a97fd17..005d481 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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"