Bottles: Make a wrapper for SDL_VIDEODRIVER.

This commit is contained in:
Dmitry Voronin 2024-11-30 23:11:25 +03:00
parent 382d8dd58f
commit 82f03234cf
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,10 @@
{
pkgs,
...
}: {
file = pkgs.writeShellScriptBin "bottles" ''
#! ${pkgs.bash}/bin/bash
export SDL_VIDEODRIVER=
exec ${pkgs.bottles}/bin/bottles "$@"
'';
}

View file

@ -121,7 +121,6 @@
]);
gaming = with pkgs; [
bottles # GUI for Wine.
dxvk # Directx to Vulkan.
gamescope # Compositor for Steam.
mangohud # Realtime stats overlay.
@ -130,6 +129,8 @@
steam-run # Run games outside of Steam.
vkd3d # Directx to Vulkan.
wine64 # Run Windows software on Linux.
(import ./bottles args).file # GUI for Wine.
];
creative = with pkgs; [