#!/bin/sh polystart="false" while getopts 'b' flag; do case "${flag}" in b) polystart="true" ;; *) exit 1 ;; esac done screensetup.sh nitrogen --restore if [ "$polystart" = "true" ]; then polystart & fi