Switch to hand-crafted steam autostart

Using the actual steam.desktop starts up the default steam mode, not big
picture, which is what I want. I pulled this content from the
steam.desktop file, so it may need to get adjusted in the far future.
This commit is contained in:
Eli Ribble 2024-09-25 19:10:27 +00:00
parent 285f461117
commit 38e29dec5f
1 changed files with 14 additions and 1 deletions

View File

@ -23,7 +23,20 @@
home-manager.useGlobalPkgs = true;
home-manager.users.eliribble = { pkgs, ... }: {
home.file.".config/autostart/steam.desktop".source = "${pkgs.steam}/share/applications/steam.desktop";
home.file.".config/autostart/steam.desktop".text = ''
[Desktop Entry]
Name=Steam
Comment=Application for managing and playing games on Steam
Exec=steam %U -bigpicture
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
'';
# home.packages = [ pkgs.httpie ];
programs.fish.enable = true;