whiptail broken, switching to dialog

This commit is contained in:
MatMoul 2022-11-10 22:27:23 +01:00
parent 9ea10f0a39
commit 9220c64780
106 changed files with 191 additions and 191 deletions

View file

@ -6,7 +6,7 @@ options+=("Users" "")
options+=("Sudoers" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Accounts Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Accounts Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("" "")
options+=("Edit /etc/sudoers" "")
defaultitem="Add sudoer"
sel=$(whiptail --backtitle "$apptitle" --title "Sudoers Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Sudoers Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -24,7 +24,7 @@ case $sel in
for itm in $users; do
userlist+=("$itm" "")
done
sel=$(whiptail --backtitle "$apptitle" --title "Add sudoer :" --menu "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Add sudoer :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${userlist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -39,7 +39,7 @@ case $sel in
sudoerlist+=("$itm" "")
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Edit sudoer :" --menu "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Edit sudoer :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${sudoerlist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -54,7 +54,7 @@ case $sel in
sudoerlist+=("$itm" "")
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Delete sudoer :" --menu "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Delete sudoer :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${sudoerlist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then

View file

@ -7,7 +7,7 @@ options+=("List Users" "")
options+=("Delete User" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Users Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Users Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -22,7 +22,7 @@ case $sel in
read -n1 -p "press a key to continue"
;;
'Add User')
username=$(whiptail --backtitle "$apptitle" --title "Add User" --inputbox "Enter the new user name :" 0 0 3>&1 1>&2 2>&3)
username=$(dialog --backtitle "$apptitle" --title "Add User" --inputbox "Enter the new user name :" 0 0 3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
useradd -d /home/$username -s /bin/bash -m -N $username
clear
@ -36,7 +36,7 @@ case $sel in
fi
;;
'Delete User')
username=$(whiptail --backtitle "$apptitle" --title "Delete User" --inputbox "Enter the user name to delete :" 0 0 3>&1 1>&2 2>&3)
username=$(dialog --backtitle "$apptitle" --title "Delete User" --inputbox "Enter the user name to delete :" 0 0 3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
userdel -r -f $username
grpck

View file

@ -41,7 +41,7 @@ if [ -f /usr/bin/yaourt ]; then
options+=("yaourt(3)" "yaourt --color" off)
fi
sel=$(whiptail --backtitle "$apptitle" --title "Aliases in /etc/profile.d/alias.sh :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Aliases in /etc/profile.d/alias.sh :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -16,7 +16,7 @@ if [ -f /usr/bin/edit ]; then
fi
options+=("unset" "")
editor=$(whiptail --backtitle "$apptitle" --title "Default global editor :" --menu "" --cancel-button "Back" 0 0 0 \
editor=$(dialog --backtitle "$apptitle" --title "Default global editor :" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -8,7 +8,7 @@ options+=("/etc/profile.d/ps1.sh" "")
options+=("Update .bashrc" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Bash Configuration :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Bash Configuration :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("Minimal" "/home #")
options+=("User" "user:/home #")
options+=("User and Hostname" "user@hostname:/home #")
sel=$(whiptail --backtitle "$apptitle" --title "Bash PS Configuration :" --menu "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Bash PS Configuration :" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("config" "/etc/default/grub")
options+=("grub-mkconfig" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Grub Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Grub Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("Config" "/etc/mkinitcpio.conf")
options+=("mkinicpio" "")
defaultitem="Config"
sel=$(whiptail --backtitle "$apptitle" --title "Initcpio Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Initcpio Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -22,7 +22,7 @@ case $sel in
for itm in $configs; do
options+=("${itm::-7}" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "Choose configs :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Choose configs :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -17,7 +17,7 @@ if [ -f /boot/syslinux/syslinux.cfg ]; then
fi
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Boot Configuration :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Boot Configuration :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -14,7 +14,7 @@ else
fi
defaultitem="Config"
sel=$(whiptail --backtitle "$apptitle" --title "rEFInd Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "rEFInd Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -5,7 +5,7 @@ options=()
options+=("config" "/boot/syslinux/syslinux.cfg")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Syslinux Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Syslinux Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("Create entry" "")
options+=("Delete entry" "")
defaultitem="Edit entry"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd Entries Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Systemd Entries Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -25,7 +25,7 @@ case $sel in
for itm in $entries; do
entrylist+=("${itm::-5}" "")
done
sel=$(whiptail --backtitle "$apptitle" --title "Edit entry :" --menu "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Edit entry :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${entrylist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -33,7 +33,7 @@ case $sel in
fi
;;
'Create entry')
entry=$(whiptail --backtitle "$apptitle" --title "Create entry" --inputbox "Enter the new entry name :" 0 0 3>&1 1>&2 2>&3)
entry=$(dialog --backtitle "$apptitle" --title "Create entry" --inputbox "Enter the new entry name :" 0 0 3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/$entry.conf
sed -i "s/Arch Linux/$entry/" /boot/loader/entries/$entry.conf
@ -46,7 +46,7 @@ case $sel in
for itm in $entries; do
entrylist+=("${itm::-5}" "")
done
sel=$(whiptail --backtitle "$apptitle" --title "Delete entry :" --menu "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Delete entry :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${entrylist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -61,7 +61,7 @@ case $sel in
for itm in $entries; do
entrylist+=("${itm::-5}" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "Update ucode of :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Update ucode of :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${entrylist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then

View file

@ -14,7 +14,7 @@ else
fi
defaultitem="Config"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Systemd Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -11,7 +11,7 @@ options+=("Start At Boot" "systemctl enable iptables & systemctl enable ip6table
options+=("Generate Default Rules" "/etc/iptables/iptables.rules & /etc/iptables/ip6tables.rules")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Firewall Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Firewall Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -12,7 +12,7 @@ fi
options+=("Boot" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Config Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Config Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -7,7 +7,7 @@ options+=("" "")
options+=("timedatectl" "")
defaultitem="Services"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Systemd Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("Disable" "systemctl disable")
#options+=("Stop" "(Experimental)")
defaultitem="Enable"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd services Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Systemd services Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -27,7 +27,7 @@ case $sel in
svclist+=("$itm" "" off)
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Enable services :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Enable services :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${svclist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -44,7 +44,7 @@ case $sel in
svclist+=("$itm" "" off)
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Disable services :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Disable services :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${svclist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -61,7 +61,7 @@ case $sel in
svclist+=("$itm" "" off)
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Restart services :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Restart services :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${svclist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -78,7 +78,7 @@ case $sel in
svclist+=("$itm" "" off)
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Start services :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Start services :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${svclist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
@ -95,7 +95,7 @@ case $sel in
svclist+=("$itm" "" off)
fi
done
sel=$(whiptail --backtitle "$apptitle" --title "Stop services :" --checklist "" --cancel-button "Cancel" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Stop services :" --cancel-button "Cancel" --checklist "" 0 0 0 \
"${svclist[@]}" \
3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then

View file

@ -11,7 +11,7 @@ fi
options+=("Edit" "/etc/systemd/timesyncd.conf")
defaultitem="timedatectl"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd timedatectl Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Systemd timedatectl Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -16,7 +16,7 @@ items=$(localectl list-x11-keymap-layouts)
for item in $items; do
options+=("$item" "")
done
layout=$(whiptail --backtitle "$apptitle" --title "Select keyboard layout :" --menu "" --cancel-button "Cancel" 0 0 0 \
layout=$(dialog --backtitle "$apptitle" --title "Select keyboard layout :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -31,7 +31,7 @@ items=$(localectl list-x11-keymap-models)
for item in $items; do
options+=("$item" "")
done
model=$(whiptail --backtitle "$apptitle" --title "Select keyboard model :" --menu "" --cancel-button "Cancel" 0 0 0 \
model=$(dialog --backtitle "$apptitle" --title "Select keyboard model :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -47,7 +47,7 @@ items=$(localectl list-x11-keymap-variants $layout)
for item in $items; do
options+=("$item" "")
done
variant=$(whiptail --backtitle "$apptitle" --title "Select keyboard variant :" --menu "" --cancel-button "Cancel" 0 0 0 \
variant=$(dialog --backtitle "$apptitle" --title "Select keyboard variant :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -64,7 +64,7 @@ items=$(localectl list-x11-keymap-options)
for item in $items; do
options+=("$item" "")
done
option=$(whiptail --backtitle "$apptitle" --title "Select keyboard option :" --menu "" --cancel-button "Cancel" 0 0 0 \
option=$(dialog --backtitle "$apptitle" --title "Select keyboard option :" --cancel-button "Cancel" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("Generate /etc/X11/xorg.conf.d/00-keyboard.conf" "")
options+=("Edit /etc/X11/xorg.conf.d/00-keyboard.conf" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Configuration :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Configuration :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("code" "(VS Code)" off)
options+=("kdevelop" "(QT)" off)
options+=("gource" "Git code animation" off)
sel=$(whiptail --backtitle "$apptitle" --title "Dev applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Dev applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -7,7 +7,7 @@ options+=("inkscape" "(GTK)" off)
options+=("dia" "(GTK)" off)
options+=("krita" "(QT)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Graphic applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Graphic applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"gimp"') choosepkg "gimp-help-";;
"gimp") choosepkg "gimp-help-";;
esac
done

View file

@ -8,7 +8,7 @@ options+=("evolution-bogofilter" "" off)
options+=("evolution-spamassassin" "" off)
options+=("evolution-ews" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "E-Mails applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "E-Mails applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"thunderbird"') choosepkg "thunderbird-i18n-";;
"thunderbird") choosepkg "thunderbird-i18n-";;
esac
done

View file

@ -8,7 +8,7 @@ options+=("E-Mail" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Internet Apps :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Internet Apps :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("qbittorrent" "(QT)" off)
options+=("deluge" "(PYTHON)" off)
options+=("tixati" "(AUR) (GTK)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Torrent applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Torrent applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -18,7 +18,7 @@ fi
for itm in $sel; do
case $itm in
'"tixati"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"tixati") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -15,7 +15,7 @@ options+=("falkon" "(QT)" off)
options+=("vivaldi" "(GTK)" off)
options+=("vivaldi-ffmpeg-codecs" "Non-free codecs" off)
sel=$(whiptail --backtitle "$apptitle" --title "Web Browser applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Web Browser applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -24,8 +24,8 @@ fi
for itm in $sel; do
case $itm in
'"firefox-i18n"' | \
'"seamonkey-i18n"') pkg="$pkg";;
"firefox-i18n" | \
"seamonkey-i18n") pkg="$pkg";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -34,8 +34,8 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"firefox-i18n"') choosepkg "firefox-i18n-";;
'"seamonkey-i18n"') chooseaurpkg "seamonkey-i18n-";;
"firefox-i18n") choosepkg "firefox-i18n-";;
"seamonkey-i18n") chooseaurpkg "seamonkey-i18n-";;
esac
done

View file

@ -14,7 +14,7 @@ options+=("PacMan GUI" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Apps Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Apps Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("amarok" "(AUR) (QT) Audio Player" off)
options+=("guayadeque" "(AUR) (GTK) Audio Player" off)
options+=("gmusicbrowser" "(AUR) (GTK) Audio Player" off)
sel=$(whiptail --backtitle "$apptitle" --title "Audio Player applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Audio Player applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -19,9 +19,9 @@ fi
for itm in $sel; do
case $itm in
'"amarok"' | \
'"guayadeque"' | \
'"gmusicbrowser"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"amarok" | \
"guayadeque" | \
"gmusicbrowser") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -8,7 +8,7 @@ options+=("xfburn" "(GTK)" off)
options+=("brasero" "(GTK)" off)
options+=("gnomebaker" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Burner applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Burner applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -17,8 +17,8 @@ fi
for itm in $sel; do
case $itm in
'"gnomebaker"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
'"xorriso-tcltk"') pkg="$pkg libisoburn tk kjobwidgets";;
"gnomebaker") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"xorriso-tcltk") pkg="$pkg libisoburn tk kjobwidgets";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -11,7 +11,7 @@ options+=("gst-libav" "" on)
#options+=("gst-plugin-libde265" "(AUR)" off)
#options+=("libde265" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "GStreamer :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "GStreamer :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("Burner Tools" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Multimedia Apps :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Multimedia Apps :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("mpv" "(GTK) Recommended for smplayer" off)
options+=("celluloid" "(GTK) Video player" off)
#options+=("streamstudio-bin" "(AUR) Stream video Player" off)
sel=$(whiptail --backtitle "$apptitle" --title "Video Player applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Video Player applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -18,7 +18,7 @@ fi
for itm in $sel; do
case $itm in
'"streamstudio-bin"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"streamstudio-bin") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -5,7 +5,7 @@ options=()
options+=("avidemux-qt" "(QT) Video Editor" off)
options+=("simplescreenrecorder" "(QT) Screen Recorder" off)
sel=$(whiptail --backtitle "$apptitle" --title "Videos Tools applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Videos Tools applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -8,7 +8,7 @@ options+=("Office Tools" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Office Apps :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Office Apps :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -5,7 +5,7 @@ options=()
options+=("libreoffice-fresh" "(JAVA)" off)
options+=("libreoffice-still" "(JAVA)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Office Suites applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Office Suites applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -14,7 +14,7 @@ fi
for itm in $sel; do
case $itm in
'"calcoo"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"calcoo") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -23,8 +23,8 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"libreoffice-fresh"') choosepkg "libreoffice-fresh-";;
'"libreoffice-still"') choosepkg "libreoffice-still-";;
"libreoffice-fresh") choosepkg "libreoffice-fresh-";;
"libreoffice-still") choosepkg "libreoffice-still-";;
esac
done

View file

@ -10,7 +10,7 @@ options+=("libreoffice-extension-languagetool" "(AUR)" off)
options+=("libreoffice-extension-grammalecte-fr" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Office Language aids :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Office Language aids :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -19,12 +19,12 @@ fi
for itm in $sel; do
case $itm in
'"hunspell"' | \
'"hyphen"' | \
'"hunspell"' | \
'"mythes"') ;;
'"libreoffice-extension-languagetool"' | \
'"libreoffice-extension-grammalecte-fr"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"hunspell" | \
"hyphen" | \
"hunspell" | \
"mythes") ;;
"libreoffice-extension-languagetool" | \
"libreoffice-extension-grammalecte-fr") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -33,9 +33,9 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"hunspell"') choosepkg "hunspell-";;
'"hyphen"') choosepkg "hyphen-";;
'"mythes"') choosepkg "mythes-";;
"hunspell") choosepkg "hunspell-";;
"hyphen") choosepkg "hyphen-";;
"mythes") choosepkg "mythes-";;
esac
done

View file

@ -5,7 +5,7 @@ options=()
options+=("galculator" "" off)
options+=("qalculate-gtk" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Office Tools applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Office Tools applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -4,7 +4,7 @@ options=()
options+=("octopi" "(AUR) (QT)" off)
options+=("pamac-aur" "(AUR) (GTK)" off)
sel=$(whiptail --backtitle "$apptitle" --title "PacMan GUI applications :" --checklist "Recommended to choose one" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "PacMan GUI applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -19,7 +19,7 @@ options+=("gdmap" "" off)
options+=("k4dirstat" "(AUR)" off)
options+=("conky" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "System applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -5,7 +5,7 @@ options=()
options+=("Geany" "" off)
options+=("WebStorm" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Dev applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Dev applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -5,7 +5,7 @@ options=()
options+=("0AD" "" off)
options+=("puzzles" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Game applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Game applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("teamviewer" "(AUR)" off)
#options+=("zenmap" "" off)
options+=("jnetmap" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Network applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Network applications :" --cancel-button "Back" --checklist "Choose what you want" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -8,7 +8,7 @@ options+=("unrar" "RAR files" on)
options+=("p7zip" "File Archiver" on)
options+=("lzop" "LZO Compressor" on)
sel=$(whiptail --backtitle "$apptitle" --title "Console Compression Tools :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Console Compression Tools :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -20,7 +20,7 @@ options+=("powertop" "power mon and management" off)
options+=("gpm" "Console mouse support" off)
options+=("liveroot" "(AUR) root overlay fs" off)
sel=$(whiptail --backtitle "$apptitle" --title "Console Generic packages :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Console Generic packages :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -29,7 +29,7 @@ fi
for itm in $sel; do
case $itm in
'"liveroot"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"liveroot") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -38,7 +38,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"gpm"')
"gpm")
svcstart gpm
svcenable gpm
;;

View file

@ -9,7 +9,7 @@ options+=("Webbrowser" "")
options+=("Recovery Tools" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -16,7 +16,7 @@ options+=("dsniff" "tools for network auditing and penetration" off)
options+=("mitmproxy" "SSL-capable MITM HTTP proxy" off)
options+=("sslstrip" "tool to hijack HTTPS in MITM attack" off)
sel=$(whiptail --backtitle "$apptitle" --title "Console Network Tools :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Console Network Tools :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -25,7 +25,7 @@ fi
for itm in $sel; do
case $itm in
'"netdiscover"')
"netdiscover")
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
;;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;

View file

@ -6,7 +6,7 @@ options+=("ddrescue" "HD recovery tool" off)
options+=("dd_rescue" "HD recovery tool" off)
options+=("partclone" "Copy used block on partition" off)
sel=$(whiptail --backtitle "$apptitle" --title "Console Recovery Tools :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Console Recovery Tools :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("elinks" "" off)
options+=("links" "" off)
options+=("lynx" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Console Web Browser :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Console Web Browser :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("cinnamon" "")
options+=("gnome-terminal" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Cinnamon Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Cinnamon Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -6,7 +6,7 @@ options+=("deepin" "")
options+=("deepin-extra" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Deepin Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Deepin Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -8,7 +8,7 @@ options+=("enlightenment" "" on)
options+=("connman" "" on)
options+=("acpid" "" on)
sel=$(whiptail --backtitle "$apptitle" --title "Enlightenment Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Enlightenment Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("gnome" "")
options+=("gnome-extra" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Gnome Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Gnome Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -8,7 +8,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "LXDE-GTK3 Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "LXDE-GTK3 Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -24,7 +24,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"lxdm-gtk3"') svcenable lxdm;;
"lxdm-gtk3") svcenable lxdm;;
esac
done

View file

@ -8,7 +8,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "LXDE Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "LXDE Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -24,7 +24,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"lxdm"') svcenable lxdm;;
"lxdm") svcenable lxdm;;
esac
done

View file

@ -9,7 +9,7 @@ options+=("obconf" "" on)
options+=("lxqt-connman-applet-git" "(AUR) Applet for NM" off)
sel=$(whiptail --backtitle "$apptitle" --title "LXQt Complements :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "LXQt Complements :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -18,7 +18,7 @@ fi
for itm in $sel; do
case $itm in
'"lxqt-connman-applet-git"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"lxqt-connman-applet-git") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -27,7 +27,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"sddm"') svcenable sddm;;
"sddm") svcenable sddm;;
esac
done

View file

@ -6,7 +6,7 @@ options+=("LXQt" "")
options+=("Complements" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "LXQt Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "LXQt Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -8,7 +8,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "LXQT Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "LXQT Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -6,7 +6,7 @@ options+=("mate" "")
options+=("mate-extra" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Mate Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Mate Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -17,7 +17,7 @@ options+=("Deepin" "(Help Wanted)")
#options+=("i3" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Install Desktop Menu :" --menu "First item is most maintained" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Install Desktop Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "First item is most maintained" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -11,7 +11,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "Openbox Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Openbox Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -7,7 +7,7 @@ options+=("kdeconnect" "" off)
options+=("sshfs" "(For kdeconnect)" off)
options+=("systemdgenie" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Plasma Complements :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Plasma Complements :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -45,7 +45,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -9,7 +9,7 @@ options+=("Categories Meta" "kde-meta-")
options+=("Categories" "My favorite")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "KDE Apps Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "KDE Apps Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -18,7 +18,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "KDE Apps Meta Packages :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "KDE Apps Meta Packages :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -28,7 +28,7 @@ for item in $items; do
done
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "KDE Apps Categories :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "KDE Apps Categories :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -46,7 +46,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -12,7 +12,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "KDE Plasma :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "KDE Plasma :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -7,7 +7,7 @@ options+=("KDE Applications" "")
options+=("Complements" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Plasma5 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Plasma5 Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -12,7 +12,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -28,7 +28,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"sddm-kcm"')
"sddm-kcm")
svcenable sddm
;;
esac

View file

@ -8,7 +8,7 @@ options+=("gvfs-afc" "" on)
options+=("udisks2" "" on)
options+=("network-manager-applet" "" on)
sel=$(whiptail --backtitle "$apptitle" --title "XFCE4 Complements :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XFCE4 Complements :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"lightdm-gtk-greeter"') svcenable lightdm;;
"lightdm-gtk-greeter") svcenable lightdm;;
esac
done

View file

@ -7,7 +7,7 @@ options+=("xfce4-goodies" "")
options+=("Complements" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "XFCE4 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XFCE4 Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "$package Install :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -9,7 +9,7 @@ options+=("lightdm-gtk-greeter" "Other Login")
#options+=("lightdm-kde-greeter" "Other Login")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Install Display Manager Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Install Display Manager Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("Display Manager" "")
options+=("Applications" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -28,7 +28,7 @@ options+=("s3fs-fuse" "" off)
#options+=("f2fs-tools" "" off) # Normally installed by dependencies
#options+=("favfs2" "" off) # Normally installed by dependencies
sel=$(whiptail --backtitle "$apptitle" --title "File System Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "File System Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -38,7 +38,7 @@ fi
for itm in $sel; do
case $itm in
'"hfsprogs"')
"hfsprogs")
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
;;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;

View file

@ -6,7 +6,7 @@ options+=("linux" "" on)
options+=("linux-headers" "" on)
options+=("linux-docs" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Kernel Linux Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Kernel Linux Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("linux-hardened" "" on)
options+=("linux-hardened-headers" "" on)
options+=("linux-hardened-docs" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Kernel Linux Hardened Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Kernel Linux Hardened Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("linux-lts" "" on)
options+=("linux-lts-headers" "" on)
options+=("linux-lts-docs" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Kernel Linux LTS Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Kernel Linux LTS Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -6,7 +6,7 @@ options+=("linux-zen" "" on)
options+=("linux-zen-headers" "" on)
options+=("linux-zen-docs" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "Kernel Linux ZEN Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Kernel Linux ZEN Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -8,7 +8,7 @@ options+=("linux-zen" "")
options+=("linux-hardened" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Kernel Install :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Kernel Install :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ options+=("Sound" "")
options+=("Print" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "System Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System Install Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -15,7 +15,7 @@ options+=("foomatic-db-gutenprint-ppds" "" off)
options+=("foomatic-db-nonfree-ppds" "" off)
#options+=("system-config-printer" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "System Print Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System Print Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -30,8 +30,8 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"cups"') svcenable cups.service cups;;
'"cups-pdf"')
"cups") svcenable cups.service cups;;
"cups-pdf")
#if (confirm "Add a PDF Printer ?") then
#fi

View file

@ -33,7 +33,7 @@ options+=("ntp" "" off)
#options+=("rsyslog" "" off)
#options+=("systemd-readahead" "(AUR) boot improvement" off)
sel=$(whiptail --backtitle "$apptitle" --title "Services Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "Services Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -42,8 +42,8 @@ fi
for itm in $sel; do
case $itm in
'"numlockon"') ;;
'"systemd-readahead"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
"numlockon") ;;
"systemd-readahead") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
@ -53,36 +53,36 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"networkmanager"')
"networkmanager")
systemctl disable dhcpcd
if (svcenable NetworkManager) then
svcdisable dhcpcd
fi
;;
'"openssh"')
"openssh")
svcenable sshd "SSH Server"
;;
'"cronie"')
"cronie")
svcenable cronie
;;
'"bluez"')
"bluez")
svcenable bluetooth "Bluetooth Service"
;;
'"ntp"')
"ntp")
svcenable ntpd "NTP Server"
;;
'"numlockon"') script install/system/services/numlockon;;
'"haveged"')
"numlockon") script install/system/services/numlockon;;
"haveged")
svcenable haveged "Haveged"
;;
'"syslog-ng"')
"syslog-ng")
#echo "ForwardToSyslog=yes" >> /etc/systemd/journald.conf
systemctl enable syslog-ng@default
;;
'"rsyslog"')
"rsyslog")
systemctl enable rsyslog
;;
'"net-snmp"')
"net-snmp")
if (confirm "Create and edit /etc/snmp/snmpd.conf ?") then
mkdir /etc/snmp > /dev/null
echo "# SNMP Server Config" > /etc/snmp/snmpd.conf
@ -105,7 +105,7 @@ for itm in $sel; do
fi
svcenable snmpd "SNMP Server"
;;
'"systemd-readahead"')
"systemd-readahead")
svcenable systemd-readahead
;;
esac

View file

@ -7,7 +7,7 @@ options+=("pulseaudio" "(legacy)")
options+=("pipewire-media-session" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "System Sound Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System Sound Menu :" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -12,7 +12,7 @@ options+=("gst-plugin-pipewire" "" on)
options+=("easyeffects" "" off)
options+=("pipewire-x11-bell" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "System PPMediaSession Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System PPMediaSession Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -14,7 +14,7 @@ else
fi
options+=("pulseaudio-equalizer" "Equalizer for PulseAudio" off)
sel=$(whiptail --backtitle "$apptitle" --title "System Sound Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System Sound Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -12,7 +12,7 @@ options+=("gst-plugin-pipewire" "" on)
options+=("easyeffects" "" off)
options+=("pipewire-x11-bell" "" off)
sel=$(whiptail --backtitle "$apptitle" --title "System Wireplumper Install" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "System Wireplumper Install" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -4,7 +4,7 @@
options=()
#options+=("numlockx" "" on)
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Complements :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Complements :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -21,7 +21,7 @@ instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"numlockx"')
"numlockx")
if ( confirm "Add numlockx on to /usr/share/config/kdm/Xsetup ?" ) then
echo "numlockx on" >> /usr/share/config/kdm/Xsetup
fi

View file

@ -9,7 +9,7 @@ options+=("ttf-dejavu" "" on)
options+=("ttf-liberation" "" on)
options+=("xorg-fonts-type1" "" on)
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Default Fonts :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Default Fonts :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)

View file

@ -6,7 +6,7 @@ options+=("Default" "")
options+=("TTF" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Fonts Install Menu" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Fonts Install Menu" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -9,7 +9,7 @@ for item in $items; do
options+=("$item" "" off)
done
sel=$(whiptail --backtitle "$apptitle" --title "XOrg TTF :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg TTF :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -19,7 +19,7 @@ fi
for itm in $sel; do
case $itm in
'"ttf-ms-fonts"') aurpkg="$aurpkg ttf-ms-fonts";;
"ttf-ms-fonts") aurpkg="$aurpkg ttf-ms-fonts";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -21,7 +21,7 @@ options+=("Madcatz-R.A.T.9" "(Not tested)" off)
options+=("Madcatz-R.A.T.TE" "(Not tested)" off)
sel=$(whiptail --backtitle "$apptitle" --title "XOrg input drivers :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg input drivers :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
@ -31,12 +31,12 @@ fi
for itm in $sel; do
case $itm in
'"Saitek-R.A.T.3"') script install/xorg/input-drivers/saitekrat3;;
'"Madcatz-R.A.T.3"') script install/xorg/input-drivers/madcatzrat3;;
'"Madcatz-R.A.T.5"') script install/xorg/input-drivers/madcatzrat5;;
'"Madcatz-R.A.T.7"') script install/xorg/input-drivers/madcatzrat7;;
'"Madcatz-R.A.T.9"') script install/xorg/input-drivers/madcatzrat9;;
'"Madcatz-R.A.T.TE"') script install/xorg/input-drivers/madcatzratte;;
"Saitek-R.A.T.3") script install/xorg/input-drivers/saitekrat3;;
"Madcatz-R.A.T.3") script install/xorg/input-drivers/madcatzrat3;;
"Madcatz-R.A.T.5") script install/xorg/input-drivers/madcatzrat5;;
"Madcatz-R.A.T.7") script install/xorg/input-drivers/madcatzrat7;;
"Madcatz-R.A.T.9") script install/xorg/input-drivers/madcatzrat9;;
"Madcatz-R.A.T.TE") script install/xorg/input-drivers/madcatzratte;;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done

View file

@ -18,7 +18,7 @@ for item in $items; do
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "XOrg packages :" --checklist "" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg packages :" --cancel-button "Back" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

View file

@ -10,7 +10,7 @@ options+=("Video Drivers" "")
#options+=("Complements" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Install Menu" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Install Menu" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -21,7 +21,7 @@ sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
case $sel in
'GPU Infos')
gpus=$(lspci | grep -e VGA -e 3D)
whiptail --backtitle "$apptitle" --title "Detected video card" --msgbox "$gpus" 0 0
dialog --backtitle "$apptitle" --title "Detected video card" --msgbox "$gpus" 0 0
;;
'Install') script install/xorg/install;;
'Fonts') menu install/xorg/fonts/menu;;

View file

@ -6,7 +6,7 @@ options+=("Open Source" "")
options+=("Proprietary" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "XOrg Install Menu" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
sel=$(dialog --backtitle "$apptitle" --title "XOrg Install Menu" --default-item "$defaultitem" --cancel-button "Back" --menu "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then

Some files were not shown because too many files have changed in this diff Show more