master
Daniel Napora 2021-06-01 12:16:09 +02:00
parent b3f53a0571
commit 386f393299
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ cat <<EOF > ${CONFIG_FILE}
# Effect to use: dim, blur, dimblur or pixel # Effect to use: dim, blur, dimblur or pixel
effect=dim effect=dim
# ScreenLocker program: betterlockscreen or i3lock # ScreenLocker program: betterlockscreen or i3lock
screenlocker=betterlockscreen screenlocker=i3lock
EOF EOF
fi fi
@ -23,7 +23,7 @@ lock() {
if [[ $screenlocker == "betterlockscreen" ]]; then if [[ $screenlocker == "betterlockscreen" ]]; then
betterlockscreen -l $effect betterlockscreen -l $effect
else else
i3lock -B 2 -k i3lock -B 2 -k --time-color="337d00ff" --date-color="337d00ff"
fi fi
} }