BASHrc Upgrades, Backup Script, DWM Enhancements, Hugo Helpers, Branch Controls #7

Merged
me merged 112 commits from dev into main 2025-12-01 09:50:55 -07:00
Showing only changes of commit cfc2694737 - Show all commits

View File

@@ -132,12 +132,15 @@ echo "Installed!"
if [[ -n "$create_general" && ! -f "$general_config" ]]; then if [[ -n "$create_general" && ! -f "$general_config" ]]; then
function print_general_contents { function print_general_contents {
cat <<- EOF cat <<- EOF
; TEST DATA
enable=true enable=true
user=test user=test
user_desc=Test user_desc=Test
branch=$branch branch=$branch
; TEST DATA
EOF EOF
} }
print_general_contents # FORTEST
print_general_contents > "$general_config" print_general_contents > "$general_config"
ls -lh "$general_config" ls -lh "$general_config"
cat "$general_config" cat "$general_config"
@@ -145,12 +148,15 @@ fi
if [[ -n "$create_workstation" && ! -f "$workstation_config" ]]; then if [[ -n "$create_workstation" && ! -f "$workstation_config" ]]; then
function print_workstation_contents { function print_workstation_contents {
cat <<- EOF cat <<- EOF
; TEST DATA
enable=true enable=true
coding=true coding=true
editing=false editing=false
gaming=false gaming=false
; TEST DATA
EOF EOF
} }
print_workstation_contents # FORTEST
print_workstation_contents > "$workstation_config" print_workstation_contents > "$workstation_config"
ls -lh "$workstation_config" ls -lh "$workstation_config"
cat "$workstation_config" cat "$workstation_config"
@@ -158,9 +164,12 @@ fi
if [[ -n "$create_server" && ! -f "$server_config" ]]; then if [[ -n "$create_server" && ! -f "$server_config" ]]; then
function print_server_contents { function print_server_contents {
cat <<- EOF cat <<- EOF
; TEST DATA
enable=true enable=true
; TEST DATA
EOF EOF
} }
print_server_contents # FORTEST
print_server_contents > "$server_config" print_server_contents > "$server_config"
ls -lh "$server_config" ls -lh "$server_config"
cat "$server_config" cat "$server_config"