Created
November 18, 2009 13:41
-
-
Save anonymous/237844 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment