diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml index 19eb2715..7eedd9cd 100644 --- a/.config/espanso/match/base.yml +++ b/.config/espanso/match/base.yml @@ -226,6 +226,15 @@ matches: params: cmd: "curl ifconfig.me ; echo ''" + # returns default html5 layout + - trigger: ";html5" + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "~/scripts/html5 ; echo ''" + # returns default html5 layout in pug - trigger: ";pug5" replace: "{{output}}" diff --git a/scripts/html5 b/scripts/html5 new file mode 100755 index 00000000..77410073 --- /dev/null +++ b/scripts/html5 @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Utilize in conjunction with espanso, call ;html5 +cat < + + + html page + + + + + + + + + + +EOM