* game-launcher: bundle self-contained SQLite reader, drop libsqlite3 dependency Fixes building gamelauncher.c on NixOS where the runtime env lacks sqlite3.h/libsqlite3. scan_lutris now reads Lutris' pga.db through a bundled read-only SQLite file parser instead of linking sqlite3. * game-launcher: rework /g provider to reuse panel scan results The launcher provider now reads the games the panel already scanned via state/cache, trims the query, and surfaces status/error rows instead of duplicating the scan. --------- Co-authored-by: Ahmed5Emad <ahmed5emad@users.noreply.github.com>
63 lines
1.2 KiB
TOML
63 lines
1.2 KiB
TOML
id = "alexander/game-launcher"
|
|
name = "Game Launcher"
|
|
version = "1.3.0"
|
|
plugin_api = 13
|
|
author = "Alexander"
|
|
license = "MIT"
|
|
icon = "device-gamepad-2"
|
|
description = "Browse and launch games from Steam, Lutris, and Heroic."
|
|
dependencies = ["cc", "xdg-utils"]
|
|
tags = ["gaming", "launcher", "utility"]
|
|
|
|
[[widget]]
|
|
id = "launcher"
|
|
entry = "widget.luau"
|
|
|
|
[[widget.setting]]
|
|
key = "glyph"
|
|
type = "glyph"
|
|
label_key = "settings.glyph.label"
|
|
default = "device-gamepad-2"
|
|
|
|
[[panel]]
|
|
id = "browser"
|
|
entry = "panel.luau"
|
|
width = 720
|
|
height = 520
|
|
placement = "floating"
|
|
position = "center"
|
|
open_near_click = true
|
|
capture_keys = ["Up", "Down", "Return"]
|
|
|
|
[[panel.setting]]
|
|
key = "steampoacher_enabled"
|
|
type = "bool"
|
|
label_key = "settings.steampoacher_enabled.label"
|
|
default = false
|
|
|
|
[[panel.setting]]
|
|
key = "steam_enabled"
|
|
type = "bool"
|
|
label_key = "settings.steam_enabled.label"
|
|
default = true
|
|
|
|
[[panel.setting]]
|
|
key = "heroic_enabled"
|
|
type = "bool"
|
|
label_key = "settings.heroic_enabled.label"
|
|
default = true
|
|
|
|
[[panel.setting]]
|
|
key = "lutris_enabled"
|
|
type = "bool"
|
|
label_key = "settings.lutris_enabled.label"
|
|
default = true
|
|
|
|
[[launcher_provider]]
|
|
id = "search"
|
|
entry = "search.luau"
|
|
prefix = "g"
|
|
glyph = "device-gamepad-2"
|
|
include_in_global_search = true
|
|
debounce_ms = 150
|