gamescope session related tweaks
This commit is contained in:
parent
b4bc7490fc
commit
089bf927e0
@ -88,6 +88,15 @@ in
|
||||
# networking.firewall.enable = false;
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
programs.gamescope.enable = true;
|
||||
programs.steam.gamescopeSession = {
|
||||
enable = true;
|
||||
args = [
|
||||
"-w" "1920"
|
||||
"-h" "1080"
|
||||
"-r" "172"
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
# Install firefox.
|
||||
programs.firefox.enable = true;
|
||||
@ -102,9 +111,22 @@ in
|
||||
ntfs3g
|
||||
ntfsprogs
|
||||
synergy
|
||||
mangohud
|
||||
my-namespace.udev-steelseries
|
||||
my-namespace.hello
|
||||
kde-rounded-corners
|
||||
(pkgs.writeShellScriptBin "switch-to-desktop" ''
|
||||
#!/bin/sh
|
||||
# Kill Steam and return to display manager
|
||||
pkill steam || true
|
||||
pkill gamescope || true
|
||||
# End the session cleanly
|
||||
loginctl terminate-session "$XDG_SESSION_ID"
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "steamos-session-select" ''
|
||||
#!/bin/sh
|
||||
exec switch-to-desktop
|
||||
'')
|
||||
# stuff I installed to try to get gamescope to work to no avail Gamescope is just broken it seems.
|
||||
# pkgs.mesa
|
||||
# pkgs.vulkan-loader
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user