Compare commits

...

2 Commits

3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Signal desktop with Wayland, notification fix & tray
set -x
# --disable-gpu - https://github.com/signalapp/Signal-Desktop/issues/2567#issuecomment-457282578
# --start-in-tray - would be nice, but then I cannot open it from there, trus --use-tray-icon
flatpak run org.signal.Signal --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu --use-tray-icon $@
set +x

25
bash/usr-local-bin/startplasma Executable file
View File

@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Starting Plasma in Wayland with proper environment too.
set -x
# Using fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
# qt5ct allows theme choosing
export QT_QPA_PLATFORMTHEME="qt5ct"
# 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
# Breeze Dark everywhere
export GTK_THEME=Breeze-Dark
dbus-launch --exit-with-session startplasma-wayland $@
set +x

26
bash/usr-local-bin/startsway Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Starting sway with proper environment too. My {bash,zsh}rc handles
# exec
set -x
# Using fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
# qt5ct allows theme choosing
export QT_QPA_PLATFORMTHEME="qt5ct"
# 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
# Breeze Dark everywhere
export GTK_THEME=Breeze-Dark
dbus-launch --exit-with-session sway --unsupported-gpu $@
set +x