gamescope session related tweaks
This commit is contained in:
parent
b4bc7490fc
commit
089bf927e0
@ -88,6 +88,15 @@ in
|
|||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
programs.steam.gamescopeSession.enable = true;
|
programs.steam.gamescopeSession.enable = true;
|
||||||
programs.gamescope.enable = true;
|
programs.gamescope.enable = true;
|
||||||
|
programs.steam.gamescopeSession = {
|
||||||
|
enable = true;
|
||||||
|
args = [
|
||||||
|
"-w" "1920"
|
||||||
|
"-h" "1080"
|
||||||
|
"-r" "172"
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Install firefox.
|
# Install firefox.
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
@ -102,9 +111,22 @@ in
|
|||||||
ntfs3g
|
ntfs3g
|
||||||
ntfsprogs
|
ntfsprogs
|
||||||
synergy
|
synergy
|
||||||
|
mangohud
|
||||||
my-namespace.udev-steelseries
|
my-namespace.udev-steelseries
|
||||||
my-namespace.hello
|
my-namespace.hello
|
||||||
kde-rounded-corners
|
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.
|
# stuff I installed to try to get gamescope to work to no avail Gamescope is just broken it seems.
|
||||||
# pkgs.mesa
|
# pkgs.mesa
|
||||||
# pkgs.vulkan-loader
|
# pkgs.vulkan-loader
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user