Update espanso configs

This commit is contained in:
2023-02-25 18:53:23 +01:00
parent cfab83bde5
commit ad35204f88
11 changed files with 281 additions and 225 deletions

View File

@@ -1,6 +1,6 @@
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
of this software and associated documentation files (the "Software"), to deal

View File

@@ -12,90 +12,52 @@
</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
| Keyword | Replaced |
| ------------------- | ----------------------- |
| `:arabicthx` | `شكرا` |
| `:arabicthanks` | `شكرا` |
| ------------------- | ----------------------- |
| `:armenianthx` | `Շնորհակալություն` |
| `:armenianthanks` | `Շնորհակալություն` |
| ------------------- | ----------------------- |
| `:basquethx` | `Eskerrik asko` |
| `:basquethanks` | `Eskerrik asko` |
| ------------------- | ----------------------- |
| `:canadianthx` | `thanks, eh.` |
| `:canadianthanks` | `thanks, eh.` |
| ------------------- | ----------------------- |
| `:chinesethx` | `谢谢` |
| `:chinesethanks` | `谢谢` |
| ------------------- | ----------------------- |
| `:czechthx` | `Díky` |
| `:czechthanks` | `Díky` |
| ------------------- | ----------------------- |
| `:dutchthx` | `Dank je wel` |
| `:dutchthanks` | `Dank je wel` |
| ------------------- | ----------------------- |
| `:filipinothx` | `Salamat` |
| `:filipinothanks` | `Salamat` |
| ------------------- | ----------------------- |
| `:finnishthx` | `Kiitos` |
| `:finnishthanks` | `Kiitos` |
| ------------------- | ----------------------- |
| `:frenchthx` | `Merci` |
| `: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` |
| Keywords | Replaced |
| -------- | -------- |
| `:arthx`, `:arabicthx`, `:arabicthanks` | شكرا |
| `:hythx`, `:armenianthx`, `:armenianthanks` | Շնորհակալություն |
| `:euthx`, `:basquethx`, `:basquethanks` | Eskerrik asko |
| `:bethx`, `:belarusianthx`, `:belarusianthanks` | Дзякуй |
| `:zhthx`, `:chinesethx`, `:chinesethanks` | 谢谢 |
| `:csthx`, `:czechthx`, `:czechthanks` | Díky |
| `:nlthx`, `:dutchthx`, `:dutchthanks` | Dank je wel |
| `:tlthx`, `:filipinothx`, `:filipinothanks` | Salamat |
| `:fithx`, `:finnishthx`, `:finnishthanks` | Kiitos |
| `:frthx`, `:frenchthx`, `:frenchthanks` | Merci |
| `:dethx`, `:germanthx`, `:germanthanks` | Danke |
| `:hithx`, `:hindithx`, `:hindithanks` | धन्यवाद |
| `:isthx`, `:icelandicthx`, `:icelandicthanks` | Takk |
| `:idthx`, `:indonesianthx`, `:indonesianthanks` | Terima kasih |
| `:itthx`, `:italianthx`, `:italianthanks` | Grazie |
| `:jathx`, `:japanesethx`, `:japanesethanks` | ありがとうございます |
| `:tlhthx`, `:klingonthx`, `:klingonthanks` | Qa tlho' |
| `:kothx`, `:koreanthx`, `:koreanthanks` | 감사합니다 |
| `:psthx`, `:pashtothx`, `:pashtothanks` | ډیره مننه |
| `:fathx`, `:persianthx`, `:persianthanks` | متشکرم |
| `:plthx`, `:polishthx`, `:polishthanks` | Dzięki |
| `:rothx`, `:romanianthx`, `:romanianthanks` | Multumesc |
| `:esthx`, `:spanishthx`, `:spanishthanks` | Gracias |
| `:svthx`, `:swedishthx`, `:swedishthanks` | Tack |
| `:trthx`, `:turkishthx`, `:turkishthanks` | Sağol |
| `:ukthx`, `:ukrainianthx`, `:ukrainianthanks` | Дякую |
| `:urthx`, `:urduthx`, `:urduthanks` | شکریہ |
| `:vithx`, `:vietnamesethx`, `:vietnamesethanks` | Cảm ơn |
## Contribute
@@ -107,4 +69,4 @@ Inspired by [Foreign Thanks](https://snippets.textexpander.com/group/a3c4abfa3e2
## 📄 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)

View File

@@ -1,7 +1,11 @@
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
tags:
- greetings
- languages
- phrases
- communication
title: Foreign Thanks
version: 1.0.0
homepage: "https://github.com/kopach/espanso-package-foreign-thanks"
tags: ["greetings", "languages", "phrases"]
version: 1.1.0

View File

@@ -1,136 +1,141 @@
# Foreign Thanks
matches:
- trigger: ':arabicthx'
replace: 'شكرا'
- trigger: ':arabicthanks'
replace: 'شكرا'
- trigger: ':armenianthx'
replace: 'Շնորհակալություն'
- trigger: ':armenianthanks'
replace: 'Շնորհակալություն'
- trigger: ':basquethx'
replace: 'Eskerrik asko'
- trigger: ':basquethanks'
replace: 'Eskerrik asko'
- trigger: ':canadianthx'
replace: 'thanks, eh.'
- trigger: ':canadianthanks'
replace: 'thanks, eh.'
- trigger: ':chinesethx'
replace: '谢谢'
- trigger: ':chinesethanks'
replace: '谢谢'
- trigger: ':czechthx'
replace: 'Díky'
- trigger: ':czechthanks'
replace: 'Díky'
- trigger: ':dutchthx'
replace: 'Dank je wel'
- trigger: ':dutchthanks'
replace: 'Dank je wel'
- trigger: ':filipinothx'
replace: 'Salamat'
- trigger: ':filipinothanks'
replace: 'Salamat'
- trigger: ':finnishthx'
replace: 'Kiitos'
- trigger: ':finnishthanks'
replace: 'Kiitos'
- trigger: ':frenchthx'
replace: 'Merci'
- trigger: ':frenchthanks'
replace: 'Merci'
- trigger: ':germanthx'
replace: 'Danke'
- trigger: ':germanthanks'
replace: 'Danke'
- trigger: ':icelandicthx'
replace: 'Takk'
- trigger: ':icelandicthanks'
replace: 'Takk'
- trigger: ':indianthx'
replace: 'धन्यवाद'
- trigger: ':indianthanks'
replace: 'धन्यवाद'
- trigger: ':indonesianthx'
replace: 'Terima kasih'
- trigger: ':indonesianthanks'
replace: 'Terima kasih'
- trigger: ':italianthx'
replace: 'Grazie'
- trigger: ':italianthanks'
replace: 'Grazie'
- trigger: ':japanesethx'
replace: 'ありがとうございます'
- trigger: ':japanesethanks'
replace: 'ありがとうございます'
- trigger: ':klingonthx'
replace: "QA TLHO'"
- trigger: ':klingonthanks'
replace: "QA TLHO'"
- trigger: ':koreanthx'
replace: '감사합니다'
- trigger: ':koreanthanks'
replace: '감사합니다'
- trigger: ':persianthx'
replace: 'متشکرم'
- trigger: ':persianthanks'
replace: 'متشکرم'
- trigger: ':polishthx'
replace: 'Dzięki'
- trigger: ':polishthanks'
replace: 'Dzięki'
- trigger: ':romanianthx'
replace: 'Multumesc'
- trigger: ':romanianthanks'
replace: 'Multumesc'
- trigger: ':russianthx'
replace: 'Cпасибо'
- trigger: ':russianthanks'
replace: 'Cпасибо'
- trigger: ':spanishthx'
replace: 'Gracias'
- trigger: ':spanishthanks'
replace: 'Gracias'
- trigger: ':swedishthx'
replace: 'Tack'
- trigger: ':swedishthanks'
replace: 'Tack'
- trigger: ':turkishthx'
replace: 'Sağol'
- trigger: ':turkishthanks'
replace: 'Sağol'
- trigger: ':ukrainianthx'
replace: 'Дякую'
- trigger: ':ukrainianthanks'
replace: 'Дякую'
- trigger: ':vietnamesethx'
replace: 'Cảm ơn'
- trigger: ':vietnamesethanks'
replace: 'Cảm ơn'
- replace: شكرا
triggers:
- ':arthx'
- ':arabicthx'
- ':arabicthanks'
- replace: Շնորհակալություն
triggers:
- ':hythx'
- ':armenianthx'
- ':armenianthanks'
- replace: Eskerrik asko
triggers:
- ':euthx'
- ':basquethx'
- ':basquethanks'
- replace: Дзякуй
triggers:
- ':bethx'
- ':belarusianthx'
- ':belarusianthanks'
- replace: 谢谢
triggers:
- ':zhthx'
- ':chinesethx'
- ':chinesethanks'
- replace: Díky
triggers:
- ':csthx'
- ':czechthx'
- ':czechthanks'
- replace: Dank je wel
triggers:
- ':nlthx'
- ':dutchthx'
- ':dutchthanks'
- replace: Salamat
triggers:
- ':tlthx'
- ':filipinothx'
- ':filipinothanks'
- replace: Kiitos
triggers:
- ':fithx'
- ':finnishthx'
- ':finnishthanks'
- replace: Merci
triggers:
- ':frthx'
- ':frenchthx'
- ':frenchthanks'
- replace: Danke
triggers:
- ':dethx'
- ':germanthx'
- ':germanthanks'
- replace: धन्यवाद
triggers:
- ':hithx'
- ':hindithx'
- ':hindithanks'
- replace: Takk
triggers:
- ':isthx'
- ':icelandicthx'
- ':icelandicthanks'
- replace: Terima kasih
triggers:
- ':idthx'
- ':indonesianthx'
- ':indonesianthanks'
- replace: Grazie
triggers:
- ':itthx'
- ':italianthx'
- ':italianthanks'
- replace: ありがとうございます
triggers:
- ':jathx'
- ':japanesethx'
- ':japanesethanks'
- replace: Qa tlho'
triggers:
- ':tlhthx'
- ':klingonthx'
- ':klingonthanks'
- replace: 감사합니다
triggers:
- ':kothx'
- ':koreanthx'
- ':koreanthanks'
- replace: ډیره مننه
triggers:
- ':psthx'
- ':pashtothx'
- ':pashtothanks'
- replace: متشکرم
triggers:
- ':fathx'
- ':persianthx'
- ':persianthanks'
- replace: Dzięki
triggers:
- ':plthx'
- ':polishthx'
- ':polishthanks'
- replace: Multumesc
triggers:
- ':rothx'
- ':romanianthx'
- ':romanianthanks'
- replace: Gracias
triggers:
- ':esthx'
- ':spanishthx'
- ':spanishthanks'
- replace: Tack
triggers:
- ':svthx'
- ':swedishthx'
- ':swedishthanks'
- replace: Sağol
triggers:
- ':trthx'
- ':turkishthx'
- ':turkishthanks'
- replace: Дякую
triggers:
- ':ukthx'
- ':ukrainianthx'
- ':ukrainianthanks'
- replace: شکریہ
triggers:
- ':urthx'
- ':urduthx'
- ':urduthanks'
- replace: Cảm ơn
triggers:
- ':vithx'
- ':vietnamesethx'
- ':vietnamesethanks'

View File

@@ -2,6 +2,6 @@ author: omrilotan
description: Get a hilarious random commit message
name: wtc
title: What the Commit
version: 1.0.0
version: 1.0.1
homepage: "https://github.com/omrilotan/espanso-package-wtc"
tags: ["fun", "git", "shell"]

View File

@@ -5,4 +5,4 @@ matches:
- name: output
type: shell
params:
cmd: "curl -s whatthecommit.com/index.txt"
cmd: "curl -s https://whatthecommit.com/index.txt"

View 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.

View 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.

View File

@@ -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"]

View File

@@ -0,0 +1,2 @@
---
hub

View 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"'