More modifications
This commit is contained in:
parent
73cbcbb3f5
commit
2b2680069f
8 changed files with 13 additions and 12 deletions
|
@ -26,6 +26,7 @@ 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
|
||||
|
||||
Section "Device"
|
||||
|
@ -60,16 +61,17 @@ EndSection
|
|||
' | sudo tee /etc/X11/xorg.conf.d/50-joystick.conf
|
||||
|
||||
# Install same rules with nvidia-xrun
|
||||
if -d /etc/X11/nvidia-xorg.conf
|
||||
if [ -d /etc/X11/nvidia-xorg.conf.d ]
|
||||
then
|
||||
function link { # filename
|
||||
ln -s /etc/X11/nvidia-xorg.conf/$1 ../xorg.conf.d/$1
|
||||
sudo ln -s ../xorg.conf.d/$1 /etc/X11/nvidia-xorg.conf.d/$1
|
||||
}
|
||||
link 00-keyboard.conf
|
||||
link 20-intel.conf # Yep
|
||||
link 30-touchpad.conf
|
||||
link 50-joystick.conf
|
||||
fi
|
||||
exit 0
|
||||
|
||||
# Uninstall Manjaro's pamac
|
||||
if pacman -Q pamac &> /dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue