This commit is contained in:
pika 2025-05-12 15:55:43 +02:00
parent 1c77bb58e3
commit ac0482bf7e
3 changed files with 35 additions and 25 deletions

View file

@ -104,8 +104,9 @@ generic() {
setup() {
if getImports; then
case "$1" in
case "$@" in
--silent | -s)
echo_warning "Executing script silently.."
silent=true
;;
*)
@ -115,7 +116,7 @@ setup() {
fi
}
if setup; then
if setup "$@"; then
case "$distro" in
arch | opensuse) _install zellij ;;
*) generic ;;