Rework how alacritty is installed for awesome
This commit is contained in:
parent
8706b48097
commit
2d4326b6c5
|
|
@ -1,5 +1,8 @@
|
|||
import archinstall
|
||||
|
||||
packages = "plasma-meta konsole kate dolphin sddm plasma-wayland-session"
|
||||
|
||||
if "nvidia" in _gfx_driver_packages:
|
||||
packages = packages + " egl-wayland"
|
||||
|
||||
installation.add_additional_packages(packages)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ is_top_level_profile = False
|
|||
|
||||
# New way of defining packages for a profile, which is iterable and can be used out side
|
||||
# of the profile to get a list of "what packages will be installed".
|
||||
__packages__ = ['nemo', 'gpicview-gtk3', 'scrot']
|
||||
__packages__ = ['nemo', 'gpicview-gtk3', 'scrot', 'alacritty']
|
||||
|
||||
def _prep_function(*args, **kwargs):
|
||||
"""
|
||||
|
|
@ -35,9 +35,6 @@ if __name__ == 'awesome':
|
|||
|
||||
installation.add_additional_packages(__packages__)
|
||||
|
||||
alacritty = archinstall.Application(installation, 'alacritty')
|
||||
alacritty.install()
|
||||
|
||||
# TODO: Copy a full configuration to ~/.config/awesome/rc.lua instead.
|
||||
with open(f'{installation.target}/etc/xdg/awesome/rc.lua', 'r') as fh:
|
||||
awesome_lua = fh.read()
|
||||
|
|
|
|||
Loading…
Reference in New Issue