Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-14 08:28:38 +0000
committerGitHub <noreply@github.com>2021-04-14 08:28:38 +0000
commit82710fe381604fc4db77a2dbe2be8cbae3c61c05 (patch)
tree6aa636675ecacec50b04a07ce65c835d9f6753cb /profiles/applications
parentaf2671c1ec1ac2ecbdbd35c90c3e5016dcf516ed (diff)
parent06920652b3c8d8df7731471ab5e66a0ccb552483 (diff)
Merge pull request #302 from dylanmtaylor/patch-5
Fix some more awesome installation issues
Diffstat (limited to 'profiles/applications')
-rw-r--r--profiles/applications/awesome.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py
index 578f246e..793ee52b 100644
--- a/profiles/applications/awesome.py
+++ b/profiles/applications/awesome.py
@@ -6,7 +6,7 @@ installation.add_additional_packages(
"awesome xorg-xrandr xterm feh slock terminus-font gnu-free-fonts ttf-liberation xsel"
)
-with open(f'{installation.mountpoint}/etc/X11/xinit/xinitrc', 'r') as xinitrc:
+with open(f'{installation.target}/etc/X11/xinit/xinitrc', 'r') as xinitrc:
xinitrc_data = xinitrc.read()
for line in xinitrc_data.split('\n'):
@@ -20,5 +20,5 @@ for line in xinitrc_data.split('\n'):
xinitrc_data += '\n'
xinitrc_data += 'exec awesome\n'
-with open(f'{installation.mountpoint}/etc/X11/xinit/xinitrc', 'w') as xinitrc:
- xinitrc.write(xinitrc_data) \ No newline at end of file
+with open(f'{installation.target}/etc/X11/xinit/xinitrc', 'w') as xinitrc:
+ xinitrc.write(xinitrc_data)