Add touchpad input config, XDG portal config, and fix screen sharing
This commit is contained in:
+2
-1
@@ -6,7 +6,7 @@ echo "==> Installing packages"
|
||||
sudo pacman -S --needed - < packages.txt
|
||||
|
||||
echo "==> Creating config directories"
|
||||
mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0} ~/.config/environment.d
|
||||
mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0} ~/.config/environment.d ~/.config/xdg-desktop-portal
|
||||
|
||||
echo "==> Linking configs"
|
||||
|
||||
@@ -21,6 +21,7 @@ ln -sf "$(pwd)/gtk-3.0/settings.ini" ~/.config/gtk-3.0/settings.ini
|
||||
ln -sf "$(pwd)/gtk-4.0/settings.ini" ~/.config/gtk-4.0/settings.ini
|
||||
ln -sf "$(pwd)/xdg/mimeapps.list" ~/.config/mimeapps.list
|
||||
ln -sf "$(pwd)/environment.d/wayland.conf" ~/.config/environment.d/wayland.conf
|
||||
ln -sf "$(pwd)/xdg-desktop-portal/portals.conf" ~/.config/xdg-desktop-portal/portals.conf
|
||||
|
||||
echo "==> Installing scripts"
|
||||
mkdir -p ~/.local/bin
|
||||
|
||||
@@ -12,6 +12,27 @@ layout {
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
layout "us"
|
||||
}
|
||||
}
|
||||
|
||||
touchpad {
|
||||
tap
|
||||
natural-scroll
|
||||
accel-speed 0.2
|
||||
accel-profile "adaptive"
|
||||
scroll-method "two-finger"
|
||||
disabled-on-external-mouse
|
||||
}
|
||||
|
||||
mouse {
|
||||
accel-profile "flat"
|
||||
}
|
||||
}
|
||||
|
||||
spawn-at-startup "waybar"
|
||||
spawn-at-startup "mako"
|
||||
spawn-at-startup "swww-daemon"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[preferred]
|
||||
default=gtk
|
||||
org.freedesktop.impl.portal.ScreenCast=wlr
|
||||
org.freedesktop.impl.portal.Screenshot=wlr
|
||||
Reference in New Issue
Block a user