# eidolon
A conversion of steam_suite to rust with additional features.
Provides a single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu. Simple, fast and lightweight.
### See it in action

## Installation
You can now install from [crates.io](https://crates.io/crates/eidolon). Just run `cargo install eidolon` and install [rofi](https://github.com/DaveDavenport/rofi) via your distro's package manager!
You'll need [rofi](https://github.com/DaveDavenport/rofi) and [cargo](https://github.com/rust-lang/cargo) installed. Run:
`git clone https://github.com/nicohman/eidolon.git && cd eidolon`
`cargo build --release`
`sudo cp targets/release/eidolon /usr/bin/eidolon`
Alternatively, check [here](https://github.com/nicohman/eidolon/releases) for a possibly out of date binary.
### Unofficial packages
It appears someone is maintaining a package on the [AUR](https://aur.archlinux.org/packages/eidolon).
## Usage
`eidolon help` for list of commands:
```Commands:
update : updates registry with installed steam games, lutris wine games and itch games
add [name] [file] : adds game to registry
list : lists all installed games
rm [name] : removes game from registry
run [name] : runs the named game
menu : shows game menu
import [dir] : attempts to import in game directory just from name of location.
imports [dir] : imports in all game directories within given directory
wine_add [name] [.exe] : adds windows exe to be run under wine to the registry
version : displays the current eidolon version and contact info
help : show this screen
```
## Configuration
Right now, only three config options exist: menu_command, prefix_command and steam_dirs.
`menu_command` : The command to be run to display the eidolon menu. Will be given an alphabetical list of names through STDIN, and a name is expected back through STDOUT.
`prefix_command` : A command that will be run as a prefix to every game command. Good for optirun or steam runtime launching.
#### Default config file:
```
steam_dirs: |$HOME/.local/share/steam/steamapps|
menu_command: | rofi -theme sidebar -mesg 'eidolon game:' -p '> ' -dmenu |
prefix_command: | |
```
## Todo
+ Please suggest any features you want as an issue!