#steam #gaming #game #config-file

bin+lib eidolon

为 Linux 上的 drm-free、wine 和 steam 游戏,提供一个基于 TUI 的单一注册表,通过 rofi 启动菜单访问

17 个稳定版本

使用旧的 Rust 2015

1.4.6 2019 年 1 月 16 日
1.4.5 2018 年 12 月 29 日
1.4.4 2018 年 11 月 1 日
1.4.3 2018 年 10 月 14 日
1.2.5 2018 年 1 月 28 日

#335游戏

每月 47 次下载
wyvern 中使用

GPL-3.0 许可证

41KB
886

eidolon builds.sr.ht 状态

将 steam_suite 转换为 rust 的版本,并增加了额外功能。为 Linux 上的 drm-free、wine 和 steam 游戏提供一个基于 TUI 的单一注册表,通过 rofi 启动菜单访问。简单、快速、轻量级。这是 sr.ht 仓库 的镜像。请在此处提交关于 eidolon 的问题 here 和补丁 here,尽管我仍然接受 github 上的问题和拉取请求。

看看它的实际效果

A gif showing eidolon working

安装

您现在可以从 crates.io 安装。只需运行 cargo install eidolon,并通过您的发行版的软件包管理器安装 rofi

您需要安装 roficargo。运行

gitclone https://git.sr.ht/~nicohman/eidolon && cdeidolon

cargoinstall --path . --force

或者,在此处查看可能过时的二进制文件 here。此外,您可以从 我的网站 下载从最新 git 提交构建的版本。

非官方包

似乎有人在 AUR 上维护一个包。如果您想在其他地方维护一个包,请随意!如果您告诉我,我甚至会在这里添加链接。

用法

eidolon help 查看命令列表

eidolon
nicohman <nicohman@demenses.net>
Provides a single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu.

USAGE:
    eidolon <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    add       Adds selected file to registry
    help      Prints this message or the help of the given subcommand(s)
    import    Attempts to import in game directory from dir path
    list      Lists installed games
    menu      Show game menu
    rm        Remove a game from the registry
    run       Runs a game by name
    update    Updates registry with installed steam, lutris wine, and itch games

配置

目前,只有三个配置选项:menu_command、prefix_command 和 steam_dirs。配置文件保存在 ~/.config/eidolon/config.json 中,当然是以 JSON 格式。

menu_command : 用于显示eidolon菜单的命令。将通过STDIN提供一个按字母顺序排列的名字列表,并期望通过STDOUT返回一个名字。

steam_dirs : 一个由 |- 分隔的steam安装目录列表,其中$HOME替换为家目录。

prefix_command : 作为每个游戏命令前缀运行的命令。适用于optirun或steam运行时启动。

默认配置文件

{
steam_dirs: ["$HOME/.local/share/steam/steamapps"],

menu_command: "rofi -theme sidebar -mesg 'eidolon game:' -p '> ' -dmenu",

prefix_command: ""
}

待办事项

  • 请将您想添加的功能作为问题提出!

依赖项

~25–36MB
~644K SLoC