mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
improved gamescope.sh
This commit is contained in:
@@ -36,8 +36,7 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
getty = {
|
getty = {
|
||||||
loginProgram = ./gs.sh;
|
loginProgram = ./gamescope.sh;
|
||||||
# loginOptions = "${pkgs.steam}/bin/steam -bigpicture";
|
|
||||||
autologinUser = "gaming";
|
autologinUser = "gaming";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
16
systems/muninn/gamescope.sh
Executable file
16
systems/muninn/gamescope.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -xeuo pipefail
|
||||||
|
|
||||||
|
gamescopeArgs=(
|
||||||
|
--adaptive-sync # VRR support
|
||||||
|
--hdr-enabled
|
||||||
|
--rt
|
||||||
|
--steam
|
||||||
|
)
|
||||||
|
|
||||||
|
steamArgs=(
|
||||||
|
-pipewire-dmabuf
|
||||||
|
-tenfoot
|
||||||
|
)
|
||||||
|
|
||||||
|
exec gamescope "${gamescopeArgs[@]}" -- steam "${steamArgs[@]}"
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -xeuo pipefail
|
|
||||||
|
|
||||||
exec gamescope --adaptive-sync --hdr-enabled --rt --steam -- steam -pipewire-dmabuf -tenfoot
|
|
||||||
Reference in New Issue
Block a user