lock.sh: slightly clean up i3lock command

This commit is contained in:
Adam Goldsmith 2018-06-22 01:13:44 -04:00
parent 6ff1a3a507
commit 07865b69c9
1 changed files with 4 additions and 5 deletions

View File

@ -4,14 +4,13 @@ lock() {
killall -SIGHUP gpg-agent
# needs i3lock-color
i3lock --ignore-empty-password --clock --indicator -f --color=222222 \
--verifcolor=eeeeeeee --wrongcolor=eeeeeeee \
i3lock --ignore-empty-password --clock --indicator --show-failed-attempts \
--color=222222 --verifcolor=eeeeeeee --wrongcolor=eeeeeeee \
--timecolor=eeeeeeee --datecolor=cccccccc \
--ringcolor=333333ff --line-uses-ring --insidecolor=00000000 \
--insidewrongcolor=00000000 --insidevercolor=00000000 \
--datestr="%Y-%m-%d $(hostname)" --pass-media-keys
# will work with normal i3lock
#i3lock -ec222222 -i /home/adam/.config/i3/LockScreen.png
--datestr="%Y-%m-%d $(hostname)" \
--pass-media-keys $@
}
case "$1" in