summaryrefslogtreecommitdiffstats
path: root/xsession
diff options
context:
space:
mode:
Diffstat (limited to 'xsession')
-rw-r--r--xsession33
1 files changed, 29 insertions, 4 deletions
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