Skip to content

DenverCoder1/dice-roll-albert-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dice-roll-albert-ext

discord License MIT code style black

Extension for rolling dice in Albert launcher

demo gif

Installation

  1. Locate the modules directory in the Python extension data directory.

The data directories reside in the data directories of the application defined by Qt. Hence on linux the modules would be looked up in the following directories (in this order):

~/.local/share/albert/org.albert.extension.python/modules
/usr/local/share/albert/org.albert.extension.python/modules
/usr/share/albert/org.albert.extension.python/modules

(Note: Double-clicking on a module in the settings will open the directory in the file manager.)

  1. Clone this repository into your modules directory.
cd /path/to/modules

git clone https://github.com/DenverCoder1/dice-roll-albert-ext.git
  1. Enable the extension in the settings under Extensions > Python.

settings

Usage

Roll any number of dice using the format _d_.

Synopsis: <amount>d<sides> [<amount>d<sides> ...]

Example: "2d6 3d8 1d20"

Contributing

If you have any questions, suggestions, or issues, please feel free to open an issue or pull request.

Support

💙 If you like this project, give it a ⭐ and share it with friends!

Youtube Sponsor with Github

☕ Buy me a coffee