dotfiles-remastered/.local/share/scripts/last-steam-screenshot.sh

6 lines
217 B
Bash
Raw Normal View History

2022-09-07 23:49:41 +00:00
#!/usr/bin/env sh
WEIRD_NUMBER="115748555" #steamID3
find "$HOME/.local/share/Steam/userdata/$WEIRD_NUMBER/760" -type f -name "*.jpg" -not -path "*/thumbnails/*" -printf "%T@ %p\n" | sort --reverse | cut -d' ' -f2