Skip to content

Instantly share code, notes, and snippets.

@simons-public
Created August 13, 2022 04:31
Show Gist options
  • Save simons-public/2545d8884f20bf7e60e20b07474deeb8 to your computer and use it in GitHub Desktop.
Save simons-public/2545d8884f20bf7e60e20b07474deeb8 to your computer and use it in GitHub Desktop.
SteamDeck compatdata deduplication
# /home/deck/.config/systemd/user/dedup-compatdata.service
[Unit]
Description=Use hardlink(1) to dedup Steam compatdata
[Service]
Type=oneshot
ExecStart=hardlink -v /home/deck/.steam/steam/steamapps/compatdata
[Install]
WantedBy=default.target
# /home/deck/.config/systemd/user/dedup-compatdata.timer
[Unit]
Description=Run dedup-compatdata weekly
[Timer]
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment