2020-11-11 08:58:21 -05:00
|
|
|
#!/bin/bash
|
|
|
|
function upgrade2ultimate
|
|
|
|
{
|
|
|
|
rm -rf /tmp/setup-assistant
|
|
|
|
mkdir -p /tmp/setup-assistant
|
2020-10-27 08:02:51 -04:00
|
|
|
|
2020-11-11 08:58:21 -05:00
|
|
|
clear
|
2020-11-12 07:31:48 -05:00
|
|
|
if ! yad \
|
|
|
|
--image='font-manager' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-12 07:31:48 -05:00
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
2020-12-12 06:35:51 -05:00
|
|
|
--text "Do you need cjk font support (fixes missing characters)?"; then
|
2020-12-04 11:02:34 -05:00
|
|
|
echo "noto-fonts-cjk" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-11 08:58:21 -05:00
|
|
|
fi
|
|
|
|
|
2020-12-12 06:35:51 -05:00
|
|
|
if ! yad \
|
|
|
|
--image='printer' \
|
|
|
|
--title="Upgrade to ULTIMATE" \
|
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
|
|
|
--text "Do you need Printer,Scanner and Samba Support?"; then
|
|
|
|
if pacman -Qs plasma-workspace > /dev/null ; then
|
|
|
|
echo "printer-support
|
|
|
|
scanner-support
|
|
|
|
samba-support
|
|
|
|
kdenetwork-filesharing
|
|
|
|
print-manager
|
|
|
|
skanlite" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
else
|
|
|
|
echo "printer-support
|
|
|
|
scanner-support
|
|
|
|
samba-support
|
|
|
|
gvfs-samba
|
|
|
|
simple-scan" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
fi
|
2020-11-18 09:47:48 -05:00
|
|
|
|
|
|
|
if ! yad \
|
|
|
|
--image='wallpaper' \
|
|
|
|
--title="Upgrade to ULTIMATE" \
|
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
|
|
|
--text "Do you want to install additional Garuda wallpapers?"; then
|
|
|
|
echo "garuda-wallpapers-extra" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
if ! yad \
|
|
|
|
--image='AppImageLauncher' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-12 07:31:48 -05:00
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
2020-11-12 08:10:38 -05:00
|
|
|
--text "What about Snaps, Flatpak, Appimage and firmware update support?"; then
|
2020-12-10 01:45:57 -05:00
|
|
|
if pacman -Qs pamac-aur > /dev/null ; then
|
|
|
|
echo "sudo pacman --noconfirm -R pamac-aur" >> /tmp/setup-assistant/prepare.sh
|
|
|
|
fi
|
|
|
|
if pacman -Qs pamac-tray-appindicator > /dev/null ; then
|
|
|
|
echo "sudo pacman --noconfirm -R pamac-tray-appindicator" >> /tmp/setup-assistant/prepare.sh
|
|
|
|
fi
|
2020-11-12 07:31:48 -05:00
|
|
|
echo "pamac-all
|
|
|
|
appimagelauncher
|
|
|
|
fwupd
|
2020-11-14 00:50:11 -05:00
|
|
|
gnome-firmware
|
2020-11-12 07:31:48 -05:00
|
|
|
apparmor
|
|
|
|
snapd
|
|
|
|
snapd-glib
|
|
|
|
flatpak" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 11:10:25 -05:00
|
|
|
echo "sudo systemctl enable --now snapd.socket" >> /tmp/setup-assistant/setup_root.sh
|
|
|
|
echo "sudo systemctl enable --now apparmor.service" >> /tmp/setup-assistant/setup_root.sh
|
|
|
|
echo "sudo systemctl enable --now snapd.apparmor.service" >> /tmp/setup-assistant/setup_root.sh
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-11 10:18:59 -05:00
|
|
|
|
2020-11-11 08:58:21 -05:00
|
|
|
|
2020-11-12 11:10:25 -05:00
|
|
|
if pacman -Qs plasma-desktop > /dev/null ; then
|
|
|
|
if ! yad \
|
|
|
|
--image='plasmashell' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 11:10:25 -05:00
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
|
|
|
--text "Do you want to install additional KDE applications?"; then
|
|
|
|
echo "elisa
|
|
|
|
khelpcenter
|
|
|
|
krdc
|
|
|
|
krfb
|
|
|
|
kompare
|
|
|
|
krita
|
|
|
|
krename
|
|
|
|
ksystemlog
|
2020-11-18 10:15:51 -05:00
|
|
|
khotkeys
|
|
|
|
drkonqi
|
|
|
|
kscreen
|
|
|
|
kgamma5
|
|
|
|
ksshaskpass
|
|
|
|
kwrited
|
2020-11-12 11:10:25 -05:00
|
|
|
kmouth
|
|
|
|
lokalize
|
|
|
|
kup
|
|
|
|
kmag
|
|
|
|
kimtoy
|
|
|
|
kleopatra
|
|
|
|
qt5-imageformats
|
|
|
|
kimageformats
|
2020-11-18 10:15:51 -05:00
|
|
|
kdeplasma-addons
|
|
|
|
plasma-thunderbolt
|
|
|
|
plasma-vault
|
|
|
|
plasma-disks
|
|
|
|
plasma-meta
|
2020-11-12 11:10:25 -05:00
|
|
|
vlc" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if pacman -Qs gnome-shell > /dev/null ; then
|
|
|
|
if ! yad \
|
|
|
|
--image='gnome-shell' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 11:10:25 -05:00
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
|
|
|
--text "Do you want to install additional GNOME applications?"; then
|
|
|
|
echo "gpaste
|
|
|
|
eog-plugins
|
|
|
|
grilo-plugins
|
|
|
|
seahorse-nautilus
|
|
|
|
gtkhash-nautilus
|
|
|
|
gnome-logs
|
|
|
|
gnome-remote-desktop
|
|
|
|
gnome-sound-recorder
|
|
|
|
vino
|
|
|
|
rygel
|
2020-11-13 12:17:00 -05:00
|
|
|
shotwell
|
|
|
|
lollypop" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 11:10:25 -05:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
yad \
|
|
|
|
--image='libreoffice-main' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-12 07:31:48 -05:00
|
|
|
--text "There are a lot of office suites to choose from!" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-12 07:31:48 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Office \
|
|
|
|
--center < /usr/lib/setup-assistant/office.txt > /tmp/setup-assistant/office.txt
|
|
|
|
|
|
|
|
if grep -R "LibreOffice Fresh" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "libreoffice-fresh
|
|
|
|
libmythes" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
if grep -R "LibreOffice Still" /tmp/setup-assistant/office.txt; then
|
|
|
|
echo "libreoffice-still
|
|
|
|
libmythes" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "OnlyOffice" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "onlyoffice-bin" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
if grep -R "WPS Office" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "wps-office
|
|
|
|
wps-office-mime
|
|
|
|
ttf-wps-fonts" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
if grep -R "Free Office" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "freeoffice" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-12 11:10:25 -05:00
|
|
|
if grep -R "Microsoft Office" /tmp/setup-assistant/office.txt; then
|
|
|
|
echo "ms-office-online" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-12 07:31:48 -05:00
|
|
|
if grep -R "Yozo Office" /tmp/setup-assistant/office.txt; then
|
|
|
|
echo "yozo-office
|
2020-11-11 09:59:30 -05:00
|
|
|
yozo-office-fonts" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
if grep -R "Calligra Office" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "calligra" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
if grep -R "Abiword" /tmp/setup-assistant/office.txt; then
|
2020-11-11 09:59:30 -05:00
|
|
|
echo "abiword" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-11 08:58:21 -05:00
|
|
|
fi
|
2020-11-14 05:32:15 -05:00
|
|
|
if grep -R "Joplin" /tmp/setup-assistant/office.txt; then
|
2020-12-10 01:45:57 -05:00
|
|
|
echo "joplin-desktop-electron" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-14 05:32:15 -05:00
|
|
|
fi
|
2020-10-27 08:02:51 -04:00
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
yad \
|
2020-11-13 06:44:17 -05:00
|
|
|
--image='firefox' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-13 06:44:17 -05:00
|
|
|
--text "Here are some browsers that you can choose from:" \
|
2020-11-12 07:31:48 -05:00
|
|
|
--geometry=600x400 \
|
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
2020-11-13 06:44:17 -05:00
|
|
|
--center < /usr/lib/setup-assistant/browsers.txt > /tmp/setup-assistant/browsers.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Firefox" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "firefox" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Chromium" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "chromium" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Vivaldi" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "vivaldi
|
|
|
|
vivaldi-ffmpeg-codecs" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Opera" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "opera
|
|
|
|
opera-ffmpeg-codecs" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-16 10:41:41 -05:00
|
|
|
if grep -R "Tor Browser" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "torbrowser-launcher" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Otter Browser" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "otter-browser" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Brave" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "brave" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Falkon" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "falkon" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Ungoogled" /tmp/setup-assistant/browsers.txt; then
|
|
|
|
echo "ungoogled-chromium" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
yad \
|
|
|
|
--image='nextcloud-client' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
2020-11-13 12:17:00 -05:00
|
|
|
--text "Some general internet applications?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/internet.txt > /tmp/setup-assistant/internet.txt
|
|
|
|
|
|
|
|
if grep -R "Nextcloud-client" /tmp/setup-assistant/internet.txt; then
|
2020-11-12 07:31:48 -05:00
|
|
|
echo "nextcloud-client" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Firefox Bitwarden" /tmp/setup-assistant/internet.txt; then
|
2020-11-12 07:31:48 -05:00
|
|
|
echo "firefox-extension-bitwarden" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Firefox XDM" /tmp/setup-assistant/internet.txt; then
|
2020-11-12 07:31:48 -05:00
|
|
|
echo "firefox-extension-xdm-browser-monitor" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Syncthing-GTK" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "syncthing-gtk" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Filezilla" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "filezilla" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Putty" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "putty" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Nitroshare" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "nitroshare" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Jdownloader2" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "jdownloader2" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-14 05:32:15 -05:00
|
|
|
if grep -R "Deluge" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "deluge-gtk" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Qbittorrent" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "qbittorrent" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-14 05:32:15 -05:00
|
|
|
if grep -R "Cockpit" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "cockpit
|
|
|
|
cockpit-dashboard
|
|
|
|
cockpit-machines" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
echo "sudo systemctl enable --now cockpit.socket" >> /tmp/setup-assistant/setup_root.sh
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Twitch GUI" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "streamlink-twitch-gui" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-14 05:32:15 -05:00
|
|
|
if grep -R "Remmina" /tmp/setup-assistant/internet.txt; then
|
|
|
|
echo "remmina" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
|
|
|
|
|
|
|
|
yad \
|
|
|
|
--image='telegram-desktop' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
2020-11-13 12:17:00 -05:00
|
|
|
--text "Do you need communication software?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/communication.txt > /tmp/setup-assistant/communication.txt
|
|
|
|
|
|
|
|
if grep -R "Telegram Desktop" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "telegram-desktop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Discord" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "discord" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Element" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "element-desktop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Wire" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "wire-desktop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Signal" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "signal-desktop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Jitsi-Meet" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "jitsi-meet" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Zoom" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "zoom" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Skype" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "skypeforlinux-stable-bin" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Slack" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "slack-desktop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Whatsapp" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "whatsapp-nativefier" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Mumble" /tmp/setup-assistant/communication.txt; then
|
|
|
|
echo "mumble" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
2020-11-13 06:44:17 -05:00
|
|
|
yad \
|
|
|
|
--image='thunderbird' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
|
|
|
--text "Mail clients:" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/mail.txt > /tmp/setup-assistant/mail.txt
|
|
|
|
|
|
|
|
if grep -R "Thunderbird" /tmp/setup-assistant/mail.txt; then
|
|
|
|
echo "thunderbird" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Kmail" /tmp/setup-assistant/mail.txt; then
|
|
|
|
echo "kmail" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Geary" /tmp/setup-assistant/mail.txt; then
|
|
|
|
echo "geary" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Trojita" /tmp/setup-assistant/mail.txt; then
|
|
|
|
echo "trojita" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Mailspring" /tmp/setup-assistant/mail.txt; then
|
|
|
|
echo "mailspring" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
|
|
|
|
yad \
|
2020-11-13 06:44:17 -05:00
|
|
|
--image='audacity' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
|
|
|
--text "What about audio software?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/audio.txt >> /tmp/setup-assistant/audio.txt
|
|
|
|
|
|
|
|
if grep -R "Olivia" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "olivia" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Kwave" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "kwave" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 12:17:00 -05:00
|
|
|
if grep -R "Cantata" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "cantata" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Audacious" /tmp/setup-assistant/audio.txt; then
|
2020-11-14 00:50:11 -05:00
|
|
|
echo "audacious" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 12:17:00 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Audacity" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "audacity" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 12:17:00 -05:00
|
|
|
if grep -R "Lollypop" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "lollypop" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Ardour" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "ardour" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "LMMS" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "lmms" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Mixxx" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "mixxx" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "MuseScore" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "musescore" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Rosegarden" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "rosegarden" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Strawberry" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "strawberry" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Bitwig" /tmp/setup-assistant/audio.txt; then
|
|
|
|
echo "bitwig-studio" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
|
|
|
|
yad \
|
2020-11-14 05:52:51 -05:00
|
|
|
--image='kdenlive' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
2020-11-13 12:17:00 -05:00
|
|
|
--text "What about video software?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/video.txt >> /tmp/setup-assistant/video.txt
|
|
|
|
|
|
|
|
if grep -R "Kdenlive" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "kdenlive
|
|
|
|
movit
|
|
|
|
sox
|
|
|
|
opus-tools
|
|
|
|
frei0r-plugins" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Shotcut" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "shotcut" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Pitivi" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "pitivi
|
|
|
|
frei0r-plugins" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Openshot" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "openshot" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 12:17:00 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "OBS Studio" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "obs-studio" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "SMPlayer" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "smplayer
|
|
|
|
smplayer-skins
|
|
|
|
smplayer-themes" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Vlc" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "vlc" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 06:44:17 -05:00
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Baka-Mplayer" /tmp/setup-assistant/video.txt; then
|
|
|
|
echo "baka-mplayer" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 06:44:17 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
2020-12-12 06:35:51 -05:00
|
|
|
|
2020-11-13 06:44:17 -05:00
|
|
|
yad \
|
2020-11-12 07:31:48 -05:00
|
|
|
--image='gimp' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-13 06:44:17 -05:00
|
|
|
--text "What about graphics software?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/graphics.txt >> /tmp/setup-assistant/graphics.txt
|
|
|
|
|
|
|
|
if grep -R "GIMP" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "gimp" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Krita" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "krita
|
|
|
|
krita-plugin-gmic
|
|
|
|
opencolorio" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Kolourpaint" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "kolourpaint" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Digikam" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "digikam" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Inkscape" /tmp/setup-assistant/graphics.txt; then
|
2020-11-26 11:17:47 -05:00
|
|
|
echo "inkscape" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 06:44:17 -05:00
|
|
|
fi
|
|
|
|
if grep -R "Blender" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "blender" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Pencil 2D" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "pencil2d" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Synfig Studio" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "synfigstudio" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "DarkTable" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "darktable" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "FontForge" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "fontforge" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "MyPaint" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "mypaint" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "ImageMagick" /tmp/setup-assistant/graphics.txt; then
|
|
|
|
echo "imagemagick" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
yad \
|
|
|
|
--image='kodi' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
2020-11-12 07:31:48 -05:00
|
|
|
--text "What about multimedia software?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-12 07:31:48 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/multimedia.txt >> /tmp/setup-assistant/multimedia.txt
|
|
|
|
|
|
|
|
if grep -R "Converseen" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "converseen" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Transmageddon" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "transmageddon" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Soundconverter" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "soundconverter" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Stremio" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "stremio" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Kodi" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "kodi
|
|
|
|
kodi-platform
|
|
|
|
kodi-eventclients" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Mediaelch" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "mediaelch" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Subtitlecomposer" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "subtitlecomposer" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Kid3" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "kid3" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "K3B" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "k3b
|
|
|
|
cdparanoia
|
|
|
|
cdrdao
|
|
|
|
dvd+rw-tools
|
|
|
|
emovix
|
|
|
|
transcode
|
|
|
|
vcdimager
|
|
|
|
cdrtools" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "BRASERO" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "brasero" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "XFBURN" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "xfburn" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-12 07:31:48 -05:00
|
|
|
if grep -R "Easytag" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "easytag" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 06:44:17 -05:00
|
|
|
fi
|
|
|
|
if grep -R "Plex" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "plex-media-player" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Handbrake" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "handbrake" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-12-12 06:35:51 -05:00
|
|
|
if grep -R "Mystiq" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "mystiq" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Hypnotix" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "hypnotix" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-13 06:44:17 -05:00
|
|
|
fi
|
2020-11-14 05:32:15 -05:00
|
|
|
if grep -R "Variety" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "variety" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-16 09:06:40 -05:00
|
|
|
if grep -R "Conky" /tmp/setup-assistant/multimedia.txt; then
|
|
|
|
echo "conky-lua-nv
|
|
|
|
conky-manager" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
|
|
|
|
|
|
|
|
yad \
|
|
|
|
--image='code' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-13 06:44:17 -05:00
|
|
|
--window-icon='update' \
|
|
|
|
--text "Are you a developer who needs one of these?" \
|
2020-11-16 09:15:04 -05:00
|
|
|
--geometry=600x500 \
|
2020-11-13 06:44:17 -05:00
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
|
|
|
--center < /usr/lib/setup-assistant/development.txt >> /tmp/setup-assistant/development.txt
|
|
|
|
if grep -R "Visual Studio" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "code" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 11:10:25 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "GNU Emacs" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "emacs" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Atom" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "atom" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "IntelliJ-IDEA" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "intellij-idea-community-edition" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "PyCharm" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "pycharm-community-edition" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "QtCreator" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "qtcreator" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-16 09:06:40 -05:00
|
|
|
if grep -R "GitHub" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "github-desktop-bin" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
2020-11-16 09:15:04 -05:00
|
|
|
if grep -R "Plasma SDK" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "plasma-sdk" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Android Studio" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "android-studio
|
|
|
|
android-studio-launcher" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
fi
|
|
|
|
if grep -R "Docker" /tmp/setup-assistant/development.txt; then
|
2020-12-03 07:25:10 -05:00
|
|
|
echo "podman-docker
|
|
|
|
podman-compose
|
|
|
|
crun" >> /tmp/setup-assistant/pkgs.txt
|
|
|
|
echo "sudo systemctl enable --now podman.socket" >> /tmp/setup-assistant/setup_root.sh
|
2020-11-16 09:15:04 -05:00
|
|
|
fi
|
2020-11-17 03:13:30 -05:00
|
|
|
if grep -R "BlackArch" /tmp/setup-assistant/development.txt; then
|
|
|
|
echo "curl -O https://blackarch.org/strap.sh
|
2020-11-17 04:42:24 -05:00
|
|
|
chmod +x strap.sh
|
2020-11-17 03:13:30 -05:00
|
|
|
sudo ./strap.sh
|
|
|
|
rm strap.sh
|
2020-12-12 06:35:51 -05:00
|
|
|
sed -i 's/^# Server/Server/' /etc/pacman.d/blackarch-mirrorlist
|
2020-11-17 03:13:30 -05:00
|
|
|
sudo pacman -Syu" >> /tmp/setup-assistant/setup_root.sh
|
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
|
|
|
|
yad \
|
|
|
|
--image='virtualbox' \
|
2020-11-15 10:20:59 -05:00
|
|
|
--title="Upgrade to ULTIMATE" \
|
2020-11-12 08:10:38 -05:00
|
|
|
--window-icon='update' \
|
2020-11-12 07:31:48 -05:00
|
|
|
--text "Are you rather a fan of Virtualbox or virt-manager?" \
|
|
|
|
--geometry=600x400 \
|
|
|
|
--list \
|
|
|
|
--checklist \
|
|
|
|
--column=Install \
|
|
|
|
--column=Applications \
|
2020-11-13 06:44:17 -05:00
|
|
|
--center < /usr/lib/setup-assistant/virtualization.txt >> /tmp/setup-assistant/virtualization.txt
|
2020-11-15 11:57:25 -05:00
|
|
|
if grep -R "Virtualbox" /tmp/setup-assistant/virtualization.txt; then
|
2020-12-04 11:02:34 -05:00
|
|
|
echo "virtualbox-meta" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 07:31:48 -05:00
|
|
|
fi
|
2020-11-13 06:44:17 -05:00
|
|
|
if grep -R "Virt-manager" /tmp/setup-assistant/virtualization.txt; then
|
2020-12-04 11:02:34 -05:00
|
|
|
echo "virt-manager-meta" >> /tmp/setup-assistant/pkgs.txt
|
2020-11-12 11:27:31 -05:00
|
|
|
echo "sudo systemctl enable --now libvirtd" >> /tmp/setup-assistant/setup_root.sh
|
2020-11-11 08:58:21 -05:00
|
|
|
fi
|
|
|
|
|
2020-11-12 07:31:48 -05:00
|
|
|
|
2020-11-12 11:10:25 -05:00
|
|
|
alacritty -e sh /usr/lib/setup-assistant/apply.sh
|
2020-11-12 08:22:31 -05:00
|
|
|
|
2020-11-12 11:10:25 -05:00
|
|
|
if [ -e "/tmp/setup-assistant/setup_user.sh" ]; then
|
|
|
|
sh /tmp/setup-assistant/setup_user.sh
|
2020-11-12 08:22:31 -05:00
|
|
|
fi
|
|
|
|
|
2020-11-11 09:59:30 -05:00
|
|
|
rm -rf /tmp/setup-assistant
|
2020-11-11 08:58:21 -05:00
|
|
|
}
|
2020-10-27 08:02:51 -04:00
|
|
|
|
2020-11-12 08:10:38 -05:00
|
|
|
|
2020-10-27 08:02:51 -04:00
|
|
|
systemctl --user enable psd >/dev/null 2>&1 &
|
|
|
|
systemctl --user start psd >/dev/null 2>&1 &
|
|
|
|
|
|
|
|
libinput-gestures-setup autostart >/dev/null 2>&1 &
|
|
|
|
libinput-gestures-setup start >/dev/null 2>&1 &
|
|
|
|
|
2020-10-03 11:50:23 -04:00
|
|
|
|
2020-11-12 08:10:38 -05:00
|
|
|
if ! yad \
|
|
|
|
--image='update' \
|
|
|
|
--title="Setup Assistant" \
|
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
2020-11-16 09:15:04 -05:00
|
|
|
--text "Do you want to get a recent mirrorlist?"; then
|
2020-11-12 11:10:25 -05:00
|
|
|
reflector-simple >/dev/null 2>&1
|
2020-11-12 08:10:38 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
if ! yad \
|
|
|
|
--image='update' \
|
|
|
|
--title="Setup Assistant" \
|
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
2020-11-15 10:20:59 -05:00
|
|
|
--text "Update the system? (recommended!)"; then
|
2020-11-12 11:10:25 -05:00
|
|
|
alacritty -e sudo pacman "-Syyu"
|
2020-11-12 08:10:38 -05:00
|
|
|
fi
|
2020-10-03 11:50:23 -04:00
|
|
|
|
2020-11-12 08:10:38 -05:00
|
|
|
if ! yad \
|
|
|
|
--image='pamac' \
|
|
|
|
--title="Setup Assistant" \
|
|
|
|
--window-icon='update' \
|
|
|
|
--geometry=700x100 \
|
|
|
|
--button=No:0 \
|
|
|
|
--button=Yes:1 \
|
|
|
|
--text-align=center \
|
|
|
|
--center \
|
2020-11-15 10:20:59 -05:00
|
|
|
--text "Upgrade to Ultimate? (You can select which apps you want!)"; then
|
2020-11-12 08:10:38 -05:00
|
|
|
upgrade2ultimate
|
2020-10-03 11:50:23 -04:00
|
|
|
fi
|
2020-11-12 08:10:38 -05:00
|
|
|
|