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-17 08:02:46 +0000
committerGitHub <noreply@github.com>2021-04-17 08:02:46 +0000
commit9ed29df8528688132a192959fafc0899fdca6194 (patch)
treeadbc75a03ad664f03f85689d76af7a4c92fe6292 /profiles/applications
parente5b0468384ba70398b91c5418399b0118ece0bc5 (diff)
parentc63d2140a46ee4001f855a575499cd51b7d0c0ee (diff)
Merge pull request #319 from archlinux/torxed-master-merge
Torxed master merge
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 b8d779c0..a63c707b 100644
--- a/profiles/applications/awesome.py
+++ b/profiles/applications/awesome.py
@@ -6,7 +6,7 @@ installation.install_profile('xorg')
installation.add_additional_packages(__packages__)
-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)