Skip to main content

Prism Launcher shim for Rofi

Project description

This is a helper script that allows running Prism Launcher instances from a dmenu-compatible runner. Despite the name, it supports multiple runners.

Demo image showing off 5 instances.

Usage

  1. Install the script, e.g. with pipx install prism-rofi. Further packaging is a WIP.

  2. Add a nice keybind in your settings to run ~/.local/bin/prism-rofi with the right arguments.

  3. Hit the button and enjoy.

Configuration

prism-rofi is configured entirely with command line arguments.

Changing the Prism Dir

By default, prism-rofi looks in $XDG_DATA_HOME/.PrismLauncher (which is usually ~/.local/share/PrismLauncher) for the Prism Launcher configuration file. You can override this with the --config-dir option. prism-rofi will then use the instance and icon directory settings specified in the configuration.

Changing the Runner

Don’t use Rofi? That’s fine. You can change the runner with the --runner option. You can also pass the path of the runner with --exe if your chosen runner isn’t on your $PATH.

Currently supported runners:

Icons

This project includes a small number of project icons used by various modloaders. These are:

  • The Fabric icon, used for Fabric instances

  • The Minecraft Forge icon, used for legacy Forge instances

  • The Quilt icon, used for Quilt instances

  • The NeoForge icon, used for NeoForge instances

  • The MultiMC grass icon as shipped by Prism, used for vanilla/unrecognised instances

Special Credits

Shoutouts to the kaokao project, which is what gave me this idea in the first place!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prism_rofi-0.7.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

prism_rofi-0.7.0-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page