dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 823f56ce4a12a28e8cf750374aeccce358c9dd9b
parent 0e65ea07b65e657113e075dec3a3deaee4516678
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  2 Jan 2020 12:47:14 +0100

Lock iddqd with xtrlock

Diffstat:
M.xsession | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.xsession b/.xsession @@ -1,7 +1,12 @@ #!/bin/sh [ -f ~/.profile ] && . ~/.profile [ -f ~/.xprofile ] && . ~/.xprofile -xidle -program "/usr/local/bin/slock" -timeout 300 & + +if [ "$(hostname)" = "iddqd" ]; then + xidle -program "/bin/xtrlock -b none" -timeout 300 & +else + xidle -program "/usr/local/bin/slock" -timeout 300 & +fi # enable trackpoint scrolling xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1