Add system-type filters, add git-clone handling to main script

This commit is contained in:
2025-09-06 11:05:21 -05:00
parent 891b605dbe
commit 7f287b591e
23 changed files with 182 additions and 145 deletions

View File

@@ -1,20 +1,11 @@
# dotfiles plus scripts to copy them and also install stuff
# dotfiles, plus scripts for box setup
### script run
- fulfill prerequisites below
- git clone this repo
- from the repo's root directory, run `./box_setup <OS name>`
### prerequisites
- package manager is configured (i.e. source repos, mirrors, etc. configured)
### prereqs, linux distros
- zsh is installed (scripts are written for zsh)
- sudo access is configured for current user (as of 2025-01-27, not needed on macos)
- system-specific items below are fulfilled
- sudo access is configured for current user
##### prereqs, os specific, linux-placeholder
- (currently none)
##### prereqs, os specific, macos
### prereqs, macos
- zsh is installed (scripts are written for zsh)
- install the package manager, [homebrew](https://brew.sh/)
- for yabai window manager (so as to not mess with SIP settings)
- create 9 spaces/desktops
@@ -27,18 +18,24 @@
- `displays have separate spaces`: enabled
- `show files on desktop`: enabled
### script run
- if repo present on system, run from the repo's root:
- ```
./box_setup.sh <OS-name>
```
- 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
- add logic to the main run script to handle cloning of this repo
- config for window manager for linux (first, decide which wm to use)
- config for terminal emulator (currently ghostty)
- config for mpd, mpc, ncmpcpp
- config for mpv
- choose window manager for linux, then configure
- config for: terminal (ghostty); mpd, mpc, ncmpcpp; mpv
- config for gimp, `src_files/.config/GIMP` (dir)
- set things in gtkrc only? still need to nest that within a sub dir?
- or configure in gimp, copy resulting dir to `src_files/.config/GIMP`, call it a day
- maybe build in flags/logic for skipping certain installs/builds (and maybe configs?)
on a given system (i.e. don't install on a company box, on a server, etc.)
- decide on and implement approach for languages and versioning
- asdf, or language-specific version managers?
- docker? or alternatives like podman? any license concerns?
- hybrid of the above?