From 75c97ebf62040d80b45131b8d212f90b83ff67d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Mon, 22 Jun 2020 02:23:22 -0300 Subject: [PATCH] Update Wayland stuff. - Add logging to wayland launch script. - Fix launcher. - Remove FORCE_DPI for wayland, was screwing with qutebrowser. --- wayland/.local/bin/launcher | 2 +- wayland/.local/bin/startsway | 4 +++- wayland/.local/bin/wayland-vars | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wayland/.local/bin/launcher b/wayland/.local/bin/launcher index aad4995..f5ae4f2 100755 --- a/wayland/.local/bin/launcher +++ b/wayland/.local/bin/launcher @@ -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' diff --git a/wayland/.local/bin/startsway b/wayland/.local/bin/startsway index 7ce9131..e069141 100755 --- a/wayland/.local/bin/startsway +++ b/wayland/.local/bin/startsway @@ -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" diff --git a/wayland/.local/bin/wayland-vars b/wayland/.local/bin/wayland-vars index f824d56..660092b 100644 --- a/wayland/.local/bin/wayland-vars +++ b/wayland/.local/bin/wayland-vars @@ -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