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 352695553539f0bbd16a29a20506fe4321a86b0f
parent 0f12247e0c9677d6c5fa014975e5b22bd34c6379
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  2 Jan 2020 20:29:57 +0100

Start X locker in .xprofile

Diffstat:
M.xprofile | 4+++-
M.xsession | 6------
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/.xprofile b/.xprofile @@ -21,9 +21,11 @@ fi [ ! "$(uname)" = "OpenBSD" ] && xset m 1/4 0 || : xset r rate 300 50 # key repeat rate ([delay in ms] [repeats per sec]) -# auto-start programs dunst & dwmstatus & if [ "$(hostname)" = iddqd ]; then evolution >/dev/null 2>&1 & + xautolock -time 20 -locker "/bin/xtrlock -b none" & +else + xidle -program "/usr/local/bin/slock" -timeout 300 & fi diff --git a/.xsession b/.xsession @@ -2,12 +2,6 @@ [ -f ~/.profile ] && . ~/.profile [ -f ~/.xprofile ] && . ~/.xprofile -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 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2