1
0
Fork 0

update lock script for sway

This commit is contained in:
Massaki Archambault 2019-04-04 19:33:17 -04:00
parent f9ff65c783
commit 7b062201a7
2 changed files with 32 additions and 12 deletions

View File

@ -0,0 +1,30 @@
image=~/.local/share/wallpaper
scaling=fill
color=111111
disable-caps-lock-text
line-uses-ring
indicator-radius=100
indicator-thickness=10
inside-color=00000000
inside-clear-color=00000000
inside-caps-lock-color=00000000
inside-ver-color=00000000
inside-wrong-color=00000000
ring-color=b7bbb7
ring-ver-color=e2995c
ring-clear-color=b04c50
ring-wrong-color=b04c50
separator-color=b7bbb7
key-hl-color=e2995c
bs-hl-color=b04c50
text-color=00000000
text-clear-color=00000000
text-caps-lock-color=00000000
text-ver-color=00000000
text-wrong-color=00000000

View File

@ -13,15 +13,5 @@ query_prop() {
# flush gpg-agent cache # flush gpg-agent cache
echo RELOADAGENT | gpg-connect-agent echo RELOADAGENT | gpg-connect-agent
exec i3lock --image="$HOME/.local/share/wallpaper" --indicator --force-clock --color "$(query_color background)" \ # lock
--veriftext="" --wrongtext="" --noinputtext="" --layoutcolor="00000000" --insidevercolor="00000000" --insidewrongcolor="00000000" --insidecolor="00000000" \ exec swaylock
--ringvercolor="$(query_color primary)FF" --ringwrongcolor="$(query_color error)FF" --ringcolor="$(query_color foreground)FF" \
--keyhlcolor="$(query_color primary)FF" --bshlcolor="$(query_color secondary)FF" \
--modifpos="w:h" \
--separatorcolor="00000000" --line-uses-inside \
--radius=50 --indpos="x+100:h-150" \
--timecolor="00000000" --time-font="$(query_prop font)" --timecolor="$(query_color foreground)FF" --timesize=72 \
--time-align=1 --timepos="ix+r+20:iy+50" --timestr="%H:%M" \
--date-font="$(query_prop font)" --datecolor="$(query_color foreground)FF" --datesize=48 \
--date-align=1 --datepos="tx:ty-70" --datestr="%A, %b %e"