Remove unnecessary run options, keep it simple

This commit is contained in:
2025-09-25 13:46:31 -05:00
parent 5f07adee2d
commit 8e59c35cff
3 changed files with 13 additions and 33 deletions

View File

@@ -1,26 +1,21 @@
# dotfiles, plus scripts for box setup # dotfiles, plus scripts for box setup
### prereqs, linux distros ### prereqs
- zsh is installed (scripts are written for zsh) - zsh and git installed
- git clone this repo
#### specific prereqs, linux distros
- sudo access is configured for current user - sudo access is configured for current user
### prereqs, macos #### specific prereqs, macos
- zsh is installed (scripts are written for zsh)
- install the package manager, [homebrew](https://brew.sh/) - install the package manager, [homebrew](https://brew.sh/)
- for aerospace window manager, have only 1 workspace/desktop - for aerospace window manager, have only 1 workspace/desktop
- manual settings, refer to [macos-system-settings](ref/macos-system-settings.txt) - manual settings, refer to [macos-system-settings](ref/macos-system-settings.txt)
### script run ### script run (from repo's root dir)
- if repo present on system, run from the repo's root: - to do the full setup, run: `./box_setup.sh <OS-name>`
- ``` - to copy dotfiles only, run: `./copy_dotfiles.sh`
./box_setup.sh <OS-name> - NOTE: the `copy_dotfiles.sh` script may not work if ENV vars are not set as expected
```
- if repo not present, run:
- ```
curl -LO https://git.drinkingtea.net/david/box-setup/raw/branch/master/box_setup.sh
sh box_setup.sh <OS-name>
```
- then delete the script file afterwards (repo should have been copied to dev dir)
### todo items ### todo items
- choose window manager for linux, then configure - choose window manager for linux, then configure

View File

@@ -13,18 +13,6 @@
exit 0 exit 0
} }
# TODO: test this git stuff, see if it works
temp_placement_git_dir="no"
[[ ! -d ".git" && "$(basename $(pwd))" != "box-setup" ]] && {
temp_placement_git_dir="yes"
git clone "https://git.drinkingtea.net/david/box-setup.git" || {
echo "failed to clone box-setup git repo"
exit 1
}
pushd box-setup > /dev/null
}
# set env vars for installs # set env vars for installs
install_cmd='' install_cmd=''
update_pkg_manager_and_defs_cmd='' update_pkg_manager_and_defs_cmd=''
@@ -61,7 +49,3 @@ source $ZDOTDIR/.zshenv
source $ZDOTDIR/.zshrc source $ZDOTDIR/.zshrc
./install_programs.sh $2 ./install_programs.sh $2
[[ $temp_placement_git_dir == "yes" ]] && {
popd > /dev/null
mv "box-setup" "$DIR_GIT_PROJECTS/me/"
}

View File

@@ -48,7 +48,8 @@ copy_dir src_files/.local/scripts $DIR_SCRIPTS
link_dir "$XDG_CONFIG_HOME/GIMP" "$HOME/Library/Application Support/GIMP" link_dir "$XDG_CONFIG_HOME/GIMP" "$HOME/Library/Application Support/GIMP"
} }
# [[ $1 = "studio-music" ]] && # [[ $1 = "studio-music" ]] {
# [[ "$BOX_SETUP_OS" = "macos" ]] && # [[ "$BOX_SETUP_OS" = "macos" ]] &&
# link_dir "$XDG_CONFIG_HOME/REAPER" "$HOME/Library/Application Support/REAPER" && # TODO: get reaper config set up # link_dir "$XDG_CONFIG_HOME/REAPER" "$HOME/Library/Application Support/REAPER" # TODO: get reaper config set up
# }