From a312858a154bac9096a2e1b6e6e1839444e641c8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 16 Apr 2022 16:01:52 +0300 Subject: [PATCH] bash/usr-local-bin/start{sway,plasma}: enable wayland for mozilla products and remove the theme forcing --- bash/usr-local-bin/startplasma | 8 ++++---- bash/usr-local-bin/startsway | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bash/usr-local-bin/startplasma b/bash/usr-local-bin/startplasma index 6a2840c..0178f4c 100755 --- a/bash/usr-local-bin/startplasma +++ b/bash/usr-local-bin/startplasma @@ -1,6 +1,7 @@ #!/usr/bin/env bash -# Starting Plasma in Wayland with proper environment too. +# Starting Plasma in Wayland with proper environment too. My {bash,zsh}rc handles +# exec set -x @@ -17,9 +18,8 @@ export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORM=wayland export CLUTTER_BACKEND=wayland export SDL_VIDEODRIVER=wayland - -# Breeze Dark everywhere -export GTK_THEME=Breeze-Dark +# Mozilla Products +export MOZ_ENABLE_WAYLAND=1 dbus-launch --exit-with-session startplasma-wayland $@ set +x diff --git a/bash/usr-local-bin/startsway b/bash/usr-local-bin/startsway index e23d32e..1120b40 100755 --- a/bash/usr-local-bin/startsway +++ b/bash/usr-local-bin/startsway @@ -18,9 +18,8 @@ export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORM=wayland export CLUTTER_BACKEND=wayland export SDL_VIDEODRIVER=wayland - -# Breeze Dark everywhere -export GTK_THEME=Breeze-Dark +# Mozilla Products +export MOZ_ENABLE_WAYLAND=1 dbus-launch --exit-with-session sway --unsupported-gpu $@ set +x