aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-05-24 05:14:31 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-05-24 05:14:31 -0500
commitbc93cfe3c36b9aac919b4cf919cda0f563c49cb6 (patch)
treec669a572f0ac16395eb7202e857946df9c734055
parente966d5328d6f328546db213278d1a1a6cd2f58d5 (diff)
deploy script
-rw-r--r--.gitignore1
m---------env_private0
-rwxr-xr-xrun.sh5
-rwxr-xr-xruns/deploy-env.sh7
-rwxr-xr-xruns/get-reqs-B-current-arch.sh2
5 files changed, 14 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bc9e74d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.env_private
diff --git a/env_private b/env_private
new file mode 160000
+Subproject cfc8c7d0b77a0aeb71286b62bf780e64dd399c1
diff --git a/run.sh b/run.sh
index 4067ab5..698ac27 100755
--- a/run.sh
+++ b/run.sh
@@ -1,4 +1,9 @@
#!/bin/bash
+[ "$ENV_DIR" == "" ] && export ENV_DIR=$HOME
+[ ! -d "$ENV_DIR" ] && echo ENV_DIR DOES NOT EXIST && exit 1
+
+echo ENV_DIR "$ENV_DIR"
+
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)"
diff --git a/runs/deploy-env.sh b/runs/deploy-env.sh
index e69de29..a111027 100755
--- a/runs/deploy-env.sh
+++ b/runs/deploy-env.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
+
+echo DEPLOYING FILES
+cp -r $script_dir/../env/.* "$ENV_DIR"
+[ -d "$script_dir/../env_private/" ] && cp -r $script_dir/../env_private/.* "$ENV_DIR"
+echo -----------------
diff --git a/runs/get-reqs-B-current-arch.sh b/runs/get-reqs-B-current-arch.sh
index 3c38461..b621c99 100755
--- a/runs/get-reqs-B-current-arch.sh
+++ b/runs/get-reqs-B-current-arch.sh
@@ -7,7 +7,7 @@ sudo="sudo"
echo GETTING CURRENT REQS ARCH
-$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam
+$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland
# for vr
$sudo pacman -S cli11 eigen glib2 glib2-devel nlohmann-json patch