mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-13 08:17:31 -08:00
get rid of steamtinkerlaunch for manual adding of shortcuts with chezmoi
This commit is contained in:
parent
a4dd272bb1
commit
5ea8dd837c
0
home/.chezmoiscripts/.placeholder
Normal file
0
home/.chezmoiscripts/.placeholder
Normal file
@ -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
|
Binary file not shown.
@ -16,7 +16,6 @@ in {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
steam
|
||||
steamtinkerlaunch
|
||||
yuzu-early-access
|
||||
dolphin-emu
|
||||
ppsspp
|
||||
|
@ -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=";
|
||||
};
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user