mirror of https://github.com/ericonr/dotfiles.git
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:
parent
4814241720
commit
75c97ebf62
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
. "$HOME/.local/bin/wayland-vars"
|
. "$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'
|
||||||
|
|
|
@ -12,4 +12,6 @@ fi
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|
||||||
# start the compositor itself
|
# 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"
|
||||||
|
|
|
@ -4,7 +4,6 @@ if [ "$XDG_SESSION_TYPE" = wayland ]
|
||||||
then
|
then
|
||||||
# Qt
|
# Qt
|
||||||
export QT_QPA_PLATFORM=wayland-egl
|
export QT_QPA_PLATFORM=wayland-egl
|
||||||
export QT_WAYLAND_FORCE_DPI=physical
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
# Firefox
|
# Firefox
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
Loading…
Reference in New Issue