set variables for wayland
This commit is contained in:
parent
f25e130244
commit
493c9d11f8
1 changed files with 7 additions and 0 deletions
7
etc/profile.d/swayenv.sh
Normal file
7
etc/profile.d/swayenv.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# /etc/profile.d/swayenv.sh
|
||||||
|
#
|
||||||
|
# This sets the other variables on Wayland.
|
||||||
|
|
||||||
|
test "$XDG_SESSION_TYPE" = 'wayland' || return
|
||||||
|
test "$XDG_SESSION_DESKTOP" = 'sway' || return
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
Loading…
Reference in a new issue