From 2847ad657854edc79caafed5eb58b4134f27afaa Mon Sep 17 00:00:00 2001 From: koumakpet Date: Wed, 11 Mar 2020 15:36:21 +0100 Subject: [PATCH] Main Wrap --- package_install.py | 84 +++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/package_install.py b/package_install.py index bb0da24..18c48c5 100644 --- a/package_install.py +++ b/package_install.py @@ -2,47 +2,53 @@ from lib import Print, Install -Install.upgrade_pacman() +def main(): + Install.upgrade_pacman() -Print.action('Package Installation') + Print.action('Package Installation') -Install.package('networkmanager') -Install.package( - 'git', 'default + (Required for some installations, otherwise they\'ll be skipped)') -Install.package('zsh', 'default + shell') -Install.package('sudo') + Install.package('networkmanager') + Install.package( + 'git', 'default + (Required for some installations, otherwise they\'ll be skipped)') + Install.package('zsh', 'default + shell') + Install.package('sudo') -# Desktop Enviroment -Install.multiple_packages(['plasma', 'plasma-desktop', 'gnome'], 'Do you wish to install DE (Desktop Enviroment)?', [ - 'Plasma (KDE)', 'Plasma-Desktop (KDE-Minimal dependencies)', 'Gnome']) -# Display Manager -Install.multiple_packages(['sddm', 'gdm', 'lightdm'], 'Do you wish to install DM (Display Manager)?', [ - 'SDDM (KDE)', 'GDM (Gnome)', 'LightDM']) + # Desktop Enviroment + Install.multiple_packages(['plasma', 'plasma-desktop', 'gnome'], 'Do you wish to install DE (Desktop Enviroment)?', [ + 'Plasma (KDE)', 'Plasma-Desktop (KDE-Minimal dependencies)', 'Gnome']) + # Display Manager + Install.multiple_packages(['sddm', 'gdm', 'lightdm'], 'Do you wish to install DM (Display Manager)?', [ + 'SDDM (KDE)', 'GDM (Gnome)', 'LightDM']) -Install.package('base-devel', 'default + (Required for makepkg installs)') -Install.git_aur( - 'yay', 'default + (Required for some installations, otherwise they\'ll be skipped)') -Install.package('exa', 'default + (Better ls tool)') -Install.package('terminator', 'default + (advanced terminal)') -Install.package('konsole', 'default + (KDE terminal emulator)') -Install.package( - 'ark', 'default + (Managing various archive formats such as tar, gzip, zip, rar, etc.)') -Install.package('cron', 'default + (Task scheduling)') -Install.package('dolphin', 'default + (File Manager)') -Install.package('nomacs', 'default + (Photo viewer & editor)') -Install.package('discord', 'default + (Chat App)') -Install.package( - 'spotify', 'default + (Online Music Player)', use_yay=True) -Install.package( - 'spectacle', 'default + (Screenshot tool)') -Install.package('qalculate-gtk-nognome', - 'Do you wish to install Qalculate! (Complex Calculator)?', use_yay=True) -Install.package('gnome-system-monitor', - 'Do you wish to install gnome system monitor?') -Install.package( - 'code', 'Do you wish to install Visual Studio Code (Text/Code Editor)?') -Install.package('filelight', 'default + (Disk usage statistics and graphs)') -Install.multiple_packages(['firefox', 'chromium'], - 'Do you wish to install web browser?') + Install.package('base-devel', 'default + (Required for makepkg installs)') + Install.git_aur( + 'yay', 'default + (Required for some installations, otherwise they\'ll be skipped)') + Install.package('exa', 'default + (Better ls tool)') + Install.package('terminator', 'default + (advanced terminal)') + Install.package('konsole', 'default + (KDE terminal emulator)') + Install.package( + 'ark', 'default + (Managing various archive formats such as tar, gzip, zip, rar, etc.)') + Install.package('cron', 'default + (Task scheduling)') + Install.package('dolphin', 'default + (File Manager)') + Install.package('nomacs', 'default + (Photo viewer & editor)') + Install.package('discord', 'default + (Chat App)') + Install.package( + 'spotify', 'default + (Online Music Player)', use_yay=True) + Install.package( + 'spectacle', 'default + (Screenshot tool)') + Install.package('qalculate-gtk-nognome', + 'Do you wish to install Qalculate! (Complex Calculator)?', use_yay=True) + Install.package('gnome-system-monitor', + 'Do you wish to install gnome system monitor?') + Install.package( + 'code', 'Do you wish to install Visual Studio Code (Text/Code Editor)?') + Install.package( + 'filelight', 'default + (Disk usage statistics and graphs)') + Install.multiple_packages(['firefox', 'chromium'], + 'Do you wish to install web browser?') -Print.action('Package Installation Complete') + Print.action('Package Installation Complete') + + +if __name__ == "__main__": + main()