Skip to content

Instantly share code, notes, and snippets.

Created November 18, 2009 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/237844 to your computer and use it in GitHub Desktop.
Save anonymous/237844 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Load resources
xrdb -merge .Xresources
xsetroot -cursor_name left_ptr
# Set up an icon tray
trayer --edge top --align right --SetDockType true --SetPartialStrut true \
--expand true --width 10 --transparent true --tint 0x191970 --height 10 &
# Set the background
feh --bg-scale /home/bzs/.wallPapers/desktop.jpg &
#
#
# Fire up apps
#
if [ -x /usr/bin/wicd-client ] ; then
wicd-client &
fi
#
if [ -x /usr/bin/gnome-power-manager ] ; then
sleep 3
gnome-power-manager
fi
#
xrandr -q | grep -q VGA
if [[ $? -eq 0 ]] ; then
xrandr --output LVDS --mode 1024x576
xrandr --output VGA --mode 1280x1024
xrandr --output LVDS --off
fi
exec xmonad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment