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
mkdir -p $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
fi
@ -26,15 +26,18 @@ EndSection
' | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf
# Backlight (for Intel Devices)
sudo pacman -S xf86-video-intel --needed
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
if [ -d /sys/class/backlight/intel_backlight ]
then
sudo pacman -S xf86-video-intel --needed
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight"
EndSection
' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight"
EndSection
' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
fi
# Touchpad
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch