set -e
force=false
-alterlive=false
+fascodelive=false
simulation=false
bookmark_file="${HOME}/.config/gtk-3.0/bookmarks"
echo
echo " General options:"
echo " -f | --force Force overwriting"
- echo " -s | --simulation Enable sumulation"
+ echo " -s | --simulation Enable simulation"
echo " -h | --help This help message and exit"
echo
echo " General command:"
# Argument analysis and processing
options="${@}"
_opt_short="fhts"
-_opt_long="force,help,alterlive,t-mart,simulation"
+_opt_long="force,help,fascodelive,t-mart,takebayashi,simulation"
OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- "${@}")
if [[ ${?} != 0 ]]; then
exit 1
shift 1
exit 0
;;
- --alterlive)
- alterlive=true
+ --fascodelive)
+ fascodelive=true
shift 1
;;
- -t | --t-mart)
+ --t-mart)
+
echo "さすが店長、青春ブタ野郎だね"
shift 1
exit 0
;;
+ --takebayashi)
+
+ echo "チノちゃんかわいい最高!!"
+ shift 1
+ exit 0
+ ;;
+ -t)
+ if [[ "$(basename $0)" == "alterlinux-gtk-bookmarks" ]]; then
+ echo "さすが店長、青春ブタ野郎だね"
+ else
+ echo "チノちゃんかわいい最高!!"
+ fi
+ shift 1
+ exit 0
+ ;;
+
--)
shift
break
;;
esac
-if [[ "${alterlive}" = true ]]; then
+if [[ "${fascodelive}" = true ]]; then
remove "${HOME}/.config/autostart/gensidebar.desktop"
fi