Fix awesome profile installation
This commit is contained in:
parent
897b67f751
commit
64b0ef8540
|
|
@ -39,13 +39,13 @@ if __name__ == 'awesome':
|
||||||
alacritty.install()
|
alacritty.install()
|
||||||
|
|
||||||
# TODO: Copy a full configuration to ~/.config/awesome/rc.lua instead.
|
# TODO: Copy a full configuration to ~/.config/awesome/rc.lua instead.
|
||||||
with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'r') as fh:
|
with open(f'{installation.target}/etc/xdg/awesome/rc.lua', 'r') as fh:
|
||||||
awesome_lua = fh.read()
|
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"')
|
awesome_lua = awesome_lua.replace('"xterm"', '"alacritty"')
|
||||||
|
|
||||||
with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'w') as fh:
|
with open(f'{installation.target}/etc/xdg/awesome/rc.lua', 'w') as fh:
|
||||||
fh.write(awesome_lua)
|
fh.write(awesome_lua)
|
||||||
|
|
||||||
## TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config)
|
## TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue