wip
This commit is contained in:
parent
329184002a
commit
9c7c7354de
1 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue