commit 1759e88bd6c8f19d1c0276025d7977c2d3ffdf19 parent bd4ed9bbe106512fe0f1acc2e4825f23281167d6 Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Wed, 18 Mar 2020 01:31:29 +0100 Merge branch 'master' into notwobug Diffstat:
| M | i3/.i3/config | | | 2 | +- |
| A | i3/.i3/lock.sh | | | 9 | +++++++++ |
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/i3/.i3/config b/i3/.i3/config @@ -236,6 +236,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