equal
deleted
inserted
replaced
82 |
82 |
83 # disable Gnome crash dialog (doesn't make sense anyway) |
83 # disable Gnome crash dialog (doesn't make sense anyway) |
84 export GNOME_DISABLE_CRASH_DIALOG=1 |
84 export GNOME_DISABLE_CRASH_DIALOG=1 |
85 |
85 |
86 # Wayland |
86 # Wayland |
|
87 # Only supported on newer systems |
|
88 WAYLAND_SUPPORTED=%WAYLAND_SUPPORTED |
|
89 |
87 # $XDG_SESSION_TYPE should contain either x11 or wayland |
90 # $XDG_SESSION_TYPE should contain either x11 or wayland |
88 if [ "$XDG_SESSION_TYPE" = "wayland" ]; then |
91 if [ $WAYLAND_SUPPORTED -eq 1 ] && [ "$XDG_SESSION_TYPE" = "wayland" ]; then |
89 export MOZ_ENABLE_WAYLAND=1 |
92 export MOZ_ENABLE_WAYLAND=1 |
90 fi |
93 fi |
91 |
94 |
92 ## |
95 ## |
93 ## Use D-Bus remote exclusively when there's Wayland display. |
96 ## Use D-Bus remote exclusively when there's Wayland display. |