From ae60427e648b8369eafac4cb438f9bc179d10703 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 18 Feb 2024 14:48:06 +0200 Subject: [PATCH] start{sway,plasma}: include GDK_BACKEND --- bash/usr-local-bin/startplasma | 2 ++ bash/usr-local-bin/startsway | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bash/usr-local-bin/startplasma b/bash/usr-local-bin/startplasma index 946ff2a..af23af8 100755 --- a/bash/usr-local-bin/startplasma +++ b/bash/usr-local-bin/startplasma @@ -12,6 +12,8 @@ export QT_IM_MODULE="fcitx" # qt5ct allows theme choosing export QT_QPA_PLATFORMTHEME="qt5ct" +# https://librewolf.net/docs/faq/#cant-open-links-with-librewolf-when-using-wayland +export GDK_BACKEND=wayland # Ensuring Wayland gets used as per Arch Wiki # 2021-02-28 https://wiki.archlinux.org/index.php/Wayland#GUI_libraries diff --git a/bash/usr-local-bin/startsway b/bash/usr-local-bin/startsway index 26d5879..5210bd4 100755 --- a/bash/usr-local-bin/startsway +++ b/bash/usr-local-bin/startsway @@ -25,6 +25,8 @@ export QT_IM_MODULE="fcitx" # qt5ct allows theme choosing export QT_QPA_PLATFORMTHEME="qt5ct" +# https://librewolf.net/docs/faq/#cant-open-links-with-librewolf-when-using-wayland +export GDK_BACKEND=wayland # Dark theme for GTK apps. Fedora: "adwaita-qt*" export GTK_THEME=Adwaita:dark