index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-30 11:52:28 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-30 11:52:28 +0000 |
commit | 7f7cb6b89b38f32beb411e112001e3230aa972ed (patch) | |
tree | f70d6d9084c94aec5ecdeffae5aacd4fc42d8bc1 /profiles/applications | |
parent | 6fe4fdfce1de2f17a077fa694e8ec5da2083a8e5 (diff) |
-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' |