Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- userresources=$HOME/.Xresources
- usermodmap=$HOME/.Xmodmap
- sysresources=/usr/lib/X11/xinit/.Xresources
- sysmodmap=/usr/lib/X11/xinit/.Xmodmap
- # merge in defaults and keymaps
- if [ -f $sysresources ]; then
- xrdb -merge $sysresources
- fi
- if [ -f $sysmodmap ]; then
- xmodmap $sysmodmap
- fi
- if [ -f $userresources ]; then
- xrdb -merge $userresources
- fi
- if [ -f $usermodmap ]; then
- xmodmap $usermodmap
- fi
- # Start the WMFS status.sh file at startup
- if [ -x $HOME/.config/wmfs/status.sh ]; then
- exec $HOME/.config/wmfs/status.sh &
- fi
- # Start the window manager:
- if [ -x /usr/bin/ck-launch-session ]; then
- LAUNCH="ck-launch-session"
- else
- LAUNCH=""
- fi
- if [ -x /usr/bin/dbus-launch ]; then
- LAUNCH="$LAUNCH dbus-launch"
- fi
- exec $LAUNCH /usr/bin/wmfs &
- wmfspid=$! # wmfs PID
- # Wallpaper
- hsetroot -fill /home/chris/Wallpaper/1024px-Cascadelocks1.png &
- wait $wmfspid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement