index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | profiles/applications/awesome.py | 7 |
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' |