Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 11:52:28 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 11:52:28 +0000
commit7f7cb6b89b38f32beb411e112001e3230aa972ed (patch)
treef70d6d9084c94aec5ecdeffae5aacd4fc42d8bc1
parent6fe4fdfce1de2f17a077fa694e8ec5da2083a8e5 (diff)
Forgot to replace the xinitrc data after replacing lines.
-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'