updated various modules with windows SDL_VIDEODRIVER for EAC

This commit is contained in:
serenity-F 2025-01-24 21:28:23 +10:00
parent e6da950161
commit a178253f80
2 changed files with 16 additions and 16 deletions

View file

@ -90,7 +90,7 @@
base = true; base = true;
}; };
extraSessionCommands = '' extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland,windows
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export XDG_CURRENT_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway

View file

@ -14,11 +14,11 @@ in {
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
extraSessionCommands = '' extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland,windows
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export XDG_CURRENT_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland export XDG_SESSION_TYPE=wayland
''; '';
extraConfig = ""; extraConfig = "";
xwayland = true; xwayland = true;
@ -77,16 +77,16 @@ in {
keybindings = mkOptionDefault (import ./keybinds.nix { inherit pkgs; }); keybindings = mkOptionDefault (import ./keybinds.nix { inherit pkgs; });
#modes = { #modes = {
#resize = { #resize = {
#Escape = "mode default"; #Escape = "mode default";
#Return = "mode default"; #Return = "mode default";
#"${down}" = "resize grow height 10 px or 10 ppt"; #"${down}" = "resize grow height 10 px or 10 ppt";
#"${left}" = "resize shrink width 10 px or 10 ppt"; #"${left}" = "resize shrink width 10 px or 10 ppt";
#"${right}" = "resize grow width 10 px or 10 ppt"; #"${right}" = "resize grow width 10 px or 10 ppt";
#"${up}" = "resize shrink height 10 px or 10 ppt"; #"${up}" = "resize shrink height 10 px or 10 ppt";
#}; #};
#}; #};
}; };
}; };