install-arch
This commit is contained in:
parent
b65e5d9376
commit
d834eac6a7
|
@ -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,6 +26,8 @@ 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)
|
||||||
|
if [ -d /sys/class/backlight/intel_backlight ]
|
||||||
|
then
|
||||||
sudo pacman -S xf86-video-intel --needed
|
sudo pacman -S xf86-video-intel --needed
|
||||||
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
|
echo '# File wrote by ~/.dotfiles/config/scripts/install-arch
|
||||||
|
|
||||||
|
@ -35,6 +37,7 @@ Section "Device"
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue