wip
This commit is contained in:
parent
1c77bb58e3
commit
ac0482bf7e
3 changed files with 35 additions and 25 deletions
30
hyprland.sh
30
hyprland.sh
|
@ -248,17 +248,21 @@ main() {
|
|||
checkConfig
|
||||
}
|
||||
|
||||
if getImports; then
|
||||
case "$1" in
|
||||
--silent | -s)
|
||||
echo_info "Executing main silently.."
|
||||
silent=true
|
||||
;;
|
||||
*) silent=false ;;
|
||||
esac
|
||||
fi
|
||||
setup() {
|
||||
if getImports; then
|
||||
case "$@" in
|
||||
--silent | -s)
|
||||
echo_info "Executing script silently.."
|
||||
silent=true
|
||||
;;
|
||||
*) silent=false ;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
checkEnv
|
||||
askThings
|
||||
main
|
||||
instCustom
|
||||
if setup "$@"; then
|
||||
checkEnv
|
||||
askThings
|
||||
main
|
||||
instCustom
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue