From 73191b921efc206a518276379a4484807e052d85 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 24 Jan 2021 23:38:20 +0100 Subject: terminus font has changed name upstream from terminus-font-otb to terminus-font. Which is one (of probably many) fonts that is required for awesome to render text in menu's etc. --- profiles/applications/awesome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profiles') diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py index db7e8f4f..578f246e 100644 --- a/profiles/applications/awesome.py +++ b/profiles/applications/awesome.py @@ -3,7 +3,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" + "awesome xorg-xrandr xterm feh slock terminus-font gnu-free-fonts ttf-liberation xsel" ) with open(f'{installation.mountpoint}/etc/X11/xinit/xinitrc', 'r') as xinitrc: -- cgit v1.2.3-70-g09d2 From 9a94a632bfdcbc71b19ee23055296ad7e43987fa Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 24 Jan 2021 23:52:17 +0100 Subject: Slimmed the awesome WM profile a bit more. added a TODO to ask the users to select a browser rather than 'forcing' one on them --- profiles/awesome.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'profiles') diff --git a/profiles/awesome.py b/profiles/awesome.py index 27e7fc05..0e027714 100644 --- a/profiles/awesome.py +++ b/profiles/awesome.py @@ -31,25 +31,24 @@ if __name__ == 'awesome': # Then setup and configure the desktop environment: awesome editor = "nano" filebrowser = "nemo gpicview-gtk3" - webbrowser = "chromium" - virtulization = "qemu ovmf" - utils = "openssh sshfs git htop pkgfile scrot dhclient wget smbclient cifs-utils libu2f-host" + webbrowser = "chromium" # TODO: Ask the user to select one instead + utils = "openssh sshfs git htop pkgfile scrot dhclient wget libu2f-host" - installation.add_additional_packages(f"{webbrowser} {utils} {virtulization} {filebrowser} {editor}") + installation.add_additional_packages(f"{webbrowser} {utils} {filebrowser} {editor}") alacritty = archinstall.Application(installation, 'alacritty') alacritty.install() # TODO: Copy a full configuration to ~/.config/awesome/rc.lua instead. - with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'r') as awesome_rc_lua: - awesome_lua = awesome_rc_lua.read() + with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'r') as fh: + awesome_lua = fh.read() ## Replace xterm with alacritty for a smoother experience. - awesome_lua = awesome_rc_lua.replace('"xterm"', '"alacritty"') + awesome_lua = awesome_lua.replace('"xterm"', '"alacritty"') - with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'w') as awesome_rc_lua: - awesome_rc_lua.write(awesome_lua) + with open(f'{installation.mountpoint}/etc/xdg/awesome/rc.lua', 'w') as fh: + fh.write(awesome_lua) ## TODO: Configure the right-click-menu to contain the above packages that were installed. (as a user config) -- cgit v1.2.3-70-g09d2