Make firefox wayland global
This commit is contained in:
parent
5445c7e9f8
commit
5a5061fe97
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue