mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-06 09:44:25 +00:00
Add scripts
This commit is contained in:
20
bin/lock.sh
Executable file
20
bin/lock.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
letterEnteredColor=00af46ff
|
||||
letterRemovedColor=d23c3dff
|
||||
passwordCorrect=00000000
|
||||
passwordIncorrect=d23c3dff
|
||||
background=00000000
|
||||
foreground=ffffffff
|
||||
i3lock \
|
||||
-t -i "$1" \
|
||||
--timepos="110:h-70" \
|
||||
--datepos="135:h-45" \
|
||||
--clock --datestr "Type password to unlock..." \
|
||||
--insidecolor=$background --ringcolor=$foreground --line-uses-inside \
|
||||
--keyhlcolor=$letterEnteredColor --bshlcolor=$letterRemovedColor --separatorcolor=$background \
|
||||
--insidevercolor=$passwordCorrect --insidewrongcolor=$passwordIncorrect \
|
||||
--ringvercolor=$foreground --ringwrongcolor=$foreground --indpos="x+280:h-70" \
|
||||
--radius=20 --ring-width=4 --veriftext="" --wrongtext="" \
|
||||
--verifcolor="$foreground" --timecolor="$foreground" --datecolor="$foreground" \
|
||||
--noinputtext="" --force-clock $lockargs
|
||||
Reference in New Issue
Block a user