diff options
| author | kkard2 <[email protected]> | 2023-07-10 18:46:49 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2023-07-10 18:46:49 +0200 |
| commit | 32288f45df24b53b81d3099e4f887a334e386293 (patch) | |
| tree | 046eda3eeb779e65168d28d030edba78c92c2759 | |
| parent | 823907b84c3eaa9b28df69208cbdf97b2d8d43c2 (diff) | |
caps for jp, move espanso here
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | _windows/ahk/capslock.ahk | 12 | ||||
| -rw-r--r-- | espanso/.gitignore | 1 | ||||
| -rw-r--r-- | espanso/config/default.yml | 1 | ||||
| -rw-r--r-- | espanso/match/base.yml | 1 | ||||
| -rw-r--r-- | espanso/match/emoji.yml | 39 | ||||
| -rw-r--r-- | espanso/match/img.yml | 19 | ||||
| -rw-r--r-- | espanso/match/meth.yml | 13 | ||||
| -rw-r--r-- | espanso/match/spelling.yml | 5 | ||||
| -rw-r--r-- | espanso/match/sub.yml | 21 | ||||
| -rw-r--r-- | espanso/match/sup.yml | 21 | ||||
| -rw-r--r-- | espanso/match/utils.yml | 20 |
12 files changed, 149 insertions, 6 deletions
@@ -3,6 +3,8 @@ config stuff (i need to move everything into one place) # links for this to work * `~/.ideavimrc` -> `./idea/.ideavimrc` +* `$XDG_CONFIG_HOME/espanso` -> `./espanso` +* `./espanso/assets` -> `<ASSET_DIR>` (asset dir is sth that syncs media) # windows * run `./_windows/startup.ps1` on startup (`PowerShell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File <PATH>`) diff --git a/_windows/ahk/capslock.ahk b/_windows/ahk/capslock.ahk index 0fb67bb..447890c 100644 --- a/_windows/ahk/capslock.ahk +++ b/_windows/ahk/capslock.ahk @@ -97,12 +97,12 @@ CapsLock::{ } } -!CapsLock::{ - return -} -^CapsLock::{ - return -} +; !CapsLock::{ +; return +; } +; ^CapsLock::{ +; return +; } ^!CapsLock::{ return } diff --git a/espanso/.gitignore b/espanso/.gitignore new file mode 100644 index 0000000..d93aea1 --- /dev/null +++ b/espanso/.gitignore @@ -0,0 +1 @@ +/assets diff --git a/espanso/config/default.yml b/espanso/config/default.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/espanso/config/default.yml @@ -0,0 +1 @@ +{} diff --git a/espanso/match/base.yml b/espanso/match/base.yml new file mode 100644 index 0000000..eb516ef --- /dev/null +++ b/espanso/match/base.yml @@ -0,0 +1 @@ +matches: diff --git a/espanso/match/emoji.yml b/espanso/match/emoji.yml new file mode 100644 index 0000000..9485971 --- /dev/null +++ b/espanso/match/emoji.yml @@ -0,0 +1,39 @@ +matches: + - trigger: ;;slightsm + replace: π + - trigger: ;;slightfr + replace: π + - trigger: ;;moyai + replace: πΏ + - trigger: ;;thup + replace: π + - trigger: ;;thdown + replace: π + - trigger: ;;skull + replace: π + - trigger: ;;weary + replace: π© + - trigger: ;;nerd + replace: π€ + - trigger: ;;sung + replace: π + - trigger: ;;fire + replace: π₯ + - trigger: ;;eyes + replace: π + - trigger: ;;fax + replace: π + - trigger: ;;whcheck + replace: β
+ - trigger: ;;cross + replace: β + - trigger: ;;pensive + replace: π + - trigger: ;;raisedeye + replace: π€¨ + - trigger: ;;plead + replace: π₯Ί + - trigger: ;;pointup + replace: βοΈ + - trigger: ;;shock + replace: π± diff --git a/espanso/match/img.yml b/espanso/match/img.yml new file mode 100644 index 0000000..47da2a8 --- /dev/null +++ b/espanso/match/img.yml @@ -0,0 +1,19 @@ +matches: + - trigger: ;;ipipe + image_path: "$CONFIG\\assets\\pipe.png" + - trigger: ;;ialert + image_path: "$CONFIG\\assets\\alert.png" + - trigger: ;;imiska + image_path: "$CONFIG\\assets\\kot_w_misce.png" + - trigger: ;;ikot + image_path: "$CONFIG\\assets\\kot.png" + - trigger: ;;iwifereaction + image_path: "$CONFIG\\assets\\my_wife_reaction_to_that_information.png" + - trigger: ;;iahh + image_path: "$CONFIG\\assets\\ahh.png" + - trigger: ;;ihuh + image_path: "$CONFIG\\assets\\huh.png" + - trigger: ;;irozpacz + image_path: "$CONFIG\\assets\\rozpacz.png" + - trigger: ;;iangry + image_path: "$CONFIG\\assets\\angry.png" diff --git a/espanso/match/meth.yml b/espanso/match/meth.yml new file mode 100644 index 0000000..0beb698 --- /dev/null +++ b/espanso/match/meth.yml @@ -0,0 +1,13 @@ +matches: + - trigger: ;;\cdot + replace: β
+ - trigger: ;;\degree + replace: Β° + - trigger: ;;\beta + replace: Ξ² + - trigger: ;;\Delta + replace: Ξ + - trigger: ;;\lambda + replace: Ξ» + - trigger: ;;\Omega + replace: Ξ© diff --git a/espanso/match/spelling.yml b/espanso/match/spelling.yml new file mode 100644 index 0000000..655b156 --- /dev/null +++ b/espanso/match/spelling.yml @@ -0,0 +1,5 @@ +matches: + - trigger: "nei" + replace: "nie" + word: true + propagate_case: true diff --git a/espanso/match/sub.yml b/espanso/match/sub.yml new file mode 100644 index 0000000..8c4d11f --- /dev/null +++ b/espanso/match/sub.yml @@ -0,0 +1,21 @@ +matches: + - trigger: ;;_0 + replace: β + - trigger: ;;_1 + replace: β + - trigger: ;;_2 + replace: β + - trigger: ;;_3 + replace: β + - trigger: ;;_4 + replace: β + - trigger: ;;_5 + replace: β
+ - trigger: ;;_6 + replace: β + - trigger: ;;_7 + replace: β + - trigger: ;;_8 + replace: β + - trigger: ;;_9 + replace: β diff --git a/espanso/match/sup.yml b/espanso/match/sup.yml new file mode 100644 index 0000000..b67dfb7 --- /dev/null +++ b/espanso/match/sup.yml @@ -0,0 +1,21 @@ +matches: + - trigger: ;;^0 + replace: β° + - trigger: ;;^1 + replace: ΒΉ + - trigger: ;;^2 + replace: Β² + - trigger: ;;^3 + replace: Β³ + - trigger: ;;^4 + replace: β΄ + - trigger: ;;^5 + replace: β΅ + - trigger: ;;^6 + replace: βΆ + - trigger: ;;^7 + replace: β· + - trigger: ;;^8 + replace: βΈ + - trigger: ;;^9 + replace: βΉ diff --git a/espanso/match/utils.yml b/espanso/match/utils.yml new file mode 100644 index 0000000..e43b7e6 --- /dev/null +++ b/espanso/match/utils.yml @@ -0,0 +1,20 @@ +matches: + - trigger: ;;now + replace: "{{time}}" + vars: + - name: time + type: date + params: + format: "%Y-%m-%d %H:%M:%S" + - trigger: ;;shrug + replace: Β―\_(γ)_/Β― + - trigger: ;;bshrug + replace: Β―\\\_(γ)_/Β― + - trigger: ;;lenny + replace: ( Ν‘Β° ΝΚ Ν‘Β°) + - trigger: ;;flip + replace: (β―Β°β‘Β°)β―οΈ΅ β»ββ» + - trigger: ;;unflip + replace: β¬ββ¬γ( ΒΊ _ ΒΊγ) + - trigger: ;;tm + replace: β’ |
