feat: env variables for wayland
This commit is contained in:
parent
8ae2183e21
commit
05a41d8d00
2 changed files with 13 additions and 1 deletions
|
|
@ -114,6 +114,8 @@
|
|||
clang-tools
|
||||
cmake
|
||||
discord
|
||||
discord-canary
|
||||
electrum
|
||||
fastfetch
|
||||
file
|
||||
filezilla
|
||||
|
|
@ -160,6 +162,7 @@
|
|||
usbutils
|
||||
vencord
|
||||
vim
|
||||
virtiofsd
|
||||
waybar
|
||||
wdisplays
|
||||
webcord
|
||||
|
|
|
|||
|
|
@ -164,6 +164,15 @@
|
|||
# Optional, hint Electron apps to use Wayland:
|
||||
home.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
GDK_BACKEND = "wayland,x11,*";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue