dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 404b8a39dab6948e8ce4e6ad0d8d10d2d202e1e4
parent c6c6790baf9b0c2f270a73d8c5596f5d4f5eaf7e
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Wed, 18 Mar 2020 01:31:08 +0100

Use xscurelock instead of i3lock

Diffstat:
Mi3/.i3/config | 2+-
Ai3/.i3/lock.sh | 9+++++++++
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/i3/.i3/config b/i3/.i3/config @@ -233,6 +233,6 @@ for_window [instance="^matplotlib$"] floating enable for_window [instance="^gnuplot_qt$"] floating enable exec --no-startup-id redshift-gtk -exec --no-startup-id xss-lock -l -- i3lock -n -i ~/.i3/BG.png +exec --no-startup-id xss-lock -l -- ~/.i3/lock.sh exec --no-startup-id feh --no-fehbg --bg-fill ~/.i3/BG.png exec_always --no-startup-id ~/.config/polybar/launch.sh diff --git a/i3/.i3/lock.sh b/i3/.i3/lock.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +export XSECURELOCK_FONT="Fira Mono" +export XSECURELOCK_SAVER=saver_mpv +export XSECURELOCK_PASSWORD_PROMPT=time_hex +export XSECURELOCK_LIST_VIDEOS_COMMAND="echo ~/.i3/BG.png" +export XSECURELOCK_IMAGE_DURATION_SECONDS=inf +export XSECURELOCK_BLANK_TIMEOUT=30 +export XSECURELOCK_AUTH_TIMEOUT=10 +exec xsecurelock