diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml index f2502886..1cd55272 100644 --- a/.config/espanso/match/base.yml +++ b/.config/espanso/match/base.yml @@ -309,6 +309,15 @@ matches: type: shell params: cmd: "~/scripts/pug5 ; echo ''" + # returns default html5 layout + - trigger: ";kcss" + force_clipboard: true + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "~/scripts/kcss ; echo ''" # returns default figure and img tags for pug blog - trigger: ";fig" diff --git a/scripts/kcss b/scripts/kcss new file mode 100755 index 00000000..1699ccbd --- /dev/null +++ b/scripts/kcss @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +# Utilize in conjunction with espanso, call ;kcss +cat <