#!/bin/bash
if [ "$1" != "" ] ; then
    cp "$HOME/trash/konqtemplate.template" "$HOME/trash/konqtemplate"
    REPLACEMENTONE="$1"
    sed -i 's\konquerortemplatepanelone\'"$REPLACEMENTONE"'\g' "$HOME/trash/konqtemplate"
  if [ "$2" != "" ] ; then
    REPLACEMENTTWO="$2"
    sed -i 's\konquerortemplatepaneltwo\'"$REPLACEMENTTWO"'\g' "$HOME/trash/konqtemplate"
  fi
else
  echo "You must provide at least one file path!"
  exit
fi

konqueror --profile konqtemplate
