2022-04-15 17:38:05 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-04-16 15:01:52 +02:00
|
|
|
# Starting Plasma in Wayland with proper environment too. My {bash,zsh}rc handles
|
|
|
|
# exec
|
2022-04-15 17:38:05 +02:00
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2024-07-17 07:25:23 +02:00
|
|
|
# Using maliit
|
|
|
|
export XMODIFIERS=@im=maliit
|
|
|
|
export GTK_IM_MODULE="maliit"
|
|
|
|
export QT_IM_MODULE="maliit"
|
2022-04-15 17:38:05 +02:00
|
|
|
|
2024-07-16 12:28:04 +02:00
|
|
|
export QT_QPA_PLATFORMTHEME="kde"
|
2024-02-18 13:48:06 +01:00
|
|
|
# https://librewolf.net/docs/faq/#cant-open-links-with-librewolf-when-using-wayland
|
|
|
|
export GDK_BACKEND=wayland
|
2022-04-15 17:38:05 +02:00
|
|
|
|
|
|
|
# Ensuring Wayland gets used as per Arch Wiki
|
|
|
|
# 2021-02-28 https://wiki.archlinux.org/index.php/Wayland#GUI_libraries
|
|
|
|
export QT_QPA_PLATFORM=wayland
|
|
|
|
export CLUTTER_BACKEND=wayland
|
|
|
|
export SDL_VIDEODRIVER=wayland
|
2024-02-14 09:27:49 +01:00
|
|
|
# Electron
|
|
|
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
2022-04-16 15:01:52 +02:00
|
|
|
# Mozilla Products
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
2022-04-15 17:38:05 +02:00
|
|
|
|
2024-03-20 05:50:18 +01:00
|
|
|
dbus-launch --exit-with-session startplasma-wayland "$@"
|
2022-04-15 17:38:05 +02:00
|
|
|
set +x
|