Update Wayland stuff.

- Add logging to wayland launch script.
- Fix launcher.
- Remove FORCE_DPI for wayland, was screwing with qutebrowser.
This commit is contained in:
Érico Rolim 2020-06-22 02:23:22 -03:00
parent 4814241720
commit 75c97ebf62
3 changed files with 4 additions and 3 deletions

View File

@ -4,4 +4,4 @@
. "$HOME/.local/bin/wayland-vars"
exec generic-launcher /bin/sh -c 'compgen -c | sort -u | fzf --border | xargs lnch'
exec generic-launcher /bin/bash -c 'compgen -c | sort -u | fzf --border | xargs lnch'

View File

@ -12,4 +12,6 @@ fi
export XDG_SESSION_TYPE=wayland
# start the compositor itself
WLR_DRM_DEVICES=/dev/dri/card0 exec dbus-run-session sway --my-next-gpu-wont-be-nvidia
WLR_DRM_DEVICES=/dev/dri/card0 exec dbus-run-session \
sway --my-next-gpu-wont-be-nvidia -d -V 2>&1 \
> "${XDG_RUNTIME_DIR}/sway-$(date "+%Y-%m-%d").log"

View File

@ -4,7 +4,6 @@ if [ "$XDG_SESSION_TYPE" = wayland ]
then
# Qt
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_FORCE_DPI=physical
export QT_QPA_PLATFORMTHEME=qt5ct
# Firefox
export MOZ_ENABLE_WAYLAND=1