diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-27 12:58:43 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-27 12:58:43 +0100 |
| commit | a35688e2e3a4e94d0f43f2548dfa6384a1bf1276 (patch) | |
| tree | 4c39412347f1877fc44d10fc4279f01339e65004 /games/shell.qml | |
| parent | e320c1e0e4452d9bf4903d64e0dd3e1b3ced95d2 (diff) | |
| download | quickshell-a35688e2e3a4e94d0f43f2548dfa6384a1bf1276.tar.gz quickshell-a35688e2e3a4e94d0f43f2548dfa6384a1bf1276.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'games/shell.qml')
| -rw-r--r-- | games/shell.qml | 23 |
1 files changed, 23 insertions, 0 deletions
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. <danix@danix.xyz> +// +// 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 <this dir> ipc call games toggle` + IpcHandler { + target: "games" + function toggle() { games.open = !games.open; } + } +} |
