Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/awesome.py
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/awesome.py')
-rw-r--r--profiles/awesome.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/profiles/awesome.py b/profiles/awesome.py
index ee812eb3..aa4702a6 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -8,6 +8,7 @@ is_top_level_profile = False
# of the profile to get a list of "what packages will be installed".
__packages__ = ['nemo', 'gpicview', 'main', 'alacritty']
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -39,14 +40,14 @@ if __name__ == 'awesome':
with open(f"{archinstall.storage['installation_session'].target}/etc/xdg/awesome/rc.lua", 'r') as fh:
awesome_lua = fh.read()
- ## Replace xterm with alacritty for a smoother experience.
+ # Replace xterm with alacritty for a smoother experience.
awesome_lua = awesome_lua.replace('"xterm"', '"alacritty"')
with open(f"{archinstall.storage['installation_session'].target}/etc/xdg/awesome/rc.lua", 'w') as fh:
fh.write(awesome_lua)
- ## TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config)
-
- ## Remove some interfering nemo settings
+ # TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config)
+
+ # Remove some interfering nemo settings
archinstall.storage['installation_session'].arch_chroot("gsettings set org.nemo.desktop show-desktop-icons false")
archinstall.storage['installation_session'].arch_chroot("xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search")