diff --git a/.config/autostart/sxhkd.desktop b/.config/autostart/sxhkd.desktop deleted file mode 100644 index 86ca9ea..0000000 --- a/.config/autostart/sxhkd.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Name=sxhkd -Comment=Simple X hotkey daemon -Exec=/usr/bin/sxhkd -Terminal=false -Type=Application diff --git a/.local/bin/stoneshard b/.local/bin/stoneshard new file mode 100755 index 0000000..707f00e --- /dev/null +++ b/.local/bin/stoneshard @@ -0,0 +1,14 @@ +#!/bin/sh + +SAVE_DIR="$HOME/.config/StoneShard" + +# Pull latest save before starting +yadm pull --rebase + +# Start the game +"/home/gil/GOG Games/Stoneshard/start.sh" + +# Commit and push after the game closes +yadm add -A $SAVE_DIR +yadm commit -m "Stoneshard save $(date '+%Y-%m-%d %H:%M:%S')" || true +yadm push diff --git a/.local/share/applications/gog_com-Stoneshard_1.desktop b/.local/share/applications/gog_com-Stoneshard_1.desktop new file mode 100644 index 0000000..b53e412 --- /dev/null +++ b/.local/share/applications/gog_com-Stoneshard_1.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Stoneshard +Comment=Lancer Stoneshard +Icon=/home/gil/GOG Games/Stoneshard/support/icon.png +Exec=/home/gil/.local/bin/stoneshard +Path=/home/gil/GOG\ Games/Stoneshard +Terminal=false +Categories=Game;