commit e5f59c7dd35392939be58fe134cd38577d974f01 parent db5870e64ed09551a68b576a7a4e7d273427bb80 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 27 Sep 2019 13:55:34 +0200 Configure xlock Diffstat:
M | .Xresources | | | 10 | ++++++++++ |
M | .xsession | | | 8 | +++++++- |
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/.Xresources b/.Xresources @@ -38,3 +38,13 @@ Xft*antialias: true Xft*rgba: rgb Xft*hinting: true Xft*hintstyle: hintslight + +XLock.dpmsoff: 1 +XLock.description: off +XLock.echokeys: off +XLock.info: "This computer belongs to:\nAnders Damsgaard <anders@adamsgaard.dk>" +XLock.background: black +XLock.foreground: white +XLock.mode: blank +XLock.username: username: +XLock.password: password: diff --git a/.xsession b/.xsession @@ -2,5 +2,11 @@ [ -f ~/.config/sh/profile ] && . ~/.config/sh/profile [ -f ~/.config/sh/commands ] && . ~/.config/sh/commands [ -f ~/.xprofile ] && . ~/.xprofile -xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock -mode euler2d" -timeout 300 & +xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock" -timeout 300 & + +# enable trackpoint scrolling +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 + exec dwm