install-arch
This commit is contained in:
parent
b65e5d9376
commit
d834eac6a7
|
@ -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"
|
||||
Section "Device"
|
||||
Identifier "Intel Graphics"
|
||||
Driver "intel"
|
||||
Option "Backlight" "intel_backlight"
|
||||
EndSection
|
||||
' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
|
||||
EndSection
|
||||
' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
|
||||
fi
|
||||
|
||||
# Touchpad
|
||||
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
|
||||
|
|
Loading…
Reference in a new issue