GitXplorerGitXplorer
m

powerline_slotmachine

public
0 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
2aeee43e6033e172d02ccd5c0c3afe1a35642aba

Update the link to screenshot.

mmdtrooper committed 5 years ago
Unverified
7227cccf43cff92426bcfc94cb1ae972607f3942

Added a screenshot and tiny usage text.

mmdtrooper committed 5 years ago
Unverified
b2ee8209dbd72c84598d0b95556ee4d31baf3e3e

Added platform any in the setup.py .

mmdtrooper committed 5 years ago
Unverified
3a20cd3471a3cc901998c689cbd6630c6dcb6267

Added appdirs dependency in setup.py

mmdtrooper committed 5 years ago
Unverified
262564650484baa72dc6a7b741fbdac6dd82ccba

Starting with the setup.py

mmdtrooper committed 5 years ago
Unverified
407e7864e7a044129d5349db9bd963c18276cf5b

First commit without setup.py and other things.

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.