From 5ca9af6303ae63fe50b902975ec38be87218a831 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 11 Nov 2018 15:56:56 +0100 Subject: pkg/dome-key.in.rb: Add sample config setup to Brew Caveats Make it faster to try out the program by providing copy-pastable commands to get a sample config. `HOME` needs two `$` to escape it from the Python templater. --- pkg/dome-key.in.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'pkg') diff --git a/pkg/dome-key.in.rb b/pkg/dome-key.in.rb index 686fc90..d6f6dc6 100644 --- a/pkg/dome-key.in.rb +++ b/pkg/dome-key.in.rb @@ -17,6 +17,22 @@ class DomeKey < Formula "com.teddywing.dome-key" end + def caveats; <<~EOS + To get started with a set of mappings, try running the these commands: + + mkdir -p $$HOME/.config/dome-key + cat < $$HOME/.config/dome-key/mappings.dkmap + map + + mode { + map + map + map + } + EOM + EOS + end + def plist; <<~EOS ${PLIST} EOS -- cgit v1.2.3