Update essential packages

This commit is contained in:
Augusto Gunsch 2021-08-13 10:44:58 -03:00
parent cd42e11d81
commit 62127ac267
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
3 changed files with 8 additions and 4 deletions

View File

@ -235,13 +235,15 @@ set_locale() {
echo "done" echo "done"
echo -n "Setting keyboard layout..." echo -n "Setting keyboard layout..."
IFS=, read -r dummy XKBD_LAYOUT XKBD_MODEL XKBD_VARIANT XKBD_OPTIONS <<< "$(grep "^$KBD_LAYOUT," -m1 keyboard-map.csv)" IFS=, read -r dummy XKBD_LAYOUT XKBD_MODEL XKBD_VARIANT XKBD_OPTIONS <<< "$(grep "^$KBD_LAYOUT," -m1 keyboard-map.csv)"
# systemd and others may read from here
echo "KEYMAP=$KBD_LAYOUT" > /mnt/etc/vconsole.conf echo "KEYMAP=$KBD_LAYOUT" > /mnt/etc/vconsole.conf
# while openrc and others may read from here
echo "keymap=\"$XKBD_LAYOUT\"" > /mnt/etc/conf.d/keymaps echo "keymap=\"$XKBD_LAYOUT\"" > /mnt/etc/conf.d/keymaps
# and X11 will read from here
local XKBD_CONF="/mnt/etc/X11/xorg.conf.d/00-keyboard.conf" local XKBD_CONF="/mnt/etc/X11/xorg.conf.d/00-keyboard.conf"
mkdir -p $(dirname $XKBD_CONF) mkdir -p $(dirname $XKBD_CONF)
echo "Section \"InputClass\"" > $XKBD_CONF echo "Section \"InputClass\"" > $XKBD_CONF

View File

@ -11,8 +11,6 @@ SRC,https://github.com/augustogunsch/dwm-bar,Dwm status bar
PAC,feh,Image viewer PAC,feh,Image viewer
PAC,firejail,Sandbox program PAC,firejail,Sandbox program
PAC,fzf,Fuzzy finder PAC,fzf,Fuzzy finder
PAC,gcc,C compiler
PAC,go,Go compiler
PAC,gvim,Text editor PAC,gvim,Text editor
PAC,libnotify,Implementation of the Desktop Notifications Specification PAC,libnotify,Implementation of the Desktop Notifications Specification
PAC,libxinerama,X11 extension which provides support for extending a desktop across multiple displays PAC,libxinerama,X11 extension which provides support for extending a desktop across multiple displays

1 PAC alsa-utils Utilities for ALSA
11 PAC feh Image viewer
12 PAC firejail Sandbox program
13 PAC fzf Fuzzy finder
PAC gcc C compiler
PAC go Go compiler
14 PAC gvim Text editor
15 PAC libnotify Implementation of the Desktop Notifications Specification
16 PAC libxinerama X11 extension which provides support for extending a desktop across multiple displays

View File

@ -570,8 +570,12 @@ install_packages() {
quiet pacman -Sqyu --noconfirm quiet pacman -Sqyu --noconfirm
echo "done" echo "done"
install sudo # essential packages
# these should be installed before as they are needed to build other packages
install sudo "Tool for running a command as other user"
install git "Version control system" install git "Version control system"
install go "Go compiler"
install gcc "C compiler"
install_loop install_loop
} }