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 64 lines (49 sloc) 1.421 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 56 57 58 59 60 61 62 63
[ -f "$HOME/.profile" ] && . "$HOME/.profile"

export WM=${1:-xmonad}
export MY_BROWSER=opera
#export GUI_EDITOR=gvim
export UTERM=xterm
export IMG_VIEWER=gpicview

# WMSCRIPTS_DIR is set in ~/.profile
export BROWSER="$WMSCRIPTS_DIR/browser.sh"
EXEC_CMD="xterm"

case $WM in
'fvwm' )
keynav &
#xcompmgr -C -c &
#"$HOME/.fvwm/config.sh"
which fvwm > /dev/null && EXEC_CMD="exec fvwm"
;;

'xmonad' )
which xmonad > /dev/null && EXEC_CMD="exec xmonad"
;;

'e17' )
which enlightenment_start > /dev/null && EXEC_CMD="exec ck-launch-session enlightenment_start"
;;

'dwm' )
xrdb $HOME/.Xdefaults
which dwm > /dev/null && EXEC_CMD="exec dwm"
;;

*)
which $1 > /dev/null && EXEC_CMD="exec $1"
;;

esac

cd "$HOME/src/dot.files" && ./Xdefaults.sh; cd "$HOME" # Update ~/.Xdefaults

eval `"$WMSCRIPTS_DIR/agentCtl.sh" start all`
"$WMSCRIPTS_DIR/screensaverCtl.sh" start

mixer vol 70 pcm 70 &
#urxvtd -q -o -f
nice -n 20 unclutter -noevents &
pidgin &
#workrave &
#nm-applet &
nvidia-settings -l
when --warp=0 --nopaging --monday_first --noampm | exec gxmessage -font "dejavu sans mono" -name when -buttons "_OK" -default '_OK' -file - &
setxkbmap lv
numlockx on
hsetroot -fill $HOME/.wallpaper
xset r rate 250 50 b off dpms 300
$WMSCRIPTS_DIR/screensaverCtl.sh start

[ -f $HOME/msg ] && gxmessage -file $HOME/msg

$EXEC_CMD > $HOME/.xsession-errors 2> $HOME/.xsession-errors

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