Update username to $USER

This commit is contained in:
Ceda EI 2018-08-05 22:37:03 +05:30
parent 8afdc00c1f
commit 5ae739d307
1 changed files with 2 additions and 2 deletions

4
lock
View File

@ -24,7 +24,7 @@ RINGRADIUS=45
source $HOME/i3lock-delta/config source $HOME/i3lock-delta/config
# Pause dunst # Pause dunst
pkill -u ahmad_saalim -USR1 dunst pkill -u $USER -USR1 dunst
# Set the image as used. # Set the image as used.
echo 1 > $HOME/.config/lock_screen.sta echo 1 > $HOME/.config/lock_screen.sta
xset dpms force off xset dpms force off
@ -41,4 +41,4 @@ i3lock -i $HOME/.rand_bg.png -knf --force-clock\
--wrongsize="$RINGTEXTSIZE" --verifsize="$RINGTEXTSIZE" --indicator --timestr="$TIMESTYLE" --wrongsize="$RINGTEXTSIZE" --verifsize="$RINGTEXTSIZE" --indicator --timestr="$TIMESTYLE"
# Resume dunst # Resume dunst
pkill -u ahmad_saalim -USR2 dunst pkill -u $USER -USR2 dunst