Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/applications')
-rw-r--r--profiles/applications/awesome.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py
index 62d57d65..d81f6283 100644
--- a/profiles/applications/awesome.py
+++ b/profiles/applications/awesome.py
@@ -6,10 +6,9 @@ with open(f'{installation.mountpoint}/etc/X11/xinit/xinitrc', 'r') as xinitrc:
xinitrc_data = xinitrc.read()
for line in xinitrc_data.split('\n'):
- print('twm &' in line, line)
- if 'twm &' in line: xinitrc_data.replace(line, f"# {line}")
- if 'xclock' in line: xinitrc_data.replace(line, f"# {line}")
- if 'xterm' in line: xinitrc_data.replace(line, f"# {line}")
+ if 'twm &' in line: xinitrc_data = xinitrc_data.replace(line, f"# {line}")
+ if 'xclock' in line: xinitrc_data = xinitrc_data.replace(line, f"# {line}")
+ if 'xterm' in line: xinitrc_data = xinitrc_data.replace(line, f"# {line}")
xinitrc_data += '\n'
xinitrc_data += 'xscreensaver -no-splash &\n'