Initial Commit, move from a symlink farm to yadm
This commit is contained in:
16
.config/espanso/match/packages/espanso-dice/README.md
Normal file
16
.config/espanso/match/packages/espanso-dice/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Espanso Dice
|
||||
Espanso text expander package with common die types.
|
||||
|
||||
To use, type ".roll dnumber of die sides" followed by a space.
|
||||
|
||||
## Dice currently supported:
|
||||
- d2
|
||||
- d3
|
||||
- d4
|
||||
- d6
|
||||
- d8
|
||||
- d10
|
||||
- d12
|
||||
- d20
|
||||
- d100 (aka d00)
|
||||
- d1000 (aka d000)
|
||||
@@ -0,0 +1,7 @@
|
||||
author: Craftidore
|
||||
description: Dice emulator using the espanso random function.
|
||||
homepage: https://github.com/Craftidore/espanso-dice
|
||||
name: espanso-dice
|
||||
title: Espanso Dice
|
||||
version: 0.1.0
|
||||
tags: ["utility", "fun", "dice"]
|
||||
@@ -0,0 +1,2 @@
|
||||
---
|
||||
hub
|
||||
210
.config/espanso/match/packages/espanso-dice/package.yml
Normal file
210
.config/espanso/match/packages/espanso-dice/package.yml
Normal file
@@ -0,0 +1,210 @@
|
||||
# Espanso Dice
|
||||
|
||||
matches:
|
||||
- triggers: [".roll d2", ".r d2"]
|
||||
word: true
|
||||
replace: "d2: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- triggers: [".roll d3", ".r d3"]
|
||||
word: true
|
||||
replace: "d3: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- triggers: [".roll d4", ".r d4"]
|
||||
word: true
|
||||
replace: "d4: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- triggers: [".roll d6", ".r d6"]
|
||||
word: true
|
||||
replace: "d6: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- triggers: [".roll d8", ".r d8"]
|
||||
word: true
|
||||
replace: "d8: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- triggers: [".roll d10", ".r d10"]
|
||||
word: true
|
||||
replace: "d10: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "10"
|
||||
- triggers: [".roll d12", ".r d12"]
|
||||
word: true
|
||||
replace: "d12: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "10"
|
||||
- "11"
|
||||
- "12"
|
||||
- triggers: [".roll d20", ".r d20"]
|
||||
word: true
|
||||
replace: "d20: {{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "10"
|
||||
- "11"
|
||||
- "12"
|
||||
- "13"
|
||||
- "14"
|
||||
- "15"
|
||||
- "16"
|
||||
- "17"
|
||||
- "18"
|
||||
- "19"
|
||||
- "20"
|
||||
- triggers: [".roll d100", ".roll d00", ".r d100", ".r d00"]
|
||||
word: true
|
||||
replace: "d100: {{output1}}{{output2}}"
|
||||
vars:
|
||||
- name: output1
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "10"
|
||||
- name: output2
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "0"
|
||||
- triggers: [".roll d1000", ".roll d000", ".r d1000", ".r d000"]
|
||||
word: true
|
||||
replace: "d1000: {{output1}}{{output2}}{{output3}}"
|
||||
vars:
|
||||
- name: output1
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "10"
|
||||
- name: output2
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "0"
|
||||
- name: output3
|
||||
type: random
|
||||
params:
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "0"
|
||||
Reference in New Issue
Block a user