Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------------------------------------------------------
- # .xinitrc
- #
- # Created by /usr/share/antiX/lib/make-xinitrc
- # on 7 February 2013 @ 17:03:42 EST
- # Please add any modifications to .xinitrc-custom and not this file.
- # This file will be re-written by update-default-desktop. The
- # DEFAULT_DESKTOP line will be edited by antiX-init.sh if you use
- # a "desktop=xxx" boot parameter.
- #----------------------------------------------------------------------
- [ -x ~/.xinitrc-custom ] && ~/.xinitrc-custom
- [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
- DEFAULT_DESKTOP="wmfs"
- export DESKTOP_CODE="$(echo "${1:-$DEFAULT_DESKTOP}" | tr "[A-Z]" "[a-z]")"
- mkdir -p $HOME/.wallpaper
- echo "$DESKTOP_CODE" > $HOME/.wallpaper/session
- case "$DESKTOP_CODE" in
- "fluxbox")
- exec /usr/bin/startfluxbox
- ;;
- "jwm")
- exec /usr/bin/jwm
- ;;
- "wmfs")
- ./wmfs.sh
- exec wmfs
- ;;
- *)
- exec wmfs
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment