This commit is contained in:
pika 2025-05-22 12:11:45 +02:00
parent e5ddc34813
commit 111026d6f2

View file

@ -241,7 +241,7 @@ __dep__() {
# if ! $arch; then # if ! $arch; then
instPika hyprland instPika hyprland
# else # else
# _install hyprland hypridle hyprshot # pkg-install hyprland hypridle hyprshot
# fi # fi
;; ;;
hyprpanel) hyprpanel)
@ -262,7 +262,7 @@ __dep__() {
if ! command_exists "$hyprdots_dependency"; then if ! command_exists "$hyprdots_dependency"; then
# echo_note "--- installing $hyprdots_dependency ---" # echo_note "--- installing $hyprdots_dependency ---"
spin bold yellow "Installing $hyprdots_dependency.." spin bold yellow "Installing $hyprdots_dependency.."
if run --err err _install "$hyprdots_dependency"; then if run --err err pkg-install "$hyprdots_dependency"; then
check green bold "$hyprdots_dependency was installed" check green bold "$hyprdots_dependency was installed"
else else
throw "$hyprdots_dependency could not get installed" throw "$hyprdots_dependency could not get installed"
@ -299,7 +299,7 @@ pkg_optional() {
echo_note "$_o_ - is already installed" echo_note "$_o_ - is already installed"
else else
echo_info "Installing $_o_" echo_info "Installing $_o_"
_install "$_o_" pkg-install "$_o_"
fi fi
done done
;; ;;
@ -416,7 +416,7 @@ main() {
if ! command_exists stow; then if ! command_exists stow; then
if confirm "We couldn't find stow on the machine, do you want us to install it?"; then if confirm "We couldn't find stow on the machine, do you want us to install it?"; then
_install stow pkg-install stow
else else
pen red bold "You cannot proceed without installing stow! Please install manually" pen red bold "You cannot proceed without installing stow! Please install manually"
exit 1 exit 1