aboutsummaryrefslogtreecommitdiffstats
path: root/games/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-27 13:22:43 +0100
committerDanilo M. <danix@danix.xyz>2026-10-27 13:22:43 +0100
commit6b68cae8e0c4ec43c4a9a8a812a644b7bea746e7 (patch)
treea8fdf6542fc8b84adcaa90ed9b1f9990da924046 /games/README.md
parent583ac2e98c3ff4fa379194b2eb4e7530c07b275d (diff)
downloadquickshell-6b68cae8e0c4ec43c4a9a8a812a644b7bea746e7.tar.gz
quickshell-6b68cae8e0c4ec43c4a9a8a812a644b7bea746e7.zip
games: search the Steam store from the launcher
Down switches the strip and preview from the library to store results, searched as you type with a 350ms debounce through the store's keyless api/storesearch endpoint, using QML's own XMLHttpRequest rather than a process. Results already in the library read Owned or Installed in green, the rest their price; Enter opens steam://store/<appid> in the client, Up or Escape returns to the library with the query kept, so a name that matches nothing locally is one keypress from the store. The endpoint answers {"total":0} for every term when no cc is given, despite looking like it geolocates, and the locale here is en_US, so the country is fixed to Italy. Store art comes from Steam's CDN; newer apps keep theirs under hashed paths that 404, so the preview layers the search's capsule under the hero and the tile shows the initial until its cover is actually ready. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'games/README.md')
-rw-r--r--games/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/README.md b/games/README.md
index b0b6f5b..46f0359 100644
--- a/games/README.md
+++ b/games/README.md
@@ -14,6 +14,15 @@ Escape or a click on the background closes. Everything goes through
for an installed game or shortcut (keeping its Proton and launch options),
`install` for one that is not.
+Down switches the strip to the Steam store: typing searches it through
+the store's keyless `api/storesearch` endpoint (country fixed to
+Italy, without one it answers nothing), and results show the
+price, or Owned / Installed in green for games already in the library.
+Enter opens the store page in the Steam client; Up or Escape goes back to
+the library, keeping what was typed. Art comes from Steam's CDN; newer
+apps keep theirs under hashed paths that 404, so the preview falls back
+to the search's capsule image and the tile to the initial.
+
`games.py` reads, on every opening:
- installed games from the `appmanifest_*.acf` files of every library in