mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
Update espanso configs
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2021 Ihor Kopach https://github.com/kopach
|
Copyright (c) 2022 Ihor Kopach https://github.com/kopach
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -12,90 +12,52 @@
|
|||||||
|
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Make sure you have already installed [Espanso](https://espanso.org/install) first.
|
||||||
|
|
||||||
|
### Install with `espanso install`
|
||||||
|
|
||||||
|
> https://hub.espanso.org/foreign-thanks
|
||||||
|
|
||||||
|
```sh
|
||||||
|
espanso install foreign-thanks
|
||||||
|
```
|
||||||
|
|
||||||
|
That's all. You can start using the package.
|
||||||
|
|
||||||
## Triggers
|
## Triggers
|
||||||
|
|
||||||
| Keyword | Replaced |
|
| Keywords | Replaced |
|
||||||
| ------------------- | ----------------------- |
|
| -------- | -------- |
|
||||||
| `:arabicthx` | `شكرا` |
|
| `:arthx`, `:arabicthx`, `:arabicthanks` | شكرا |
|
||||||
| `:arabicthanks` | `شكرا` |
|
| `:hythx`, `:armenianthx`, `:armenianthanks` | Շնորհակալություն |
|
||||||
| ------------------- | ----------------------- |
|
| `:euthx`, `:basquethx`, `:basquethanks` | Eskerrik asko |
|
||||||
| `:armenianthx` | `Շնորհակալություն` |
|
| `:bethx`, `:belarusianthx`, `:belarusianthanks` | Дзякуй |
|
||||||
| `:armenianthanks` | `Շնորհակալություն` |
|
| `:zhthx`, `:chinesethx`, `:chinesethanks` | 谢谢 |
|
||||||
| ------------------- | ----------------------- |
|
| `:csthx`, `:czechthx`, `:czechthanks` | Díky |
|
||||||
| `:basquethx` | `Eskerrik asko` |
|
| `:nlthx`, `:dutchthx`, `:dutchthanks` | Dank je wel |
|
||||||
| `:basquethanks` | `Eskerrik asko` |
|
| `:tlthx`, `:filipinothx`, `:filipinothanks` | Salamat |
|
||||||
| ------------------- | ----------------------- |
|
| `:fithx`, `:finnishthx`, `:finnishthanks` | Kiitos |
|
||||||
| `:canadianthx` | `thanks, eh.` |
|
| `:frthx`, `:frenchthx`, `:frenchthanks` | Merci |
|
||||||
| `:canadianthanks` | `thanks, eh.` |
|
| `:dethx`, `:germanthx`, `:germanthanks` | Danke |
|
||||||
| ------------------- | ----------------------- |
|
| `:hithx`, `:hindithx`, `:hindithanks` | धन्यवाद |
|
||||||
| `:chinesethx` | `谢谢` |
|
| `:isthx`, `:icelandicthx`, `:icelandicthanks` | Takk |
|
||||||
| `:chinesethanks` | `谢谢` |
|
| `:idthx`, `:indonesianthx`, `:indonesianthanks` | Terima kasih |
|
||||||
| ------------------- | ----------------------- |
|
| `:itthx`, `:italianthx`, `:italianthanks` | Grazie |
|
||||||
| `:czechthx` | `Díky` |
|
| `:jathx`, `:japanesethx`, `:japanesethanks` | ありがとうございます |
|
||||||
| `:czechthanks` | `Díky` |
|
| `:tlhthx`, `:klingonthx`, `:klingonthanks` | Qa tlho' |
|
||||||
| ------------------- | ----------------------- |
|
| `:kothx`, `:koreanthx`, `:koreanthanks` | 감사합니다 |
|
||||||
| `:dutchthx` | `Dank je wel` |
|
| `:psthx`, `:pashtothx`, `:pashtothanks` | ډیره مننه |
|
||||||
| `:dutchthanks` | `Dank je wel` |
|
| `:fathx`, `:persianthx`, `:persianthanks` | متشکرم |
|
||||||
| ------------------- | ----------------------- |
|
| `:plthx`, `:polishthx`, `:polishthanks` | Dzięki |
|
||||||
| `:filipinothx` | `Salamat` |
|
| `:rothx`, `:romanianthx`, `:romanianthanks` | Multumesc |
|
||||||
| `:filipinothanks` | `Salamat` |
|
| `:esthx`, `:spanishthx`, `:spanishthanks` | Gracias |
|
||||||
| ------------------- | ----------------------- |
|
| `:svthx`, `:swedishthx`, `:swedishthanks` | Tack |
|
||||||
| `:finnishthx` | `Kiitos` |
|
| `:trthx`, `:turkishthx`, `:turkishthanks` | Sağol |
|
||||||
| `:finnishthanks` | `Kiitos` |
|
| `:ukthx`, `:ukrainianthx`, `:ukrainianthanks` | Дякую |
|
||||||
| ------------------- | ----------------------- |
|
| `:urthx`, `:urduthx`, `:urduthanks` | شکریہ |
|
||||||
| `:frenchthx` | `Merci` |
|
| `:vithx`, `:vietnamesethx`, `:vietnamesethanks` | Cảm ơn |
|
||||||
| `:frenchthanks` | `Merci` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:germanthx` | `Danke` |
|
|
||||||
| `:germanthanks` | `Danke` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:icelandicthx` | `Takk` |
|
|
||||||
| `:icelandicthanks` | `Takk` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:indianthx` | `धन्यवाद` |
|
|
||||||
| `:indianthanks` | `धन्यवाद` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:indonesianthx` | `Terima kasih` |
|
|
||||||
| `:indonesianthanks` | `Terima kasih` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:italianthx` | `Grazie` |
|
|
||||||
| `:italianthanks` | `Grazie` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:japanesethx` | `ありがとうございます` |
|
|
||||||
| `:japanesethanks` | `ありがとうございます` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:klingonthx` | `QA TLHO"` |
|
|
||||||
| `:klingonthanks` | `QA TLHO"` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:koreanthx` | `감사합니다` |
|
|
||||||
| `:koreanthanks` | `감사합니다` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:persianthx` | `متشکرم` |
|
|
||||||
| `:persianthanks` | `متشکرم` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:polishthx` | `Dzięki` |
|
|
||||||
| `:polishthanks` | `Dzięki` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:romanianthx` | `Multumesc` |
|
|
||||||
| `:romanianthanks` | `Multumesc` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:russianthx` | `Cпасибо` |
|
|
||||||
| `:russianthanks` | `Cпасибо` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:spanishthx` | `Gracias` |
|
|
||||||
| `:spanishthanks` | `Gracias` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:swedishthx` | `Tack` |
|
|
||||||
| `:swedishthanks` | `Tack` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:turkishthx` | `Sağol` |
|
|
||||||
| `:turkishthanks` | `Sağol` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:ukrainianthx` | `Дякую` |
|
|
||||||
| `:ukrainianthanks` | `Дякую` |
|
|
||||||
| ------------------- | ----------------------- |
|
|
||||||
| `:vietnamesethx` | `Cảm ơn` |
|
|
||||||
| `:vietnamesethanks` | `Cảm ơn` |
|
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
@@ -107,4 +69,4 @@ Inspired by [Foreign Thanks](https://snippets.textexpander.com/group/a3c4abfa3e2
|
|||||||
|
|
||||||
## 📄 License
|
## 📄 License
|
||||||
|
|
||||||
This espanso package licensed under the [MIT](https://github.com/kopach/espanso-package-foreign-thanks/blob/master/LICENSE)
|
This espanso package licensed under the [MIT](https://github.com/kopach/espanso-package-foreign-thanks/blob/master/LICENSE)
|
||||||
@@ -1,7 +1,11 @@
|
|||||||
author: Ihor Kopach (https://kopach.dev)
|
author: Ihor Kopach (https://kopach.dev)
|
||||||
description: Say Thanks in different languages
|
description: 🌐 Espanso package to easy say Thanks in different languages
|
||||||
|
homepage: https://github.com/kopach/espanso-package-foreign-thanks#readme
|
||||||
name: foreign-thanks
|
name: foreign-thanks
|
||||||
|
tags:
|
||||||
|
- greetings
|
||||||
|
- languages
|
||||||
|
- phrases
|
||||||
|
- communication
|
||||||
title: Foreign Thanks
|
title: Foreign Thanks
|
||||||
version: 1.0.0
|
version: 1.1.0
|
||||||
homepage: "https://github.com/kopach/espanso-package-foreign-thanks"
|
|
||||||
tags: ["greetings", "languages", "phrases"]
|
|
||||||
|
|||||||
@@ -1,136 +1,141 @@
|
|||||||
# Foreign Thanks
|
|
||||||
matches:
|
matches:
|
||||||
- trigger: ':arabicthx'
|
- replace: شكرا
|
||||||
replace: 'شكرا'
|
triggers:
|
||||||
- trigger: ':arabicthanks'
|
- ':arthx'
|
||||||
replace: 'شكرا'
|
- ':arabicthx'
|
||||||
|
- ':arabicthanks'
|
||||||
- trigger: ':armenianthx'
|
- replace: Շնորհակալություն
|
||||||
replace: 'Շնորհակալություն'
|
triggers:
|
||||||
- trigger: ':armenianthanks'
|
- ':hythx'
|
||||||
replace: 'Շնորհակալություն'
|
- ':armenianthx'
|
||||||
|
- ':armenianthanks'
|
||||||
- trigger: ':basquethx'
|
- replace: Eskerrik asko
|
||||||
replace: 'Eskerrik asko'
|
triggers:
|
||||||
- trigger: ':basquethanks'
|
- ':euthx'
|
||||||
replace: 'Eskerrik asko'
|
- ':basquethx'
|
||||||
|
- ':basquethanks'
|
||||||
- trigger: ':canadianthx'
|
- replace: Дзякуй
|
||||||
replace: 'thanks, eh.'
|
triggers:
|
||||||
- trigger: ':canadianthanks'
|
- ':bethx'
|
||||||
replace: 'thanks, eh.'
|
- ':belarusianthx'
|
||||||
|
- ':belarusianthanks'
|
||||||
- trigger: ':chinesethx'
|
- replace: 谢谢
|
||||||
replace: '谢谢'
|
triggers:
|
||||||
- trigger: ':chinesethanks'
|
- ':zhthx'
|
||||||
replace: '谢谢'
|
- ':chinesethx'
|
||||||
|
- ':chinesethanks'
|
||||||
- trigger: ':czechthx'
|
- replace: Díky
|
||||||
replace: 'Díky'
|
triggers:
|
||||||
- trigger: ':czechthanks'
|
- ':csthx'
|
||||||
replace: 'Díky'
|
- ':czechthx'
|
||||||
|
- ':czechthanks'
|
||||||
- trigger: ':dutchthx'
|
- replace: Dank je wel
|
||||||
replace: 'Dank je wel'
|
triggers:
|
||||||
- trigger: ':dutchthanks'
|
- ':nlthx'
|
||||||
replace: 'Dank je wel'
|
- ':dutchthx'
|
||||||
|
- ':dutchthanks'
|
||||||
- trigger: ':filipinothx'
|
- replace: Salamat
|
||||||
replace: 'Salamat'
|
triggers:
|
||||||
- trigger: ':filipinothanks'
|
- ':tlthx'
|
||||||
replace: 'Salamat'
|
- ':filipinothx'
|
||||||
|
- ':filipinothanks'
|
||||||
- trigger: ':finnishthx'
|
- replace: Kiitos
|
||||||
replace: 'Kiitos'
|
triggers:
|
||||||
- trigger: ':finnishthanks'
|
- ':fithx'
|
||||||
replace: 'Kiitos'
|
- ':finnishthx'
|
||||||
|
- ':finnishthanks'
|
||||||
- trigger: ':frenchthx'
|
- replace: Merci
|
||||||
replace: 'Merci'
|
triggers:
|
||||||
- trigger: ':frenchthanks'
|
- ':frthx'
|
||||||
replace: 'Merci'
|
- ':frenchthx'
|
||||||
|
- ':frenchthanks'
|
||||||
- trigger: ':germanthx'
|
- replace: Danke
|
||||||
replace: 'Danke'
|
triggers:
|
||||||
- trigger: ':germanthanks'
|
- ':dethx'
|
||||||
replace: 'Danke'
|
- ':germanthx'
|
||||||
|
- ':germanthanks'
|
||||||
- trigger: ':icelandicthx'
|
- replace: धन्यवाद
|
||||||
replace: 'Takk'
|
triggers:
|
||||||
- trigger: ':icelandicthanks'
|
- ':hithx'
|
||||||
replace: 'Takk'
|
- ':hindithx'
|
||||||
|
- ':hindithanks'
|
||||||
- trigger: ':indianthx'
|
- replace: Takk
|
||||||
replace: 'धन्यवाद'
|
triggers:
|
||||||
- trigger: ':indianthanks'
|
- ':isthx'
|
||||||
replace: 'धन्यवाद'
|
- ':icelandicthx'
|
||||||
|
- ':icelandicthanks'
|
||||||
- trigger: ':indonesianthx'
|
- replace: Terima kasih
|
||||||
replace: 'Terima kasih'
|
triggers:
|
||||||
- trigger: ':indonesianthanks'
|
- ':idthx'
|
||||||
replace: 'Terima kasih'
|
- ':indonesianthx'
|
||||||
|
- ':indonesianthanks'
|
||||||
- trigger: ':italianthx'
|
- replace: Grazie
|
||||||
replace: 'Grazie'
|
triggers:
|
||||||
- trigger: ':italianthanks'
|
- ':itthx'
|
||||||
replace: 'Grazie'
|
- ':italianthx'
|
||||||
|
- ':italianthanks'
|
||||||
- trigger: ':japanesethx'
|
- replace: ありがとうございます
|
||||||
replace: 'ありがとうございます'
|
triggers:
|
||||||
- trigger: ':japanesethanks'
|
- ':jathx'
|
||||||
replace: 'ありがとうございます'
|
- ':japanesethx'
|
||||||
|
- ':japanesethanks'
|
||||||
- trigger: ':klingonthx'
|
- replace: Qa tlho'
|
||||||
replace: "QA TLHO'"
|
triggers:
|
||||||
- trigger: ':klingonthanks'
|
- ':tlhthx'
|
||||||
replace: "QA TLHO'"
|
- ':klingonthx'
|
||||||
|
- ':klingonthanks'
|
||||||
- trigger: ':koreanthx'
|
- replace: 감사합니다
|
||||||
replace: '감사합니다'
|
triggers:
|
||||||
- trigger: ':koreanthanks'
|
- ':kothx'
|
||||||
replace: '감사합니다'
|
- ':koreanthx'
|
||||||
|
- ':koreanthanks'
|
||||||
- trigger: ':persianthx'
|
- replace: ډیره مننه
|
||||||
replace: 'متشکرم'
|
triggers:
|
||||||
- trigger: ':persianthanks'
|
- ':psthx'
|
||||||
replace: 'متشکرم'
|
- ':pashtothx'
|
||||||
|
- ':pashtothanks'
|
||||||
- trigger: ':polishthx'
|
- replace: متشکرم
|
||||||
replace: 'Dzięki'
|
triggers:
|
||||||
- trigger: ':polishthanks'
|
- ':fathx'
|
||||||
replace: 'Dzięki'
|
- ':persianthx'
|
||||||
|
- ':persianthanks'
|
||||||
- trigger: ':romanianthx'
|
- replace: Dzięki
|
||||||
replace: 'Multumesc'
|
triggers:
|
||||||
- trigger: ':romanianthanks'
|
- ':plthx'
|
||||||
replace: 'Multumesc'
|
- ':polishthx'
|
||||||
|
- ':polishthanks'
|
||||||
- trigger: ':russianthx'
|
- replace: Multumesc
|
||||||
replace: 'Cпасибо'
|
triggers:
|
||||||
- trigger: ':russianthanks'
|
- ':rothx'
|
||||||
replace: 'Cпасибо'
|
- ':romanianthx'
|
||||||
|
- ':romanianthanks'
|
||||||
- trigger: ':spanishthx'
|
- replace: Gracias
|
||||||
replace: 'Gracias'
|
triggers:
|
||||||
- trigger: ':spanishthanks'
|
- ':esthx'
|
||||||
replace: 'Gracias'
|
- ':spanishthx'
|
||||||
|
- ':spanishthanks'
|
||||||
- trigger: ':swedishthx'
|
- replace: Tack
|
||||||
replace: 'Tack'
|
triggers:
|
||||||
- trigger: ':swedishthanks'
|
- ':svthx'
|
||||||
replace: 'Tack'
|
- ':swedishthx'
|
||||||
|
- ':swedishthanks'
|
||||||
- trigger: ':turkishthx'
|
- replace: Sağol
|
||||||
replace: 'Sağol'
|
triggers:
|
||||||
- trigger: ':turkishthanks'
|
- ':trthx'
|
||||||
replace: 'Sağol'
|
- ':turkishthx'
|
||||||
|
- ':turkishthanks'
|
||||||
- trigger: ':ukrainianthx'
|
- replace: Дякую
|
||||||
replace: 'Дякую'
|
triggers:
|
||||||
- trigger: ':ukrainianthanks'
|
- ':ukthx'
|
||||||
replace: 'Дякую'
|
- ':ukrainianthx'
|
||||||
|
- ':ukrainianthanks'
|
||||||
- trigger: ':vietnamesethx'
|
- replace: شکریہ
|
||||||
replace: 'Cảm ơn'
|
triggers:
|
||||||
- trigger: ':vietnamesethanks'
|
- ':urthx'
|
||||||
replace: 'Cảm ơn'
|
- ':urduthx'
|
||||||
|
- ':urduthanks'
|
||||||
|
- replace: Cảm ơn
|
||||||
|
triggers:
|
||||||
|
- ':vithx'
|
||||||
|
- ':vietnamesethx'
|
||||||
|
- ':vietnamesethanks'
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ author: omrilotan
|
|||||||
description: Get a hilarious random commit message
|
description: Get a hilarious random commit message
|
||||||
name: wtc
|
name: wtc
|
||||||
title: What the Commit
|
title: What the Commit
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
homepage: "https://github.com/omrilotan/espanso-package-wtc"
|
homepage: "https://github.com/omrilotan/espanso-package-wtc"
|
||||||
tags: ["fun", "git", "shell"]
|
tags: ["fun", "git", "shell"]
|
||||||
@@ -5,4 +5,4 @@ matches:
|
|||||||
- name: output
|
- name: output
|
||||||
type: shell
|
type: shell
|
||||||
params:
|
params:
|
||||||
cmd: "curl -s whatthecommit.com/index.txt"
|
cmd: "curl -s https://whatthecommit.com/index.txt"
|
||||||
|
|||||||
21
espanso/.config/espanso/match/packages/wttr/LICENSE
Normal file
21
espanso/.config/espanso/match/packages/wttr/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Brady Joslin <brady@bradyjoslin.com>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
29
espanso/.config/espanso/match/packages/wttr/README.md
Normal file
29
espanso/.config/espanso/match/packages/wttr/README.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# espanso-package-wttr
|
||||||
|
|
||||||
|
An espanso package for getting the weather from [Igor Chubin's](https://github.com/chubin) console-oriented weather service [wttr.in](https://wttr.in).
|
||||||
|
|
||||||
|
For more information about espanso packages, read the [documentation](https://espanso.org/docs/).
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Available replacement examples:
|
||||||
|
|
||||||
|
| replacement | sample output | description |
|
||||||
|
| --------------------- | -------------------------------- | ------------------------------------- |
|
||||||
|
| `:wttrin` | Spring, United States: ⛅️ +80°F | Current location's current weather |
|
||||||
|
| `:moonphase` | 🌕 | Current phase of the moon |
|
||||||
|
| `:wttrat/{location}/` | dallas: ☀️ +88°F | Current weather in specified location. Separate words with `+` instead of spaces. |
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
`espanso install wttr`
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
Requires `curl`.
|
||||||
|
|
||||||
|
## Package Details
|
||||||
|
|
||||||
|
Repository: [https://github.com/bradyjoslin/espanso-package-wttr/](https://github.com/bradyjoslin/espanso-package-wttr/)
|
||||||
|
|
||||||
|
This package has been edited by the Espanso Team to port it to the new v2 format.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
author: Brady Joslin
|
||||||
|
description: A package to get the weather from wttr.in.
|
||||||
|
name: wttr
|
||||||
|
title: wttr Package
|
||||||
|
version: 0.1.0
|
||||||
|
homepage: "https://github.com/bradyjoslin/espanso-package-wttr"
|
||||||
|
tags: ["shell", "misc", "weather"]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
hub
|
||||||
26
espanso/.config/espanso/match/packages/wttr/package.yml
Normal file
26
espanso/.config/espanso/match/packages/wttr/package.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# wttr package
|
||||||
|
|
||||||
|
matches:
|
||||||
|
- trigger: ":wttrin"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: 'curl https://wttr.in?format="%l:+%c+%t\n"'
|
||||||
|
|
||||||
|
- trigger: ":moonphase"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: 'curl https://wttr.in?format="%m\n"'
|
||||||
|
|
||||||
|
- regex: ":wttrat/(?P<location>.*)/"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: 'curl https://wttr.in/{{location}}?format="%l:+%c+%t\n"'
|
||||||
Reference in New Issue
Block a user