Commit 2f27d984 authored by Frank Terbeck's avatar Frank Terbeck

Add xsession configuration file

Still rough, but this looks similar on all my machines. So it makes sense to
finally track it.
parent d04e3579
......@@ -4,7 +4,7 @@
#set_opt 'dryrun', 'true';
#set_opt 'verbose', 'true';
register { glob => 'cfg/{Xresources,XCompose,seldo.conf}',
register { glob => 'cfg/{xsession,Xresources,XCompose,seldo.conf}',
method => 'symlink',
transform => \&makedotfile,
destination => '~/' };
......
# Default path
PATH="$HOME/bin:/opt/emacs/bin:/usr/local/bin:$PATH"
export PATH
# Video Acceleration
LIBVA_DRIVER_NAME=iHD
export LIBVA_DRIVER_NAME
GST_VAAPI_ALL_DRIVERS=1
export GST_VAAPI_ALL_DRIVERS
# Encryption key agents
eval $(keychain --eval --agents ssh,gpg)
# Early program startup
tmux -f "$HOME/etc/tmux/startup.conf" start-server
# X11 configuration
xrdb -load "$HOME/.Xresources"
xset r rate 250 50
xset dpms 1200 1800 2400
xset s off
xset m 1/1 0
xinput set-float-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.2
xsetroot -cursor_name left_ptr
xsetroot -solid black
# Keyboard setup
xkbdir="$HOME/.xkb"
xkbcomp -I"${xkbdir}" "${xkbdir}/ft.xkb" "$DISPLAY"
# Late program startup
if test -r ~/.xmobarrc.bottom; then
xmobar ~/.xmobarrc.bottom &
fi
# Finally, a window manager.
exec xmonad
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment