install-arch

This commit is contained in:
Geoffrey Frogeye 2020-02-03 08:41:48 +01:00
parent b65e5d9376
commit d834eac6a7

View file

@ -11,7 +11,7 @@ if ! pacman -Q yay &> /dev/null
then then
mkdir -p $HOME/.cache/yay/yay mkdir -p $HOME/.cache/yay/yay
cd $HOME/.cache/yay/yay cd $HOME/.cache/yay/yay
curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar xzvf curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar xzvf -
makepkg -si makepkg -si
fi fi
@ -26,15 +26,18 @@ EndSection
' | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf ' | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf
# Backlight (for Intel Devices) # Backlight (for Intel Devices)
sudo pacman -S xf86-video-intel --needed if [ -d /sys/class/backlight/intel_backlight ]
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch then
sudo pacman -S xf86-video-intel --needed
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
Section "Device" Section "Device"
Identifier "Intel Graphics" Identifier "Intel Graphics"
Driver "intel" Driver "intel"
Option "Backlight" "intel_backlight" Option "Backlight" "intel_backlight"
EndSection EndSection
' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf ' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
fi
# Touchpad # Touchpad
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch echo '# File wrote by ~/.dotfiles/config/scripts/install-arch