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
packages=(
"colorscript"
"gbar"
"docker"
"forgejo-runner"
"ghostty"
"hyprland"
"neovide"
"hyprshot"
"rofi"
"neovim"
"swww"
"pkgui"
"xmrig"
"yazi"
@ -17,7 +19,9 @@ packages=(
_help() {
echo "Just use _install 'packagename' to install some packages"
echo "Available packages are:"
echo "${packages[@]}"
for pkg in "${packages[@]}"; do
echo "° $pkg"
done
}
_install_func() {
@ -75,6 +79,16 @@ _setup(){
echo "Installing swww"
_install_func "swww"
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
;;
*)