Compare commits
7 Commits
caacb5bc30
...
00f62d40c8
Author | SHA1 | Date | |
---|---|---|---|
00f62d40c8 | |||
ba425c33af | |||
7eb42dbdda | |||
ce6ba66156 | |||
5a2a41318a | |||
fc9eab0318 | |||
b9627ae081 |
27
home/bin/executable_linux-add-nonsteam-games
Normal file
@ -0,0 +1,27 @@
|
||||
#!/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
|
||||
|
||||
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/ares Ares Emulator"
|
||||
)
|
||||
|
||||
for app in "${apps[@]}"
|
||||
do
|
||||
set -- $app
|
||||
steamtinkerlaunch addnonsteamgame \
|
||||
-ep="$1" -an="$2" \
|
||||
--hero="$HOME/.local/share/chezmoi/resources/img/$2/hero.png" \
|
||||
--iconpath="$HOME/.local/share/chezmoi/resources/img/$2/icons.png" \
|
||||
--logo="$HOME/.local/share/chezmoi/resources/img/$2/logo.png" \
|
||||
--boxart="$HOME/.local/share/chezmoi/resources/img/$2/boxart.png" \
|
||||
--tenfoot="$HOME/.local/share/chezmoi/resources/img/$2/tenfoot.png" \
|
||||
--tags="$3" \
|
||||
--copy
|
||||
done
|
@ -16,10 +16,12 @@ in {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
steam
|
||||
steamtinkerlaunch
|
||||
yuzu-early-access
|
||||
dolphin-emu
|
||||
ppsspp
|
||||
mgba
|
||||
ares
|
||||
sunshine
|
||||
moonlight-qt
|
||||
prismlauncher
|
||||
|
10
provision/overlays/steamtinkerlaunch.nix
Normal file
@ -0,0 +1,10 @@
|
||||
self: super: {
|
||||
steamtinkerlaunch = super.steamtinkerlaunch.overrideAttrs (old: {
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "sonic2kk";
|
||||
repo = "steamtinkerlaunch";
|
||||
rev = "6ff8371e9c8f8122ab4b532e4649e76509a38666";
|
||||
sha256 = "sha256-DsfUcAqSnrLvIbkIJ52OHlNfxaq+mOjimc9x/tOW1dA=";
|
||||
};
|
||||
});
|
||||
}
|
BIN
resources/img/Ares/boxart.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
resources/img/Ares/hero.png
Normal file
After Width: | Height: | Size: 709 KiB |
BIN
resources/img/Ares/icons.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
resources/img/Ares/logo.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
resources/img/Ares/tenfoot.png
Normal file
After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 371 KiB |
Before Width: | Height: | Size: 1019 B |
Before Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 352 KiB |