#!/bin/bash user=sam . get_user cd if [ "$1" = "-n" ]; then NOCOMM=1 shift fi #sudo -u user xhost + #xrandr -s 0 #sudo killall -HUP icewm #xmodmap killq usbstorageapplet-kill remo #xdark 1 0 #white [ -e ~/.motd ] && exec xmessage "`<~/.motd`" & #unclutter -idle 2 & pidof brest || brest & #xmessage 'do something for 247 ads, payday soon!' & nocrap if [ -z "$NOCOMM" ]; then # [ `pgr pingpon | wc -l` = 0 ] && exec pingpon & while true; do ping -c1 google.com && break; sleep 1; done pidof ssh || xterm -e 's sys sys' & pidof mutt || xterm -e 's coms coms' & pidof skype || exec skype & pidof thunderbird-bin || exec thunderbird & mount /n/pi & pidof firefox-bin || exec firefox & # KILL blogplay ; blogplay & # xterm -e "vi ~/calendar" & pidof pidgin || exec pidgin & # pidof irssi || exec xterm -e "s chat irssi" & # pgr chrom || exec chrome 'http://www.facebook.com/home.php?#/home.php?filter=nf' & # pidof opera || exec opera http://www.facebook.com/ & # pidof dillo || exec dillo & # pidof wakoopa || exec wakoopa & # pidof xchat || exec xchat & fi