git.fiddlerwoaroof.com
scripts/startmonad
a0d71cd9
 #!/bin/zsh
e87bc417
 
a0d71cd9
 export PATH=$HOME/bin:$PATH
e87bc417
 #export LD_LIBRARY_PATH=/home/edwlan/gtk-git/inst/lib/:/home/edwlan/lib:$LD_LIBRARY_PATH
 export LD_LIBRARY_PATH=/home/edwlan/lib:$LD_LIBRARY_PATH
907e4c93
 #xrandr --output HDMI-0 --mode 1920x1200 --left-of VGA-0
 #xrandr --output HDMI-0 --primary
 #xrandr --output VGA-0 --mode 1024x768
 
a0d71cd9
 # Load resources
907e4c93
 
a0d71cd9
 xrdb -merge $HOME/.Xresources
907e4c93
 xmodmap $HOME/.xmodmap
a0d71cd9
 
 # Set the background color<
907e4c93
 
a0d71cd9
 xsetroot -solid black
 xsetbg $HOME/.xmonad/cheatsheet.png
70e8006a
 if [ -e $HOME/Pictures/background.png ]; then
e87bc417
   xloadimage -onroot -quiet $HOME/Pictures/background.png
a0d71cd9
 fi
70e8006a
 
e87bc417
 init () {
   #conky -bd -a middle_left &
a0d71cd9
 
e87bc417
   xscreensaver -no-splash &
907e4c93
 
a0d71cd9
 
e87bc417
   # Set up an icon tray
   #trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x000000 --height 17 &
70e8006a
 
e87bc417
   #synergy
   #synergys
907e4c93
 
e87bc417
   # notifications
a0d71cd9
 
e87bc417
   dunst &
a0d71cd9
 
e87bc417
   # dropbox
a0d71cd9
 
e87bc417
   dropbox start &
   btsync
a0d71cd9
 
e87bc417
   # notes
a0d71cd9
 
e87bc417
   tomboy &
907e4c93
 
e87bc417
   # mixer
a0d71cd9
 
e87bc417
   qasmixer -t &
a0d71cd9
 
e87bc417
   # Fire up apps
907e4c93
 
e87bc417
   SHAIRPORT=$HOME/github_repos/shairport/shairport 
   if [[ -x $SHAIRPORT ]]; then
     $SHAIRPORT -a srv2 -o pulse -d | swap_variable SHAIRPORT_PID
   fi
a0d71cd9
 
e87bc417
   #sonata --hidden &
a0d71cd9
 
e87bc417
   if [[ -x /usr/bin/nm-applet ]] ; then
     nm-applet --sm-disable &
   fi
907e4c93
 
e87bc417
   gnome-settings-daemon &
 
 }
 
 ( init ) &
907e4c93
 
 eval `gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh`
 export GNOME_KEYRING_CONTROL
 export SSH_AUTH_SOCK
 export GPG_AGENT_INFO
 export GNOME_KEYRING_PID
 
e87bc417
 exec /home/edwlan/bin/stumpwm
907e4c93
 #exec xmonad