|
|
@@ -216,11 +216,10 @@ input * {
|
|
|
input type:touchpad {
|
|
|
tap enabled
|
|
|
natural_scroll enabled
|
|
|
- pointer_accel 0.75
|
|
|
+ pointer_accel 0.4
|
|
|
dwt enabled
|
|
|
click_method clickfinger
|
|
|
scroll_method two_finger
|
|
|
- pointer_accel 0.3
|
|
|
drag enabled
|
|
|
drag_lock disable
|
|
|
}
|
|
|
@@ -256,6 +255,15 @@ for_window [class="^.*"] border pixel 2
|
|
|
|
|
|
include @sysconfdir@/sway/config.d/*
|
|
|
|
|
|
+# xdg-desktop-portal / systemd session integration.
|
|
|
+# Imports the Wayland environment into the systemd user manager and starts
|
|
|
+# sway-session.target, which activates graphical-session.target so that
|
|
|
+# xdg-desktop-portal can run. Without this, file-save dialogs silently fail
|
|
|
+# (e.g. Chrome "Save as PDF" does nothing).
|
|
|
+exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
|
+exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
|
+exec systemctl --user start sway-session.target
|
|
|
+
|
|
|
# @host jellyfish
|
|
|
output * {
|
|
|
scale 1.5
|