This commit is contained in:
matt1432 2023-02-15 18:12:27 -05:00
parent 0c14641267
commit a8e66504fe
2 changed files with 60 additions and 8 deletions

View file

@ -165,13 +165,27 @@ lib32-mesa-vdpau
``` ```
## Install [yay](https://github.com/Jguer/yay) ## Install [yay](https://github.com/Jguer/yay)
```
# pacman -S --needed git base-devel
# git clone https://aur.archlinux.org/yay.git
# cd yay
# makepkg -si
```
## Audio ## Audio
### ALSA
``` ```
yay -Sy alsa-utils yay -Sy alsa-utils alsa-firmware sof-firmware alsa-ucm-conf
https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Unmuting_the_channels
https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#ALSA_firmware #unmute speakers
https://wiki.archlinux.org/title/PipeWire#Audio amixer sset Master unmute
```
### Pipewire
```
yay -Sy pipewire-audio pipewire-alsa pipewire-pulse
yay -R pulseaudio-alsa
systemctl stop pulseaudio.service
``` ```
## Firefox touchscreen [tweak](https://wiki.archlinux.org/title/Firefox/Tweaks#Enable_touchscreen_gestures) ## Firefox touchscreen [tweak](https://wiki.archlinux.org/title/Firefox/Tweaks#Enable_touchscreen_gestures)
@ -180,7 +194,9 @@ https://wiki.archlinux.org/title/PipeWire#Audio
https://wiki.archlinux.org/title/KDE#Installation https://wiki.archlinux.org/title/KDE#Installation
https://wiki.archlinux.org/title/SDDM https://wiki.archlinux.org/title/SDDM
iio-sensor-proxy-git
kde-auto-rotate-git ## AUR Packages that are most likely needed
yoga-usage-mode-dkms-git - iio-sensor-proxy-git
onboard - kde-auto-rotate-git
- yoga-usage-mode-dkms-git
- onboard

36
scripts/postinstall.sh Normal file
View file

@ -0,0 +1,36 @@
#!/bin/sh
SSID="$1"
systemctl enable --now iwd systemd-networkd systemd-resolved systemd-timesyncd
echo "check if powered on"
iwctl device list
sleep 5
iwctl station wlan0 scan
iwctl station wlan0 get-networks
iwctl station wlan0 connect "$SSID"
cat << EOF >> /etc/iwd/main.conf
[General]
EnableNetworkConfiguration=true
EOF
useradd -m matt -G wheel
passwd matt
pacman -Syu
pacman -Sy htop iwgtk pkgfile plocate rsync tailscale tmux usbutils wget git curl devtools xorg xf86-video-amdgpu mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
su matt
yay -Sy alsa-utils alsa-firmware sof-firmware alsa-ucm-conf
amixer sset Master unmute
yay -Sy pipewire-audio pipewire-alsa pipewire-pulse
yay -R pulseaudio-alsa
sudo systemctl stop pulseaudio.service
systemctl --user enable --now pipewire-pulse.service