karabiner 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/karabiner +13 -6
- data/lib/karabiner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d00c913848983372f0894abb2bab585046f66c
|
4
|
+
data.tar.gz: 8e43560929d02d39ee67c4c656b9240105a69f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1009678a72ec6460516d8a422d3fe09500c1f41e63c73ae099bb94bb2b1a44bf2d733aaa87c983616298c2e441041ee7fa7fd4a1486e2d0c0fafc6f11ea3f85
|
7
|
+
data.tar.gz: 499d924d7d6ab0d2a34cc6c7d6e036bfc503f0ff66e4bfcbb056481818fed1cc734251e20dd7f2e95c9ccc31567862288c47ac7468a3ceeb886292cc9644eeec
|
data/bin/karabiner
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
lib = File.dirname(__FILE__) + "/../lib"
|
4
|
+
$:.unshift lib unless $:.include? lib
|
5
|
+
|
6
|
+
require "karabiner"
|
7
|
+
|
8
|
+
DOTFILE_PATH = File.expand_path("~/.karabiner")
|
9
|
+
|
10
|
+
if ARGV.first == "dsl"
|
11
|
+
karabiner = Karabiner.new(DOTFILE_PATH)
|
12
|
+
karabiner.apply_configuration
|
6
13
|
else
|
7
|
-
/Applications/Karabiner.app/Contents/Library/bin/karabiner
|
8
|
-
|
14
|
+
system("/Applications/Karabiner.app/Contents/Library/bin/karabiner #{ARGV.join(' ')}")
|
15
|
+
end
|
data/lib/karabiner/version.rb
CHANGED