dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 39eb0da822e1c9e58a5b3525d787009d400f4031 (patch)
parent a177c3f8963952ee8629a670ab46013fa25f4e21
Author: Alex Karle <alex@alexkarle.com>
Date:   Thu, 30 Dec 2021 11:59:32 -0500

X11: Lock screen on 5m of idle use

Currently only supported for OpenBSD, since it hardcodes the path
to xlock.

Diffstat:
M.xinitrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.xinitrc b/.xinitrc @@ -24,6 +24,9 @@ if [ $(uname) = "OpenBSD" ]; then # Prefer UTF-8 in X for unicode character support export LC_CTYPE="en_US.UTF-8" + # Lock on 5m idle + xidle -program "/usr/X11R6/bin/xlock" -timeout 300 & + # xenodm handles ssh-agent for us exec cwm else