Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Marketplace #7

Closed
hoovercj opened this issue Jul 27, 2017 · 3 comments
Closed

Configuration Marketplace #7

hoovercj opened this issue Jul 27, 2017 · 3 comments

Comments

@hoovercj
Copy link
Owner

hoovercj commented Jul 27, 2017

There's now a quick, easy way to share cool configurations with others. With powermode enabled, go to settings.json and start typing "powermode" to get a list of exciting configuration templates from the community.

To keep this thread clean, use #5 for questions or feedback.

To add an idea to the list, simply comment here by copying, pasting, and modifying the template below into a new comment. I parse the template by extracting everything between the first index of ```json and the last index of ``` (i.e. a json codeblock). The text in between is passed to JSON.parse(). That means you should use double quotes for property names and strings.

If you have local images to use for custom images you can use a hosting provider such as imgur or "paste" the image into a comment which will generate a link that you can use.

Demo:

demo

Template (everything below INCLUDING the leading and trailing ```):

```json

{
    "label": "label here",
    "description": "description",
    "example": "https://path/to/gif (optional, doesn't yet show in UI)",
    "settings": {
        "powermode.customExplosions": [ "https://m.popkey.co/6a12ff/YN1DZ_s-200x150.gif" ],
        "powermode.maxExplosions": 1,
        "powermode.customCss": {
            "left": "1ch",
            "top": "1em",
            "z-index": 1
        },
    }
}

```

@hoovercj
Copy link
Owner Author

hoovercj commented Jul 27, 2017

{
    "label": "Clippy",
    "description": "Clippy follows along next to your cursor",
    "example": "https://path/to/gif",
    "settings": {
        "powermode.customExplosions": [ "https://m.popkey.co/6a12ff/YN1DZ_s-200x150.gif" ],
        "powermode.maxExplosions": 1,
        "powermode.explosionDuration": 0,
        "powermode.customCss": {
            "left": "1ch",
            "top": "1em",
            "z-index": 1
        },
        "powermode.enableShake": false
    }
}

@hoovercj
Copy link
Owner Author

hoovercj commented Jul 27, 2017

{
    "label": "Chaos",
    "description": "Big, bold explosions",
    "example": "https://path/to/gif",
    "settings": {
        "powermode.explosionFrequency": 1,
        "powermode.maxExplosions": 5,
        "powermode.explosionSize": 20,
        "powermode.shakeIntensity": 15
    }
}

@hoovercj
Copy link
Owner Author

hoovercj commented Oct 1, 2017

I removed support for this feature.

@hoovercj hoovercj closed this as completed Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant