index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-01-19 23:34:11 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-01-19 23:34:11 +0100 |
commit | 53a4a082da03549c972b39e6d9479acf3b038cca (patch) | |
tree | acd0a4acd535925be45bb1680f3c6c7039fd2c30 /profiles/applications/awesome.py | |
parent | c5250fbe3e83bbc5d56a3dc931eaae7b8a3df9aa (diff) |
-rw-r--r-- | profiles/applications/awesome.py | 12 |
diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py index c0f0951d..db7e8f4f 100644 --- a/profiles/applications/awesome.py +++ b/profiles/applications/awesome.py @@ -1,5 +1,7 @@ import archinstall +installation.install_profile('xorg') + installation.add_additional_packages( "awesome xorg-xrandr xterm feh slock terminus-font-otb gnu-free-fonts ttf-liberation xsel" ) @@ -19,12 +21,4 @@ xinitrc_data += '\n' xinitrc_data += 'exec awesome\n' with open(f'{installation.mountpoint}/etc/X11/xinit/xinitrc', 'w') as xinitrc: - xinitrc.write(xinitrc_data) - -with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'r') as awesome_rc_lua: - awesome = awesome_rc_lua.read() - -awesome = awesome.replace('xterm', 'xterm -ls -xrm \\"XTerm*selectToClipboard: true\\"') - -with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'w') as awesome_rc_lua: - awesome_rc_lua.write(awesome) + xinitrc.write(xinitrc_data)
\ No newline at end of file |