Consolidate some scripts; simplify unneeded logic; take OS as arg

This commit is contained in:
2025-08-28 23:14:42 -05:00
parent d4f05595d2
commit 759958b126
8 changed files with 78 additions and 88 deletions

View File

@@ -1,16 +1,14 @@
# repo containing configs and scripts to set up a box
### script run
- [prerequisites below are fulfilled]
- fulfill prerequisites below
- git clone this repo
- from the repo's root directory, run `./box_setup`
- from the repo's root directory, run `./box_setup <OS name>`
### prerequisites
- package manager is configured (i.e. source repos, mirrors, etc. configured)
- zsh is installed (scripts are written for zsh)
- sudo access is configured for current user (2025-01-27, not needed on macos)
- export the env var `BOX_SETUP_OS` to indicate the operating system
- options defined in `set_script_env_vars` file
- sudo access is configured for current user (as of 2025-01-27, not needed on macos)
- system-specific items below are fulfilled
##### prereqs, os specific, linux-placeholder
@@ -31,18 +29,15 @@
### todo items
- add logic to the main run script to handle cloning of this repo
- add logic to the main run script to set `BOX_SETUP_OS` var, either input param or detect
- config for ghostty
- 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
- config for gimp, `src_files/.config/GIMP` (dir)
- set things in gtkrc only? still need to nest that within a sub dir?
- or maybe just configure in gimp's gui, copy the whole resulting dir into
`src_files/.config/GIMP` (edit out and delete what i don't need) and call it a day
- decide on window manager for linux, then do config
- look into xquartz for macos (x/xorg emulation or something?)
- 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.)
- 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?