Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/awesome.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-01-19 23:34:11 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-01-19 23:34:11 +0100
commit53a4a082da03549c972b39e6d9479acf3b038cca (patch)
treeacd0a4acd535925be45bb1680f3c6c7039fd2c30 /profiles/applications/awesome.py
parentc5250fbe3e83bbc5d56a3dc931eaae7b8a3df9aa (diff)
Added a profile for alacritty as well as tweaked the awesome profile and application profile.
Diffstat (limited to 'profiles/applications/awesome.py')
-rw-r--r--profiles/applications/awesome.py12
1 files changed, 3 insertions, 9 deletions
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