Enable wayland for plasma
This commit is contained in:
parent
fca406be0d
commit
c52737d9b3
|
@ -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
|
||||
|
|
16
home/.config/plasma-workspace/env/wayland.sh
vendored
Normal file
16
home/.config/plasma-workspace/env/wayland.sh
vendored
Normal 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
|
Loading…
Reference in a new issue