summaryrefslogtreecommitdiffstats
path: root/xsession
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-09-07 18:36:10 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-09-07 18:36:10 +0100
commit2e8d97e5fad0f714d676803ff4edffb8a188e0b2 (patch)
treeb10ed0265ae5323382485af2edb1ff15cb822659 /xsession
parent66967089a03243a9392b4a7455c4a98a4f729ee3 (diff)
a big bag of update
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