Enable wayland for plasma

This commit is contained in:
Marko Korhonen 2021-09-03 15:45:13 +03:00
parent fca406be0d
commit c52737d9b3
2 changed files with 20 additions and 0 deletions

View file

@ -172,6 +172,9 @@ dotfiles:
f_electron12-flags.conf:
src: .config/electron12-flags.conf
dst: ~/.config/electron12-flags.conf
f_wayland.sh:
src: .config/plasma-workspace/env/wayland.sh
dst: ~/.config/plasma-workspace/env/wayland.sh
profiles:
base:
dotfiles:
@ -246,6 +249,7 @@ profiles:
- f_gpg.conf
- f_electron-flags.conf
- f_electron12-flags.conf
- f_wayland.sh
Moria:
include:
- terminal

View file

@ -0,0 +1,16 @@
#!/bin/sh
# Set environment variables for Sway
# Firefox
export MOZ_ENABLE_WAYLAND=1
export MOZ_USE_XINPUT2=1
export MOZ_WEBRENDER=1
export MOZ_DBUS_REMOTE=1
# Fix java on wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
# Enable wayland support on clutter
export CLUTTER_BACKEND=wayland