Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/desktop.py
AgeCommit message (Collapse)Author
2021-12-02Add simple menu for better UX (#660)Daniel
* Add simple menu for better UX * Add remove external dependency * Fix harddisk return value on skip * Table output for partitioning process * Switch partitioning to simple menu * fixup! Switch partitioning to simple menu * Ignoring complexity and binary operator issues Only in simple_menu.py * Added license text to the MIT licensed file * Added in versioning information * Fixed some imports and removed the last generic_select() from user_interaction. Also fixed a revert/merged fork of ask_for_main_filesystem_format() * Update color scheme to match Arch style better * Use cyan as default cursor color * Leave simple menu the same Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-07-18fixed profile selectionYash Tripathi
2021-07-18added new key for desktop-environmentYash Tripathi
2021-06-13Setting proper keys in exported config (#557)Yash Tripathi
* Set the resolved profile path to the actual desktop environment * split Nvidia driver list into proprietary and open-source * Updated select_driver to use archinstall.arguments for driver selection * Adding default value that works with later .get() * audio will now be prompted irrespective of profile
2021-06-13Implement is_desktop_profile helper function (#575)Dylan M. Taylor
* Implement is_desktop_profile helper function * Make ask_for_audio_selection use generic_select * Fix default value for audio selection * Leverage list of supported desktops to perform is_desktop_profile check * is_desktop_profile was missing a default return value * Store return value for audio server
2021-05-27Add descriptions for top-level profilesDylan M. Taylor
2021-05-19Added support for getting configuration from a config file (#364)Yash Tripathi
* added support for ingesting config * fixed condition to check key in dictionary * Removed redundant code, profile and desktop keys are now optional * Added base-config.json and support for pulling credentials from .env * added base config file and env file for users credentials * added silent install switch * added python-dotenv as a dependency * Updated Readme to include argparse changes as well as config ingestion * Updated Readme to include argparse changes as well as config ingestion * fixed typo in pyproject.toml * Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me. * Fixes string index error. * Quotation error. * fixed initializing --script argument * added python-dotenv as a dependency * Installation can't be silent if config is not passed * fixed silent install help * fixed condition for ask_user_questions * reverted to creating profile object properly * Cleaned up and incorporated suggestions * added Profile import * added condition if Profile is null * fixed condition * updated parsing vars from argparse * removed loading users from .env * Reworking SysCommand & Moving to localectl for locale related activities (#4) * Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*. * Swapped `loadkeys` for localectl. * Renamed `main` to `maim` in awesome profile. * Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target. * Exposing systemd.py's internals to archinstall global scope. * Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69. * `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`. * Adding back peak_output=True to pacstrap. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> * fixed indent * removed redundant import * removed duplicate import * removed duplicate import Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15Try to remove some unused importsDylan Taylor
2021-05-15Very selectively fix some PEP 8 issues with profilesDylan Taylor
2021-05-15Merge branch 'master' into enlightenmentAnton Hvornum
2021-05-15Implement enlightenment desktopDylan Taylor
2021-05-14Add deepin to desktop profile list so it is selectableDylan M. Taylor
2021-05-12Replaced the magic __builtin__ global variable. This should fix mypy ↵Anton Hvornum
complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
2021-04-20Add sort parameter for generic_selectSecondThundeR
Updated required features to support these change
2021-04-19Update some functionsSecondThundeR
Here are list of changes: - Added IP/subnet validation using Python's `ipaddress` module - Added workaround for network configuration modes where user can enter DHCP or IP without brackets. - Returned local printing options for some functions to keep `The above list...` - Moved booleans for `generic_select` below options and text parameters - Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines. - Reduced variable name length for simplicity - Fixed some typos
2021-04-17Replace input with generic_select where necessarySecondThundeR
Here are list of changes: > From now on, `generic_select` will be called "Select function", for clarity - Slightly updated select function - Removed options output for some functions, where it's better to do with select function - Added sorting for all lists passed to select function - Replaced `dict.values()` with `dict` as options parameter - Simplified input checking for all functions that use the select function - Added temporary *(for now)* workaround for passing `?` and `help` inputs - Merged fix for `partition.format()`
2021-04-11Implement MATE desktop environmentDylan Taylor
2021-04-09Try to solve #261 and related issuesDylan M. Taylor
2021-04-09Forgot to commit adding budgie to desktop profileDylan M. Taylor
2021-04-09Merge pull request #247 from dylanmtaylor/patch-3Anton Hvornum
draft: Cherry-Pick i3 Profiles and Make Common i3 Package
2021-04-08Add i3 profile to desktop.pyDylan M. Taylor
2021-04-08Add vim to desktop packages as not everyone likes nanoDylan M. Taylor
2021-04-08Initial implementation of LXQtDylan Taylor
2021-04-08Integrate XFCE4 with masterDylan Taylor
2021-04-08Integrate cinnamon with changes on master.Dylan Taylor
2021-04-08Add sway profile to desktop fileDylan Taylor
2021-04-08Move from awesome to desktop and add wireless config utilities and smartmontoolsDylan M. Taylor
2021-04-08Add minimal profile and implement idea of 'top-level' profilesDylan Taylor
2021-04-04Fix misspellingsRafael Fontenelle
2021-01-21Spell "environment" correctlyj-james
2020-10-18Spelling error on fileAnton Hvornum
2020-08-20Added a unattended installer. Fixed list_profiles() to not include .py ↵Anton Hvornum
ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
2020-08-04Removed legacy .json profiles. Not in favor of .pyAnton Hvornum
2020-07-22New feature: application profiles now support .py as well. Also fixed a ↵Anton Hvornum
sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)
2020-07-08v2.0.3 prep release. Profile now fully support python scripting instead of ↵Anton Hvornum
JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff
2020-07-08Added support for .py profiles. Added a simple 'desktop.py' for now that is ↵Anton Hvornum
just a mock to make sure it's working.