whiptail broken, switching to dialog
This commit is contained in:
parent
9ea10f0a39
commit
9220c64780
106 changed files with 191 additions and 191 deletions
|
@ -6,7 +6,7 @@ options+=("Users" "")
|
||||||
options+=("Sudoers" "")
|
options+=("Sudoers" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("" "")
|
||||||
options+=("Edit /etc/sudoers" "")
|
options+=("Edit /etc/sudoers" "")
|
||||||
|
|
||||||
defaultitem="Add sudoer"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -24,7 +24,7 @@ case $sel in
|
||||||
for itm in $users; do
|
for itm in $users; do
|
||||||
userlist+=("$itm" "")
|
userlist+=("$itm" "")
|
||||||
done
|
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[@]}" \
|
"${userlist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -39,7 +39,7 @@ case $sel in
|
||||||
sudoerlist+=("$itm" "")
|
sudoerlist+=("$itm" "")
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${sudoerlist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -54,7 +54,7 @@ case $sel in
|
||||||
sudoerlist+=("$itm" "")
|
sudoerlist+=("$itm" "")
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${sudoerlist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("List Users" "")
|
||||||
options+=("Delete User" "")
|
options+=("Delete User" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -22,7 +22,7 @@ case $sel in
|
||||||
read -n1 -p "press a key to continue"
|
read -n1 -p "press a key to continue"
|
||||||
;;
|
;;
|
||||||
'Add User')
|
'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
|
if [ "$?" = "0" ]; then
|
||||||
useradd -d /home/$username -s /bin/bash -m -N $username
|
useradd -d /home/$username -s /bin/bash -m -N $username
|
||||||
clear
|
clear
|
||||||
|
@ -36,7 +36,7 @@ case $sel in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
'Delete User')
|
'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
|
if [ "$?" = "0" ]; then
|
||||||
userdel -r -f $username
|
userdel -r -f $username
|
||||||
grpck
|
grpck
|
||||||
|
|
|
@ -41,7 +41,7 @@ if [ -f /usr/bin/yaourt ]; then
|
||||||
options+=("yaourt(3)" "yaourt --color" off)
|
options+=("yaourt(3)" "yaourt --color" off)
|
||||||
fi
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -16,7 +16,7 @@ if [ -f /usr/bin/edit ]; then
|
||||||
fi
|
fi
|
||||||
options+=("unset" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("/etc/profile.d/ps1.sh" "")
|
||||||
options+=("Update .bashrc" "")
|
options+=("Update .bashrc" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("Minimal" "/home #")
|
||||||
options+=("User" "user:/home #")
|
options+=("User" "user:/home #")
|
||||||
options+=("User and Hostname" "user@hostname:/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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("config" "/etc/default/grub")
|
||||||
options+=("grub-mkconfig" "")
|
options+=("grub-mkconfig" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("Config" "/etc/mkinitcpio.conf")
|
||||||
options+=("mkinicpio" "")
|
options+=("mkinicpio" "")
|
||||||
|
|
||||||
defaultitem="Config"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -22,7 +22,7 @@ case $sel in
|
||||||
for itm in $configs; do
|
for itm in $configs; do
|
||||||
options+=("${itm::-7}" "" on)
|
options+=("${itm::-7}" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -17,7 +17,7 @@ if [ -f /boot/syslinux/syslinux.cfg ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -14,7 +14,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
defaultitem="Config"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("config" "/boot/syslinux/syslinux.cfg")
|
options+=("config" "/boot/syslinux/syslinux.cfg")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("Create entry" "")
|
||||||
options+=("Delete entry" "")
|
options+=("Delete entry" "")
|
||||||
|
|
||||||
defaultitem="Edit 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -25,7 +25,7 @@ case $sel in
|
||||||
for itm in $entries; do
|
for itm in $entries; do
|
||||||
entrylist+=("${itm::-5}" "")
|
entrylist+=("${itm::-5}" "")
|
||||||
done
|
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[@]}" \
|
"${entrylist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -33,7 +33,7 @@ case $sel in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
'Create entry')
|
'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
|
if [ "$?" = "0" ]; then
|
||||||
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/$entry.conf
|
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/$entry.conf
|
||||||
sed -i "s/Arch Linux/$entry/" /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
|
for itm in $entries; do
|
||||||
entrylist+=("${itm::-5}" "")
|
entrylist+=("${itm::-5}" "")
|
||||||
done
|
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[@]}" \
|
"${entrylist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -61,7 +61,7 @@ case $sel in
|
||||||
for itm in $entries; do
|
for itm in $entries; do
|
||||||
entrylist+=("${itm::-5}" "" on)
|
entrylist+=("${itm::-5}" "" on)
|
||||||
done
|
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[@]}" \
|
"${entrylist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
|
|
@ -14,7 +14,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
defaultitem="Config"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -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")
|
options+=("Generate Default Rules" "/etc/iptables/iptables.rules & /etc/iptables/ip6tables.rules")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -12,7 +12,7 @@ fi
|
||||||
options+=("Boot" "")
|
options+=("Boot" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("" "")
|
||||||
options+=("timedatectl" "")
|
options+=("timedatectl" "")
|
||||||
|
|
||||||
defaultitem="Services"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("Disable" "systemctl disable")
|
||||||
#options+=("Stop" "(Experimental)")
|
#options+=("Stop" "(Experimental)")
|
||||||
|
|
||||||
defaultitem="Enable"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -27,7 +27,7 @@ case $sel in
|
||||||
svclist+=("$itm" "" off)
|
svclist+=("$itm" "" off)
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${svclist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -44,7 +44,7 @@ case $sel in
|
||||||
svclist+=("$itm" "" off)
|
svclist+=("$itm" "" off)
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${svclist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -61,7 +61,7 @@ case $sel in
|
||||||
svclist+=("$itm" "" off)
|
svclist+=("$itm" "" off)
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${svclist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -78,7 +78,7 @@ case $sel in
|
||||||
svclist+=("$itm" "" off)
|
svclist+=("$itm" "" off)
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${svclist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -95,7 +95,7 @@ case $sel in
|
||||||
svclist+=("$itm" "" off)
|
svclist+=("$itm" "" off)
|
||||||
fi
|
fi
|
||||||
done
|
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[@]}" \
|
"${svclist[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
|
|
@ -11,7 +11,7 @@ fi
|
||||||
options+=("Edit" "/etc/systemd/timesyncd.conf")
|
options+=("Edit" "/etc/systemd/timesyncd.conf")
|
||||||
|
|
||||||
defaultitem="timedatectl"
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -16,7 +16,7 @@ items=$(localectl list-x11-keymap-layouts)
|
||||||
for item in $items; do
|
for item in $items; do
|
||||||
options+=("$item" "")
|
options+=("$item" "")
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -31,7 +31,7 @@ items=$(localectl list-x11-keymap-models)
|
||||||
for item in $items; do
|
for item in $items; do
|
||||||
options+=("$item" "")
|
options+=("$item" "")
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -47,7 +47,7 @@ items=$(localectl list-x11-keymap-variants $layout)
|
||||||
for item in $items; do
|
for item in $items; do
|
||||||
options+=("$item" "")
|
options+=("$item" "")
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -64,7 +64,7 @@ items=$(localectl list-x11-keymap-options)
|
||||||
for item in $items; do
|
for item in $items; do
|
||||||
options+=("$item" "")
|
options+=("$item" "")
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("Generate /etc/X11/xorg.conf.d/00-keyboard.conf" "")
|
||||||
options+=("Edit /etc/X11/xorg.conf.d/00-keyboard.conf" "")
|
options+=("Edit /etc/X11/xorg.conf.d/00-keyboard.conf" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("code" "(VS Code)" off)
|
||||||
options+=("kdevelop" "(QT)" off)
|
options+=("kdevelop" "(QT)" off)
|
||||||
options+=("gource" "Git code animation" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("inkscape" "(GTK)" off)
|
||||||
options+=("dia" "(GTK)" off)
|
options+=("dia" "(GTK)" off)
|
||||||
options+=("krita" "(QT)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"gimp"') choosepkg "gimp-help-";;
|
"gimp") choosepkg "gimp-help-";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("evolution-bogofilter" "" off)
|
||||||
options+=("evolution-spamassassin" "" off)
|
options+=("evolution-spamassassin" "" off)
|
||||||
options+=("evolution-ews" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"thunderbird"') choosepkg "thunderbird-i18n-";;
|
"thunderbird") choosepkg "thunderbird-i18n-";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("E-Mail" "")
|
||||||
|
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("qbittorrent" "(QT)" off)
|
||||||
options+=("deluge" "(PYTHON)" off)
|
options+=("deluge" "(PYTHON)" off)
|
||||||
options+=("tixati" "(AUR) (GTK)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -15,7 +15,7 @@ options+=("falkon" "(QT)" off)
|
||||||
options+=("vivaldi" "(GTK)" off)
|
options+=("vivaldi" "(GTK)" off)
|
||||||
options+=("vivaldi-ffmpeg-codecs" "Non-free codecs" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -24,8 +24,8 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"firefox-i18n"' | \
|
"firefox-i18n" | \
|
||||||
'"seamonkey-i18n"') pkg="$pkg";;
|
"seamonkey-i18n") pkg="$pkg";;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -34,8 +34,8 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"firefox-i18n"') choosepkg "firefox-i18n-";;
|
"firefox-i18n") choosepkg "firefox-i18n-";;
|
||||||
'"seamonkey-i18n"') chooseaurpkg "seamonkey-i18n-";;
|
"seamonkey-i18n") chooseaurpkg "seamonkey-i18n-";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ options+=("PacMan GUI" "")
|
||||||
|
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("amarok" "(AUR) (QT) Audio Player" off)
|
||||||
options+=("guayadeque" "(AUR) (GTK) Audio Player" off)
|
options+=("guayadeque" "(AUR) (GTK) Audio Player" off)
|
||||||
options+=("gmusicbrowser" "(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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -19,9 +19,9 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"amarok"' | \
|
"amarok" | \
|
||||||
'"guayadeque"' | \
|
"guayadeque" | \
|
||||||
'"gmusicbrowser"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
"gmusicbrowser") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("xfburn" "(GTK)" off)
|
||||||
options+=("brasero" "(GTK)" off)
|
options+=("brasero" "(GTK)" off)
|
||||||
options+=("gnomebaker" "(AUR)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -17,8 +17,8 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"gnomebaker"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
"gnomebaker") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
'"xorriso-tcltk"') pkg="$pkg libisoburn tk kjobwidgets";;
|
"xorriso-tcltk") pkg="$pkg libisoburn tk kjobwidgets";;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -11,7 +11,7 @@ options+=("gst-libav" "" on)
|
||||||
#options+=("gst-plugin-libde265" "(AUR)" off)
|
#options+=("gst-plugin-libde265" "(AUR)" off)
|
||||||
#options+=("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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("Burner Tools" "")
|
||||||
|
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("mpv" "(GTK) Recommended for smplayer" off)
|
||||||
options+=("celluloid" "(GTK) Video player" off)
|
options+=("celluloid" "(GTK) Video player" off)
|
||||||
#options+=("streamstudio-bin" "(AUR) Stream 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("avidemux-qt" "(QT) Video Editor" off)
|
options+=("avidemux-qt" "(QT) Video Editor" off)
|
||||||
options+=("simplescreenrecorder" "(QT) Screen Recorder" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("Office Tools" "")
|
||||||
|
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("libreoffice-fresh" "(JAVA)" off)
|
options+=("libreoffice-fresh" "(JAVA)" off)
|
||||||
options+=("libreoffice-still" "(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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -14,7 +14,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -23,8 +23,8 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"libreoffice-fresh"') choosepkg "libreoffice-fresh-";;
|
"libreoffice-fresh") choosepkg "libreoffice-fresh-";;
|
||||||
'"libreoffice-still"') choosepkg "libreoffice-still-";;
|
"libreoffice-still") choosepkg "libreoffice-still-";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("libreoffice-extension-languagetool" "(AUR)" off)
|
||||||
options+=("libreoffice-extension-grammalecte-fr" "(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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -19,12 +19,12 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"hunspell"' | \
|
"hunspell" | \
|
||||||
'"hyphen"' | \
|
"hyphen" | \
|
||||||
'"hunspell"' | \
|
"hunspell" | \
|
||||||
'"mythes"') ;;
|
"mythes") ;;
|
||||||
'"libreoffice-extension-languagetool"' | \
|
"libreoffice-extension-languagetool" | \
|
||||||
'"libreoffice-extension-grammalecte-fr"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
"libreoffice-extension-grammalecte-fr") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -33,9 +33,9 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"hunspell"') choosepkg "hunspell-";;
|
"hunspell") choosepkg "hunspell-";;
|
||||||
'"hyphen"') choosepkg "hyphen-";;
|
"hyphen") choosepkg "hyphen-";;
|
||||||
'"mythes"') choosepkg "mythes-";;
|
"mythes") choosepkg "mythes-";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("galculator" "" off)
|
options+=("galculator" "" off)
|
||||||
options+=("qalculate-gtk" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -4,7 +4,7 @@ options=()
|
||||||
options+=("octopi" "(AUR) (QT)" off)
|
options+=("octopi" "(AUR) (QT)" off)
|
||||||
options+=("pamac-aur" "(AUR) (GTK)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -19,7 +19,7 @@ options+=("gdmap" "" off)
|
||||||
options+=("k4dirstat" "(AUR)" off)
|
options+=("k4dirstat" "(AUR)" off)
|
||||||
options+=("conky" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("Geany" "" off)
|
options+=("Geany" "" off)
|
||||||
options+=("WebStorm" "(AUR)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@ options=()
|
||||||
options+=("0AD" "" off)
|
options+=("0AD" "" off)
|
||||||
options+=("puzzles" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("teamviewer" "(AUR)" off)
|
||||||
#options+=("zenmap" "" off)
|
#options+=("zenmap" "" off)
|
||||||
options+=("jnetmap" "(AUR)" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("unrar" "RAR files" on)
|
||||||
options+=("p7zip" "File Archiver" on)
|
options+=("p7zip" "File Archiver" on)
|
||||||
options+=("lzop" "LZO Compressor" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -20,7 +20,7 @@ options+=("powertop" "power mon and management" off)
|
||||||
options+=("gpm" "Console mouse support" off)
|
options+=("gpm" "Console mouse support" off)
|
||||||
options+=("liveroot" "(AUR) root overlay fs" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -29,7 +29,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -38,7 +38,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"gpm"')
|
"gpm")
|
||||||
svcstart gpm
|
svcstart gpm
|
||||||
svcenable gpm
|
svcenable gpm
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("Webbrowser" "")
|
||||||
options+=("Recovery Tools" "")
|
options+=("Recovery Tools" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -16,7 +16,7 @@ options+=("dsniff" "tools for network auditing and penetration" off)
|
||||||
options+=("mitmproxy" "SSL-capable MITM HTTP proxy" off)
|
options+=("mitmproxy" "SSL-capable MITM HTTP proxy" off)
|
||||||
options+=("sslstrip" "tool to hijack HTTPS in MITM attack" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -25,7 +25,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"netdiscover"')
|
"netdiscover")
|
||||||
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
||||||
;;
|
;;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("ddrescue" "HD recovery tool" off)
|
||||||
options+=("dd_rescue" "HD recovery tool" off)
|
options+=("dd_rescue" "HD recovery tool" off)
|
||||||
options+=("partclone" "Copy used block on partition" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("elinks" "" off)
|
||||||
options+=("links" "" off)
|
options+=("links" "" off)
|
||||||
options+=("lynx" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("cinnamon" "")
|
||||||
options+=("gnome-terminal" "")
|
options+=("gnome-terminal" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("deepin" "")
|
||||||
options+=("deepin-extra" "")
|
options+=("deepin-extra" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("enlightenment" "" on)
|
||||||
options+=("connman" "" on)
|
options+=("connman" "" on)
|
||||||
options+=("acpid" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("gnome" "")
|
||||||
options+=("gnome-extra" "")
|
options+=("gnome-extra" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"lxdm-gtk3"') svcenable lxdm;;
|
"lxdm-gtk3") svcenable lxdm;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"lxdm"') svcenable lxdm;;
|
"lxdm") svcenable lxdm;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("obconf" "" on)
|
||||||
options+=("lxqt-connman-applet-git" "(AUR) Applet for NM" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -27,7 +27,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"sddm"') svcenable sddm;;
|
"sddm") svcenable sddm;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("LXQt" "")
|
||||||
options+=("Complements" "")
|
options+=("Complements" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("mate" "")
|
||||||
options+=("mate-extra" "")
|
options+=("mate-extra" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ options+=("Deepin" "(Help Wanted)")
|
||||||
#options+=("i3" "")
|
#options+=("i3" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -11,7 +11,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("kdeconnect" "" off)
|
||||||
options+=("sshfs" "(For kdeconnect)" off)
|
options+=("sshfs" "(For kdeconnect)" off)
|
||||||
options+=("systemdgenie" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -45,7 +45,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("Categories Meta" "kde-meta-")
|
||||||
options+=("Categories" "My favorite")
|
options+=("Categories" "My favorite")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -18,7 +18,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ for item in $items; do
|
||||||
done
|
done
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -46,7 +46,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("KDE Applications" "")
|
||||||
options+=("Complements" "")
|
options+=("Complements" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -12,7 +12,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"sddm-kcm"')
|
"sddm-kcm")
|
||||||
svcenable sddm
|
svcenable sddm
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("gvfs-afc" "" on)
|
||||||
options+=("udisks2" "" on)
|
options+=("udisks2" "" on)
|
||||||
options+=("network-manager-applet" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -25,7 +25,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"lightdm-gtk-greeter"') svcenable lightdm;;
|
"lightdm-gtk-greeter") svcenable lightdm;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("xfce4-goodies" "")
|
||||||
options+=("Complements" "")
|
options+=("Complements" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" on)
|
options+=("$item" "" on)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("lightdm-gtk-greeter" "Other Login")
|
||||||
#options+=("lightdm-kde-greeter" "Other Login")
|
#options+=("lightdm-kde-greeter" "Other Login")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("Display Manager" "")
|
||||||
options+=("Applications" "")
|
options+=("Applications" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -28,7 +28,7 @@ options+=("s3fs-fuse" "" off)
|
||||||
#options+=("f2fs-tools" "" off) # Normally installed by dependencies
|
#options+=("f2fs-tools" "" off) # Normally installed by dependencies
|
||||||
#options+=("favfs2" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"hfsprogs"')
|
"hfsprogs")
|
||||||
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
||||||
;;
|
;;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("linux" "" on)
|
||||||
options+=("linux-headers" "" on)
|
options+=("linux-headers" "" on)
|
||||||
options+=("linux-docs" "" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("linux-hardened" "" on)
|
||||||
options+=("linux-hardened-headers" "" on)
|
options+=("linux-hardened-headers" "" on)
|
||||||
options+=("linux-hardened-docs" "" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("linux-lts" "" on)
|
||||||
options+=("linux-lts-headers" "" on)
|
options+=("linux-lts-headers" "" on)
|
||||||
options+=("linux-lts-docs" "" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("linux-zen" "" on)
|
||||||
options+=("linux-zen-headers" "" on)
|
options+=("linux-zen-headers" "" on)
|
||||||
options+=("linux-zen-docs" "" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ options+=("linux-zen" "")
|
||||||
options+=("linux-hardened" "")
|
options+=("linux-hardened" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("Sound" "")
|
||||||
options+=("Print" "")
|
options+=("Print" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -15,7 +15,7 @@ options+=("foomatic-db-gutenprint-ppds" "" off)
|
||||||
options+=("foomatic-db-nonfree-ppds" "" off)
|
options+=("foomatic-db-nonfree-ppds" "" off)
|
||||||
#options+=("system-config-printer" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -30,8 +30,8 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"cups"') svcenable cups.service cups;;
|
"cups") svcenable cups.service cups;;
|
||||||
'"cups-pdf"')
|
"cups-pdf")
|
||||||
#if (confirm "Add a PDF Printer ?") then
|
#if (confirm "Add a PDF Printer ?") then
|
||||||
|
|
||||||
#fi
|
#fi
|
||||||
|
|
|
@ -33,7 +33,7 @@ options+=("ntp" "" off)
|
||||||
#options+=("rsyslog" "" off)
|
#options+=("rsyslog" "" off)
|
||||||
#options+=("systemd-readahead" "(AUR) boot improvement" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -42,8 +42,8 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"numlockon"') ;;
|
"numlockon") ;;
|
||||||
'"systemd-readahead"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
"systemd-readahead") aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -53,36 +53,36 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"networkmanager"')
|
"networkmanager")
|
||||||
systemctl disable dhcpcd
|
systemctl disable dhcpcd
|
||||||
if (svcenable NetworkManager) then
|
if (svcenable NetworkManager) then
|
||||||
svcdisable dhcpcd
|
svcdisable dhcpcd
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
'"openssh"')
|
"openssh")
|
||||||
svcenable sshd "SSH Server"
|
svcenable sshd "SSH Server"
|
||||||
;;
|
;;
|
||||||
'"cronie"')
|
"cronie")
|
||||||
svcenable cronie
|
svcenable cronie
|
||||||
;;
|
;;
|
||||||
'"bluez"')
|
"bluez")
|
||||||
svcenable bluetooth "Bluetooth Service"
|
svcenable bluetooth "Bluetooth Service"
|
||||||
;;
|
;;
|
||||||
'"ntp"')
|
"ntp")
|
||||||
svcenable ntpd "NTP Server"
|
svcenable ntpd "NTP Server"
|
||||||
;;
|
;;
|
||||||
'"numlockon"') script install/system/services/numlockon;;
|
"numlockon") script install/system/services/numlockon;;
|
||||||
'"haveged"')
|
"haveged")
|
||||||
svcenable haveged "Haveged"
|
svcenable haveged "Haveged"
|
||||||
;;
|
;;
|
||||||
'"syslog-ng"')
|
"syslog-ng")
|
||||||
#echo "ForwardToSyslog=yes" >> /etc/systemd/journald.conf
|
#echo "ForwardToSyslog=yes" >> /etc/systemd/journald.conf
|
||||||
systemctl enable syslog-ng@default
|
systemctl enable syslog-ng@default
|
||||||
;;
|
;;
|
||||||
'"rsyslog"')
|
"rsyslog")
|
||||||
systemctl enable rsyslog
|
systemctl enable rsyslog
|
||||||
;;
|
;;
|
||||||
'"net-snmp"')
|
"net-snmp")
|
||||||
if (confirm "Create and edit /etc/snmp/snmpd.conf ?") then
|
if (confirm "Create and edit /etc/snmp/snmpd.conf ?") then
|
||||||
mkdir /etc/snmp > /dev/null
|
mkdir /etc/snmp > /dev/null
|
||||||
echo "# SNMP Server Config" > /etc/snmp/snmpd.conf
|
echo "# SNMP Server Config" > /etc/snmp/snmpd.conf
|
||||||
|
@ -105,7 +105,7 @@ for itm in $sel; do
|
||||||
fi
|
fi
|
||||||
svcenable snmpd "SNMP Server"
|
svcenable snmpd "SNMP Server"
|
||||||
;;
|
;;
|
||||||
'"systemd-readahead"')
|
"systemd-readahead")
|
||||||
svcenable systemd-readahead
|
svcenable systemd-readahead
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -7,7 +7,7 @@ options+=("pulseaudio" "(legacy)")
|
||||||
options+=("pipewire-media-session" "")
|
options+=("pipewire-media-session" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -12,7 +12,7 @@ options+=("gst-plugin-pipewire" "" on)
|
||||||
options+=("easyeffects" "" off)
|
options+=("easyeffects" "" off)
|
||||||
options+=("pipewire-x11-bell" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -14,7 +14,7 @@ else
|
||||||
fi
|
fi
|
||||||
options+=("pulseaudio-equalizer" "Equalizer for PulseAudio" off)
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -12,7 +12,7 @@ options+=("gst-plugin-pipewire" "" on)
|
||||||
options+=("easyeffects" "" off)
|
options+=("easyeffects" "" off)
|
||||||
options+=("pipewire-x11-bell" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
options=()
|
options=()
|
||||||
#options+=("numlockx" "" on)
|
#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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -21,7 +21,7 @@ instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"numlockx"')
|
"numlockx")
|
||||||
if ( confirm "Add numlockx on to /usr/share/config/kdm/Xsetup ?" ) then
|
if ( confirm "Add numlockx on to /usr/share/config/kdm/Xsetup ?" ) then
|
||||||
echo "numlockx on" >> /usr/share/config/kdm/Xsetup
|
echo "numlockx on" >> /usr/share/config/kdm/Xsetup
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -9,7 +9,7 @@ options+=("ttf-dejavu" "" on)
|
||||||
options+=("ttf-liberation" "" on)
|
options+=("ttf-liberation" "" on)
|
||||||
options+=("xorg-fonts-type1" "" 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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("Default" "")
|
||||||
options+=("TTF" "")
|
options+=("TTF" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ for item in $items; do
|
||||||
options+=("$item" "" off)
|
options+=("$item" "" off)
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
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')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -21,7 +21,7 @@ options+=("Madcatz-R.A.T.9" "(Not tested)" off)
|
||||||
options+=("Madcatz-R.A.T.TE" "(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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
@ -31,12 +31,12 @@ fi
|
||||||
|
|
||||||
for itm in $sel; do
|
for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"Saitek-R.A.T.3"') script install/xorg/input-drivers/saitekrat3;;
|
"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.3") script install/xorg/input-drivers/madcatzrat3;;
|
||||||
'"Madcatz-R.A.T.5"') script install/xorg/input-drivers/madcatzrat5;;
|
"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.7") script install/xorg/input-drivers/madcatzrat7;;
|
||||||
'"Madcatz-R.A.T.9"') script install/xorg/input-drivers/madcatzrat9;;
|
"Madcatz-R.A.T.9") script install/xorg/input-drivers/madcatzrat9;;
|
||||||
'"Madcatz-R.A.T.TE"') script install/xorg/input-drivers/madcatzratte;;
|
"Madcatz-R.A.T.TE") script install/xorg/input-drivers/madcatzratte;;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -18,7 +18,7 @@ for item in $items; do
|
||||||
esac
|
esac
|
||||||
done
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ options+=("Video Drivers" "")
|
||||||
#options+=("Complements" "")
|
#options+=("Complements" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
@ -21,7 +21,7 @@ sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
|
||||||
case $sel in
|
case $sel in
|
||||||
'GPU Infos')
|
'GPU Infos')
|
||||||
gpus=$(lspci | grep -e VGA -e 3D)
|
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;;
|
'Install') script install/xorg/install;;
|
||||||
'Fonts') menu install/xorg/fonts/menu;;
|
'Fonts') menu install/xorg/fonts/menu;;
|
||||||
|
|
|
@ -6,7 +6,7 @@ options+=("Open Source" "")
|
||||||
options+=("Proprietary" "")
|
options+=("Proprietary" "")
|
||||||
|
|
||||||
defaultitem=""
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue