#!/bin/sh # $Id: startfluxbox.in 4980 2007-07-07 23:11:04Z markt $ # # /usr/bin/startfluxbox # # Called by xinitrc.fluxbox, first it handles command line arguments, # then starts Fluxbox with its log echo "Beginning Fluxbox Start script." command="`basename \"$0\"`" # Handles command line options # This is generally unnecessary since I always start Fluxbox from a script, # which means no command line arguments get passed in while [ $# -gt 0 ]; do case "$1" in -c|--config) if [ $# -lt 2 ]; then echo "$command:error, missing argument" exit 1 fi shift startup=$1 ;; -h|--help) cat <