From a35688e2e3a4e94d0f43f2548dfa6384a1bf1276 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 27 Oct 2026 12:58:43 +0100 Subject: games: the Steam library as an endless strip with a large preview An overlay on DP-1: a looping PathView of slanted tiles along the bottom, the centred one shown large above it in Steam's hero art with its title. Installed games and non-Steam shortcuts come first, by last played; owned games that are not installed follow, framed in peach, and Enter installs them. Launches go through steam -silent so the Steam window stays down. games.py reads appmanifests, the binary shortcuts.vdf and Steam's library cache on every opening; owned games come from the Web API through a cache refreshed in the background. Co-Authored-By: Claude Opus 5.5 --- games/shell.qml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 games/shell.qml (limited to 'games/shell.qml') diff --git a/games/shell.qml b/games/shell.qml new file mode 100644 index 0000000..c667ec4 --- /dev/null +++ b/games/shell.qml @@ -0,0 +1,23 @@ +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +import Quickshell +import Quickshell.Io + +ShellRoot { + Games { id: games } + + // `qs -p ipc call games toggle` + IpcHandler { + target: "games" + function toggle() { games.open = !games.open; } + } +} -- cgit v1.2.3