Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-12 08:53:38 -0400
committerGitHub <noreply@github.com>2021-04-12 08:53:38 -0400
commit64b0ef85402e30b375c44a1103f4bbb6e2fced84 (patch)
tree6185a87a53ec09651549c1e924939a3b7e256302 /profiles
parent897b67f7518b5fc0bac1f8a3fd02dc2d1266aea7 (diff)
Fix awesome profile installation
Diffstat (limited to 'profiles')
-rw-r--r--profiles/awesome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/awesome.py b/profiles/awesome.py
index 0b00a424..cbd52a3c 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -39,13 +39,13 @@ if __name__ == 'awesome':
alacritty.install()
# 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()
## Replace xterm with alacritty for a smoother experience.
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)
## TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config)