Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/i3.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 11:35:18 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 11:35:18 -0400
commitffd5b5f80453a609b76e050d6d4e8309c540c28e (patch)
tree02f73e12ff665939f13a161176fd4a34e61f50d3 /profiles/i3.py
parent5254ac62200bb279c855d06bea1006b323bfae87 (diff)
Very selectively fix some PEP 8 issues with profiles
Diffstat (limited to 'profiles/i3.py')
-rw-r--r--profiles/i3.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/profiles/i3.py b/profiles/i3.py
index e99bc549..1972ba59 100644
--- a/profiles/i3.py
+++ b/profiles/i3.py
@@ -8,6 +8,7 @@ is_top_level_profile = False
# of the profile to get a list of "what packages will be installed".
__packages__ = ['i3lock', 'i3status', 'i3blocks', 'xterm', 'lightdm-gtk-greeter', 'lightdm', 'dmenu']
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -17,8 +18,9 @@ def _prep_function(*args, **kwargs):
"""
supported_configurations = ['i3-wm', 'i3-gaps']
- desktop = archinstall.generic_select(supported_configurations, 'Select your desired configuration: ',
- allow_empty_input=False, sort=True)
+ desktop = archinstall.generic_select(
+ supported_configurations, 'Select your desired configuration: ', allow_empty_input=False, sort=True
+ )
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded
@@ -33,6 +35,7 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+
if __name__ == 'i3':
"""
This "profile" is a meta-profile.
@@ -46,7 +49,7 @@ if __name__ == 'i3':
There are plenty of desktop-turn-key-solutions based on Arch Linux,
this is therefore just a helper to get started
"""
-
+
# Install common packages for all i3 configurations
archinstall.storage['installation_session'].add_additional_packages(__packages__[:4])