Commit Graph

3 Commits

Author SHA1 Message Date
mollusk bb50d96999 Add genre filter using local appinfo.vdf with API fallback
Adds a second dropdown next to the install filter that lets the user
narrow rolls to a single Steam genre (RPG, Strategy, etc.).

Genre data is loaded from Steam's local appinfo.vdf cache via
python-steam (instant, no network). If that's unavailable or a game
isn't in the cache, falls back to a rate-limited background fetch of
appdetails?filters=genres, prompted via confirm dialog. Cached at
~/.cache/steam-dice/genres.json across runs.

python-steam declared as optdepends — app degrades gracefully to the
API path if missing.
2026-05-08 15:26:53 -04:00
mollusk 37bf1c9cc5 Rename desktop ID and icon to reverse-DNS scheme
The icon name "steam-dice" triggers freedesktop's compound-name
fallback: when not found, it strips "-dice" and resolves to the
Steam package's icon. Switch to io.github.silvernode.SteamDice
so the fallback can't collide with anything pre-existing.

Also add .gitignore for makepkg build artifacts and pycache.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 16:55:40 -04:00
mollusk be764eb67e Add desktop integration and Arch PKGBUILD
- steam-dice.svg: flat dice icon on Steam-blue gradient
- steam-dice.desktop: launcher entry under Game category
- PKGBUILD: steam-dice-git, builds from GitHub source
- Use setDesktopFileName for correct Wayland WM_CLASS, with
  local SVG fallback when running from the source tree

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 16:22:50 -04:00