#!/bin/sh
#
# autorun script of wmfs runned by wmfs 
#

# a scritp to log net trafic for status.sh
#zsh $HOME/.config/wmfs/cpu.zsh &

# a second script for log cpu usage in a file for status.sh too
#sh $HOME/.config/wmfs/net.sh &

# ...
if [ -z $(pidof xcompmgr) ]; then
    #xcompmgr -CcFf &
	xcompmgr -c -t-5 -l-5 -r4.2 -o.55 -f &
fi
# for my wallpaper :)
nitrogen --restore &

#numlock 
numlockx &

setxkbmap fr

# for my shells
if [ -z $(pidof urxvtd) ]; then
	urxvtd -q -f -o &
fi

#ncmpcpp
if [ -z $(pidof ncmpcpp) ]; then
	urxvtc -name music -e ncmpcpp &
fi

#irc ratach ... pas de if au pire il détach l'autre ...
urxvtc -name irc -e screen -rd irc &

#conky for cpu and net in my bar ...
touch /tmp/conky
rm -rf /tmp/conky
touch /tmp/conky
(conky -c ~/.conkyrc  >> /tmp/conky ) &


