From 5ea8dd837c3a9f6c1f80eaf07d7dff5a1187e576 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Thu, 23 Nov 2023 11:28:16 -0800 Subject: [PATCH] get rid of steamtinkerlaunch for manual adding of shortcuts with chezmoi --- home/.chezmoiscripts/.placeholder | 0 home/.chezmoiscripts/run_add-non-steam.sh | 32 ------------------ .../userdata/47011563/config/shortcuts.vdf | Bin 0 -> 1463 bytes provision/modules/gaming/steam.nix | 1 - provision/overlays/steamtinkerlaunch.nix | 10 ------ 5 files changed, 43 deletions(-) create mode 100644 home/.chezmoiscripts/.placeholder delete mode 100644 home/.chezmoiscripts/run_add-non-steam.sh create mode 100644 home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf delete mode 100644 provision/overlays/steamtinkerlaunch.nix diff --git a/home/.chezmoiscripts/.placeholder b/home/.chezmoiscripts/.placeholder new file mode 100644 index 00000000..e69de29b diff --git a/home/.chezmoiscripts/run_add-non-steam.sh b/home/.chezmoiscripts/run_add-non-steam.sh deleted file mode 100644 index 7da4aeee..00000000 --- a/home/.chezmoiscripts/run_add-non-steam.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash -# Add non-steam games to steam - -steam_userid="47011563" -shortcuts_vdf="$HOME/.steam/root/userdata/${steam_userid}/config/shortcuts.vdf" -rm $shortcuts_vdf - -mkdir -p "$HOME/.local/share/Steam/userdata/47011563/config/grid" - -apps=( - "/run/current-system/sw/bin/dolphin-emu Dolphin Emulator" - "/run/current-system/sw/bin/yuzu Yuzu Emulator" - "/run/current-system/sw/bin/ppsspp PPSSPP Emulator" - "/run/current-system/sw/bin/mgba-qt mGBA Emulator" -) - -if command -v steamtinkerlaunch &> /dev/null -then - for app in "${apps[@]}" - do - set -- $app - steamtinkerlaunch addnonsteamgame \ - -ep="$1" -an="$2" \ - --iconpath="$HOME/.local/share/chezmoi/img/$2/icons.ico" \ - --hero="$HOME/.local/share/chezmoi/img/$2/hero.png" \ - --logo="$HOME/.local/share/chezmoi/img/$2/logo.png" \ - --boxart="$HOME/.local/share/chezmoi/img/$2/boxart.png" \ - --tenfoot="$HOME/.local/share/chezmoi/img/$2/tenfoot.png" \ - --tags="$3" \ - --copy - done -fi diff --git a/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf b/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf new file mode 100644 index 0000000000000000000000000000000000000000..37f8681332fbb1b40eee2f866cda821c00ab464d GIT binary patch literal 1463 zcmdteJx;?g6bJB^OgTsQ;sPfq1lmd!jVP+b=q4ty8h>Cvx3p*I4Y&f=Kw@Eli92ut zHXPDqq*Ir^A#$GH-+uamEtJ93p#|tcNVVn}e7^j=27Rq>s9+GQQWso8aP`EXLyVIo zb;dA>UAwl(1hFeJ=aOXgV3!HkfnbW%V9d>b5kJOLC4m%5FoM=c3^^%PN=sr3Y8Xii zwh@XGE^@M4gj5lG;=lfp-SP>=0w5SuC(~l0k^2dNaAb!(%b0|!!hTt*Rm|)HmA+K+ zf#(pk{mGJBICSI-|4@>zr2d)~ga$VoDtCdqzg qt*zDiAkg&+$3%VJP=CzacS|h>7ybRvBA?UlBOXM$+Te(sqv#hZzrlt8 literal 0 HcmV?d00001 diff --git a/provision/modules/gaming/steam.nix b/provision/modules/gaming/steam.nix index af963ac8..d6f1460a 100644 --- a/provision/modules/gaming/steam.nix +++ b/provision/modules/gaming/steam.nix @@ -16,7 +16,6 @@ in { environment.systemPackages = with pkgs; [ steam - steamtinkerlaunch yuzu-early-access dolphin-emu ppsspp diff --git a/provision/overlays/steamtinkerlaunch.nix b/provision/overlays/steamtinkerlaunch.nix deleted file mode 100644 index 624f04d8..00000000 --- a/provision/overlays/steamtinkerlaunch.nix +++ /dev/null @@ -1,10 +0,0 @@ -self: super: { - steamtinkerlaunch = super.steamtinkerlaunch.overrideAttrs (old: { - src = super.fetchFromGitHub { - owner = "sonic2kk"; - repo = "steamtinkerlaunch"; - rev = "6ff8371e9c8f8122ab4b532e4649e76509a38666"; - sha256 = "sha256-DsfUcAqSnrLvIbkIJ52OHlNfxaq+mOjimc9x/tOW1dA="; - }; - }); -}