wip
This commit is contained in:
parent
bd710e4a35
commit
33873365d6
2 changed files with 45 additions and 123 deletions
62
hyprland.sh
62
hyprland.sh
|
@ -76,35 +76,39 @@ askThings() {
|
|||
;;
|
||||
esac
|
||||
|
||||
echo_note "What bar do you want to install? (available: [w]aybar, [h]yprpanel, [g]Bar)"
|
||||
read -r askBar </dev/tty
|
||||
case "$askBar" in
|
||||
[Ww] | waybar)
|
||||
bar="waybar"
|
||||
;;
|
||||
[Hh] | hyprpanel)
|
||||
bar="hyprpanel"
|
||||
;;
|
||||
[Gg] | gBar | gbar)
|
||||
bar="gBar"
|
||||
;;
|
||||
esac
|
||||
echo_info "Set bar to $bar"
|
||||
if ! command_exists waybar && ! command_exists hyprpanel && ! command_exists gBar; then
|
||||
echo_note "What bar do you want to install? (available: [w]aybar, [h]yprpanel, [g]Bar)"
|
||||
read -r askBar </dev/tty
|
||||
case "$askBar" in
|
||||
[Ww] | waybar)
|
||||
bar="waybar"
|
||||
;;
|
||||
[Hh] | hyprpanel)
|
||||
bar="hyprpanel"
|
||||
;;
|
||||
[Gg] | gBar | gbar)
|
||||
bar="gBar"
|
||||
;;
|
||||
esac
|
||||
echo_info "Set bar to $bar"
|
||||
fi
|
||||
|
||||
echo_note "Do you want to install [r]ofi or [t]ofi?: "
|
||||
read -r askRofi </dev/tty
|
||||
case "$askRofi" in
|
||||
[tT] | tofi)
|
||||
menu="tofi"
|
||||
;;
|
||||
[rR] | rofi)
|
||||
menu="rofi"
|
||||
;;
|
||||
*)
|
||||
menu="rofi"
|
||||
;;
|
||||
esac
|
||||
echo_info "Set menu to $menu"
|
||||
if ! command_exists rofi && ! command_exists tofi; then
|
||||
echo_note "Do you want to install [r]ofi or [t]ofi?: "
|
||||
read -r askRofi </dev/tty
|
||||
case "$askRofi" in
|
||||
[tT] | tofi)
|
||||
menu="tofi"
|
||||
;;
|
||||
[rR] | rofi)
|
||||
menu="rofi"
|
||||
;;
|
||||
*)
|
||||
menu="rofi"
|
||||
;;
|
||||
esac
|
||||
echo_info "Set menu to $menu"
|
||||
fi
|
||||
|
||||
echo_note "Doy you want to install sddm with minimal dependency theme? [catppucchin-mocha] (Y/n) :"
|
||||
read -r askSddm </dev/tty
|
||||
|
@ -618,7 +622,7 @@ checkConfig() {
|
|||
main() {
|
||||
if check_root; then
|
||||
askThings
|
||||
if [ "$askHyprland" = "true" ]; then
|
||||
if $askHyprland; then
|
||||
checkDependencies
|
||||
instDeps
|
||||
instTools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue