This is a helper script that allows running Prism Launcher instances from a dmenu-compatible runner. Despite the name, it supports multiple runners.
Usage
Install the script, e.g. with pipx install prism-rofi. Further packaging is a WIP.
Add a nice keybind in your settings to run ~/.local/bin/prism-rofi with the right arguments.
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:
wofi (content warning: s*rceh*t link)
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!
Metadata
Release files for prism-rofi 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prism_rofi-0.7.0.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prism_rofi-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.9 kB
Release files / prism_rofi-0.7.0.tar.gz
| Download URL | prism_rofi-0.7.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d393118956c1a04bc3de6908e637be5a4ec6b8122bc1ed7b0ba4d094544cc27f
|
|
BLAKE2b-256 checksum How to use checksums |
532d40e0bc5c23d1440e519d3022feeacd1592f3d354df3c391cd73ee13da531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Linux/6.1.69-gentoo-dist
|
Release files / prism_rofi-0.7.0-py3-none-any.whl
| Download URL | prism_rofi-0.7.0-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
704610c23bd26175b728ddd59c148076a1e7fc2c1bb094b67b938205850a0d45
|
|
BLAKE2b-256 checksum How to use checksums |
96e8c313e66d2c4b68368f34a193cc418d94876ec2fa0d4052315eeb05a65d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Linux/6.1.69-gentoo-dist
|