From f827a205423a744e909dff060dbc674d2edac6fa Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 16 Jul 2024 13:28:04 +0300 Subject: [PATCH] start{sway,plasma}: attempt to integrate with kde --- bash/usr-local-bin/startplasma | 3 +-- bash/usr-local-bin/startsway | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bash/usr-local-bin/startplasma b/bash/usr-local-bin/startplasma index 68339d2..1525470 100755 --- a/bash/usr-local-bin/startplasma +++ b/bash/usr-local-bin/startplasma @@ -10,8 +10,7 @@ export XMODIFIERS=@im=fcitx export GTK_IM_MODULE="fcitx" export QT_IM_MODULE="fcitx" -# qt6ct allows theme choosing -export QT_QPA_PLATFORMTHEME="qt6ct" +export QT_QPA_PLATFORMTHEME="kde" # https://librewolf.net/docs/faq/#cant-open-links-with-librewolf-when-using-wayland export GDK_BACKEND=wayland diff --git a/bash/usr-local-bin/startsway b/bash/usr-local-bin/startsway index 416f9ed..c734724 100755 --- a/bash/usr-local-bin/startsway +++ b/bash/usr-local-bin/startsway @@ -24,12 +24,15 @@ export GTK_IM_MODULE="fcitx" export QT_IM_MODULE="fcitx" # qt6ct allows theme choosing -export QT_QPA_PLATFORMTHEME="qt6ct" +#export QT_QPA_PLATFORMTHEME="qt6ct" +# Managing from KDE systemsettings +export QT_QPA_PLATFORMTHEME="kde" + # 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*" # https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland -export GTK_THEME=Adwaita:dark +#export GTK_THEME=Adwaita:dark # Ensuring Wayland gets used as per Arch Wiki # 2021-02-28 https://wiki.archlinux.org/index.php/Wayland#GUI_libraries