Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 56 lines (46 sloc) 1.603 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
lang="en_GB.UTF-8"
LANG=$lang
export LANG

export BROWSER=opera
#export BROWSER=firefox
export EDITOR=vim

# gnuplot needs this
export GDFONTPATH=/usr/local/lib/X11/fonts/webfonts/

export UTERM=/usr/local/bin/urxvtc
export VIMRUNTIME=/usr/local/share/vim/vim73

export PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin

pkill ssh-agent
pkill gpg-agent

WM=fvwm
if [ $WM = 'fvwm' -o $WM = 'xmonad' ]; then
$HOME/.fvwm/bin/man_cache.sh &
setxkbmap lv
xset r rate 250 50 b off
urxvtd -q -o -f
eval `ssh-agent`
eval `gpg-agent --daemon`
hsetroot -fill "$HOME/.wallpaper"
numlockx on
pidgin &
xscreensaver -no-splash &
#workrave &
#libreoffice -quickstart -nologo -nodefault &
#nm-applet &
nvidia-settings -l
when | gxmessage -center -font "dejavu sans mono" -name when -file - &
fi

if [ $WM = 'fvwm' ]; then
conky -x 1000 -y -0 -q -d
trayer --edge bottom --align right --margin 0 --widthtype request --transparent true --alpha 255 --expand true --tint 000000 --height 16 &
#stalonetray --window-type normal -t --grow-gravity SE --max-geometry 3x3 -geometry 1x1-0-0 --icon-gravity SE &
$HOME/.fvwm/config.sh
which fvwm > /dev/null && exec fvwm > $HOME/.xsession-errors 2> $HOME/.xsession-errors
elif [ $WM = 'xmonad' ]; then
xrdb $HOME/.Xdefaults
xsetroot -cursor_name left_ptr
trayer --edge top --align right --SetDockType true --expand true --width 10 --transparent true --alpha 0 --tint 0x3D3D3D --height 16 &
which xmonad > /dev/null && exec xmonad
fi

# fallback
exec xterm

# vim: set ts=4 sw=4 syntax=sh nowrap:
Something went wrong with that request. Please try again.