lock.sh: slightly clean up i3lock command
This commit is contained in:
parent
6ff1a3a507
commit
07865b69c9
@ -4,14 +4,13 @@ lock() {
|
|||||||
killall -SIGHUP gpg-agent
|
killall -SIGHUP gpg-agent
|
||||||
|
|
||||||
# needs i3lock-color
|
# needs i3lock-color
|
||||||
i3lock --ignore-empty-password --clock --indicator -f --color=222222 \
|
i3lock --ignore-empty-password --clock --indicator --show-failed-attempts \
|
||||||
--verifcolor=eeeeeeee --wrongcolor=eeeeeeee \
|
--color=222222 --verifcolor=eeeeeeee --wrongcolor=eeeeeeee \
|
||||||
--timecolor=eeeeeeee --datecolor=cccccccc \
|
--timecolor=eeeeeeee --datecolor=cccccccc \
|
||||||
--ringcolor=333333ff --line-uses-ring --insidecolor=00000000 \
|
--ringcolor=333333ff --line-uses-ring --insidecolor=00000000 \
|
||||||
--insidewrongcolor=00000000 --insidevercolor=00000000 \
|
--insidewrongcolor=00000000 --insidevercolor=00000000 \
|
||||||
--datestr="%Y-%m-%d $(hostname)" --pass-media-keys
|
--datestr="%Y-%m-%d $(hostname)" \
|
||||||
# will work with normal i3lock
|
--pass-media-keys $@
|
||||||
#i3lock -ec222222 -i /home/adam/.config/i3/LockScreen.png
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
Loading…
Reference in New Issue
Block a user