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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file prism_rofi-0.7.0.tar.gz.

File metadata

  • Download URL: prism_rofi-0.7.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.1.69-gentoo-dist

File hashes

Hashes for prism_rofi-0.7.0.tar.gz
Algorithm Hash digest
SHA256 d393118956c1a04bc3de6908e637be5a4ec6b8122bc1ed7b0ba4d094544cc27f
MD5 07da9af03fe00328efb84de52dd88b2e
BLAKE2b-256 532d40e0bc5c23d1440e519d3022feeacd1592f3d354df3c391cd73ee13da531

See more details on using hashes here.

File details

Details for the file prism_rofi-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: prism_rofi-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.1.69-gentoo-dist

File hashes

Hashes for prism_rofi-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 704610c23bd26175b728ddd59c148076a1e7fc2c1bb094b67b938205850a0d45
MD5 b390b2dc9901212c098875445cc4d0e0
BLAKE2b-256 96e8c313e66d2c4b68368f34a193cc418d94876ec2fa0d4052315eeb05a65d35

See more details on using hashes here.

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