diff --git a/arch-root/install.sh b/arch-root/install.sh index 603c199..4ba3ebb 100644 --- a/arch-root/install.sh +++ b/arch-root/install.sh @@ -4,7 +4,7 @@ set -e PACKAGES=( # system - base apparmor lvm2 greetd sudo # system + linux base linux-firmware lvm2 sudo polkit greetd # basic openssh networkmanager man-db restic htop # admin utils # cli programs @@ -37,7 +37,7 @@ file_has_line() { pacman -Syu pacman -S --needed "${PACKAGES[@]}" -pacman -S --needed brightnessctl sof-firmware intel-media-driver intel-ucode mesa +pacman -S --needed brightnessctl intel-media-driver intel-ucode mesa tlp pacman -S --needed libreoffice-still file_has_line "/etc/profile" "umask 002" diff --git a/arch-user/config/i3blocks/battery b/arch-user/config/i3blocks/battery index 0081394..06fd309 100755 --- a/arch-user/config/i3blocks/battery +++ b/arch-user/config/i3blocks/battery @@ -1,12 +1,14 @@ #!/bin/sh -set -- /sys/class/power_supply/*/capacity; -read cap < "$1" -read st < "/sys/class/power_supply/ACAD/online" || true +read -r stat { [ Control_L ] }; - modifier_map Control { }; replace key { [ Super_L ] }; - modifier_map Mod4 { }; replace key { [ ISO_Level3_Shift ] }; - modifier_map Mod3 { }; replace key { [ Alt_L ] }; - modifier_map Mod1 { }; # layer3 # TODO: migrate to type=ALPHANUMERIC diff --git a/arch-user/config/xkb/symbols/us b/arch-user/config/xkb/symbols/us index 56daf4f..79b4499 100644 --- a/arch-user/config/xkb/symbols/us +++ b/arch-user/config/xkb/symbols/us @@ -10,13 +10,9 @@ xkb_symbols "yz" { # modifiers key.type = "ONE_LEVEL"; replace key { [ Control_L ] }; - modifier_map Control { }; replace key { [ Super_L ] }; - modifier_map Mod4 { }; replace key { [ ISO_Level3_Shift ] }; - modifier_map Mod3 { }; replace key { [ Alt_L ] }; - modifier_map Mod1 { }; # layer3 # TODO: migrate to type=ALPHANUMERIC