Commit Graph

10 Commits

Author SHA1 Message Date
74856ee9f9 Fix five bugs: concurrent fetch threads, cooldown on error, stale image signal, redundant startup fetch, validation style leak
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 15:50:56 -04:00
fca74fd86b Make steam_dice.py executable
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 14:11:06 -04:00
434e4f8e0b Clarify Steam ID field expects number only, not full URL 2026-04-02 07:35:34 -04:00
315724598f Add settings dialog with QSettings persistence
Removes hardcoded credentials. Users enter their Steam API key and Steam ID
via a gear-icon settings dialog. Help text in the dialog explains how to
obtain each value with clickable links. Settings persist to
~/.config/butter/steam-dice.conf via QSettings. Dialog auto-opens on first
launch if credentials are not yet configured.
2026-04-02 07:13:33 -04:00
294a5f6810 Add installed/not installed filter dropdown
Scans libraryfolders.vdf and all steamapps directories at load time to
build the installed appid set. Dropdown filters the roll pool between
All games, Installed, and Not installed. Re-scans on each library refresh.
2026-04-02 07:04:28 -04:00
4c927e7ac3 Add Play button to launch selected game via Steam URI
Uses steam://rungameid/{appid} with xdg-open to hand off to the local
Steam client. Button appears below the game image after a roll and hides
again when the dice is rolled next.
2026-04-02 06:59:11 -04:00
8eaee99196 Add refresh button with 60s cooldown timer
Adds a view-refresh icon button in the top-right corner to re-fetch the
Steam library. A countdown label appears below it during the cooldown and
hides when the timer expires, preventing API spam.
2026-04-02 06:35:36 -04:00
02f561b3ac Set dice app icon from Papirus theme
Replaces the generic Qt placeholder W icon in the titlebar with the
Papirus gDiceRoller icon.
2026-04-02 06:28:46 -04:00
db56be8bef Add version label and native Wayland support
- Set QT_QPA_PLATFORM=wayland when WAYLAND_DISPLAY is present so the
  app runs natively instead of via XWayland
- Show version string (v0.1.0-<git short hash>) in bottom-left corner
2026-04-02 06:21:24 -04:00
8465124977 Initial commit: Steam Dice PyQt6 app
Random game picker with Steam Web API integration, Wayland-native Qt6 support,
and Steam-style dark theme.
2026-04-02 06:20:34 -04:00