#! /bin/sh # Load Xresources xrdb ~/.Xresources # hide mouse coursor when it isn't used unclutter -root -visible & # composition manager compton & # background feh --bg-scale --randomize ~/dotfiles/Images/Walls/* & # [ -e ~/.fehbg ] && source ~/.fehbg # notification dunst -config ~/.dunstrc & # disks automounting udiskie & # Network Manager applet >> /dev/null which nm-applet && nm-applet & >> /dev/null which blueman-applet && blueman-applet & # Start MPD on login [ ! -s ~/.mpd/pid ] && mpd # Start Moc on login [ ! -s ~/.moc/config ] && moc # Launch the VirtualBox guest services VBoxClient-all & # Here Xfce is kept as default session=${1:-i3} case $session in i3|i3wm ) exec i3;; kde ) exec startkde;; xfce|xfce4 ) exec startxfce4;; # No known session, try to run it as command * ) exec $1;; esac # exec i3 # i3-regenerate