Make firefox wayland global

This commit is contained in:
Nathan McCarty 2022-02-03 08:00:49 -05:00
parent 5445c7e9f8
commit 5a5061fe97
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 4 additions and 1 deletions

View File

@ -71,11 +71,14 @@
# Make pipewire present a pulse audio tcp port # Make pipewire present a pulse audio tcp port
pactl load-module module-native-protocol-tcp pactl load-module module-native-protocol-tcp
# Make firefox use wayland # Make firefox use wayland
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP="sway" export XDG_CURRENT_DESKTOP="sway"
''; '';
}; };
environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
# Enable the xdg-portal # Enable the xdg-portal
xdg = { xdg = {
portal = { portal = {