This commit is contained in:
pika 2025-05-12 17:18:02 +02:00
parent 329184002a
commit 9c7c7354de

View file

@ -1,12 +1,14 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
packages=( packages=(
"colorscript" "colorscript"
"gbar"
"docker" "docker"
"forgejo-runner" "forgejo-runner"
"ghostty"
"hyprland" "hyprland"
"neovide" "hyprshot"
"rofi"
"neovim" "neovim"
"swww"
"pkgui" "pkgui"
"xmrig" "xmrig"
"yazi" "yazi"
@ -17,7 +19,9 @@ packages=(
_help() { _help() {
echo "Just use _install 'packagename' to install some packages" echo "Just use _install 'packagename' to install some packages"
echo "Available packages are:" echo "Available packages are:"
echo "${packages[@]}" for pkg in "${packages[@]}"; do
echo "° $pkg"
done
} }
_install_func() { _install_func() {
@ -75,6 +79,16 @@ _setup(){
echo "Installing swww" echo "Installing swww"
_install_func "swww" _install_func "swww"
fi fi
if ! command_exists hyprshot; then
echo "Installing hyprshot"
_install_func "hyprshot"
fi
if ! command_exists gBar; then
echo "Installing gBar"
_install_func "gbar"
fi
fi fi
;; ;;
*) *)