aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-22 23:41:41 +0100
committerTeddy Wing2018-11-22 23:41:41 +0100
commit71a4aa94f9467e8c2e53b757befc576db2ceb9a4 (patch)
treed8af2a18f940e11de2bdb5db76d2de39d12c64fd
parent65678ad47e07645feb3e11c26dd52b2bfe3e89c5 (diff)
downloadhomebrew-DomeKey-71a4aa94f9467e8c2e53b757befc576db2ceb9a4.tar.bz2
Update dome-key.rb
https://github.com/teddywing/DomeKey/commit/a8a36293283f4df90f37e29bdc654908ec943e6b
-rw-r--r--HomebrewFormula/dome-key.rb24
1 files changed, 14 insertions, 10 deletions
diff --git a/HomebrewFormula/dome-key.rb b/HomebrewFormula/dome-key.rb
index 2473ce7..42e3e7c 100644
--- a/HomebrewFormula/dome-key.rb
+++ b/HomebrewFormula/dome-key.rb
@@ -3,7 +3,7 @@ class DomeKey < Formula
homepage "https://domekey.teddywing.com"
version "1.0"
url "https://domekey.teddywing.com/downloads/dome-key_1.0.tar.bz2"
- sha256 "999377af51f9bfd381dcc5cce1a4ece0626774a35674827ad5002e5a2c2786f4"
+ sha256 "03fd038e1ae67ce1fce949d2d5fcafb50bbee2f4344b71c16577929c557718a1"
# Rust code requires at least 10.7
depends_on :macos => :lion
@@ -21,16 +21,20 @@ class DomeKey < Formula
def caveats; <<~EOS
To get started with a set of mappings, try running the these commands:
- mkdir -p $HOME/.config/dome-key
- cat <<EOM > $HOME/.config/dome-key/mappings.dkmap
- map <Play> <Nop>
+ mkdir -p $HOME/.config/dome-key
+ cat <<EOM > $HOME/.config/dome-key/mappings.dkmap
+ map <Play> <Nop>
- mode <Play><Play> {
- map <Up> <Left>
- map <Play> <Space>
- map <Down> <Right>
- }
- EOM
+ mode <Play><Play> {
+ map <Up> <Left>
+ map <Play> <Space>
+ map <Down> <Right>
+ }
+ EOM
+
+ If `dome-key` is already running, load the new mappings:
+
+ dome-key --reload-mappings
EOS
end