🔧 chore(install): update install script - use git repo URL and adjust install dir/packages
This commit is contained in:
1 file changed
+8
-9
+8
-9
@@ -17,15 +17,15 @@ set -e # Exit immediately if a command exits with a non-zero status
|
|||||||
set -u # Treat unset variables as an error
|
set -u # Treat unset variables as an error
|
||||||
set -o pipefail # Prevent errors in a pipeline from being masked
|
set -o pipefail # Prevent errors in a pipeline from being masked
|
||||||
|
|
||||||
REPO_URL="https://github.com/S4NKALP/Modus"
|
REPO_URL="https://github.com/S4NKALP/Modus.git"
|
||||||
INSTALL_DIR="$HOME/Modus"
|
INSTALL_DIR="$HOME/.config/Modus"
|
||||||
|
|
||||||
PACKAGES=(
|
PACKAGES=(
|
||||||
fabric-cli-git
|
fabric-cli-git
|
||||||
cava
|
cava
|
||||||
cliphist
|
cliphist
|
||||||
gnome-bluetooth-3.0
|
gnome-bluetooth-3.0
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
slurp
|
slurp
|
||||||
ffmpeg
|
ffmpeg
|
||||||
grimblast
|
grimblast
|
||||||
@@ -35,9 +35,9 @@ PACKAGES=(
|
|||||||
imagemagick
|
imagemagick
|
||||||
libnotify
|
libnotify
|
||||||
matugen-bin
|
matugen-bin
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
nvtop
|
nvtop
|
||||||
playerctl
|
playerctl
|
||||||
python-fabric-git
|
python-fabric-git
|
||||||
python-gobject
|
python-gobject
|
||||||
python-pillow
|
python-pillow
|
||||||
@@ -127,11 +127,10 @@ else
|
|||||||
echo "All required packages are up-to-date."
|
echo "All required packages are up-to-date."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
python "$INSTALL_DIR/config/config.py"
|
python "$INSTALL_DIR/config/config.py"
|
||||||
echo "Starting Modus..."
|
echo "Starting Modus..."
|
||||||
killall modus 2>/dev/null || true
|
killall modus 2>/dev/null || true
|
||||||
uwsm app -- python "$INSTALL_DIR/main.py" > /dev/null 2>&1 & disown
|
uwsm app -- python "$INSTALL_DIR/main.py" >/dev/null 2>&1 &
|
||||||
|
disown
|
||||||
|
|
||||||
echo "Installation complete!"
|
echo "Installation complete!"
|
||||||
Reference in new issue
Block a user