start steam with gamescope
This commit is contained in:
parent
5dd599b1ae
commit
69525d4046
@ -6,7 +6,14 @@
|
||||
programs.gamescope.enable = true;
|
||||
programs.gamescope.capSysNice = false;
|
||||
|
||||
startupApplications = [ "steam" ];
|
||||
# startupApplications = [ "steam" ];
|
||||
startupApplications = let
|
||||
gs = pkgs.writeShellScriptBin "gamescope-steam" ''
|
||||
gamescope --steam --borderless -- steam
|
||||
'';
|
||||
in [
|
||||
"${gs}/bin/gamescope-steam"
|
||||
];
|
||||
|
||||
systemd.user.services.x11-ownership = {
|
||||
script = ''
|
||||
|
@ -250,6 +250,7 @@ in with config.deviceSpecific; with lib; {
|
||||
bind=${modifier}ALT,Cyrillic_E,movetoworkspace,name:Messengers
|
||||
'' ''
|
||||
windowrulev2=workspace name:Steam silent,class:^(steam)$
|
||||
windowrulev2=workspace name:Steam silent,class:^(.gamescope-wrapped)$,title:(Steam)
|
||||
windowrulev2=workspace name:Music silent,title:^(Spotify)$
|
||||
windowrulev2=tile,title:^(Spotify)$
|
||||
windowrulev2=workspace name:Messengers silent,class:^(org.telegram.desktop)$
|
||||
|
Loading…
x
Reference in New Issue
Block a user