GitXplorerGitXplorer
m

powerline_slotmachine

public
0 stars
0 forks
1 issues

Commits

List of commits on branch master.
Verified
093810bf2ded582543b89743ac46618977cf0e15

Initial commit

mmdtrooper committed 5 years ago

README

The README file for this repository.

POWERLINE SLOTMACHINE

A toy Powerline segment. This segment shows a slotmachine.

By Miguel de Dios Matias.

Installation

Using pip

pip install powerline-slotmachine

Configuration

You can activate the Powerline Slotmachine segment by adding it to your segment configuration, for example in .config/powerline/themes/shell/default.json:

{
    "function": "powerline_slotmachine.slotmachine",
    "priority": 90
}

But the Powerline Slotmachine store the last combination and money amount in <home>/.config/powerline_slotmachine.json.

Usage

Only execute something in the prompt and the slotmachine will bet.

The bet is 1 coin. The user starts with 10 coins.

screenshot

Combinations

Slot Prize
🍇🍇🍇 1
🍋🍋🍋 2
🍉🍉🍉 4
🍒🍒🍒 15
⭐⭐⭐ 100
XX🍒 5
X🍒🍒 10

License

Licensed under the GPL3 License.