From 2e8d97e5fad0f714d676803ff4edffb8a188e0b2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 7 Sep 2020 18:36:10 +0100 Subject: a big bag of update --- xsession | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) (limited to 'xsession') diff --git a/xsession b/xsession index 701eb9b..0c50c65 100644 --- a/xsession +++ b/xsession @@ -1,4 +1,29 @@ -xset s off # don't activate screensaver -xset -dpms # disable DPMS (Energy Star) features. -xsetroot -solid "#333333" -xset b off # stop the fucking beep +# much from https://www.c0ffee.net/blog/openbsd-on-a-laptop/#initial-configuration + +export LANG=en_GB.UTF-8 +#export ENV=$HOME/.kshrc +xrdb -merge $HOME/.Xresources +xidle & +. ~/.profile +xset -b + +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent + +#PS1='$PWD# ' +#export LSCOLORS=fxexcxdxbxegedabagacad +# this value from the colorls man page +export LSCOLORS=exfxcxdxbxegedabagacad + +# if you have a ThinkPad, the following lines enable TrackPoint +# scrolling by dragging with the middle button. +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 + +xsetroot - solid dimgray + +alias ls='colorls -G' +#alias vi=nvim +exec i3 -- cgit v1.2.3