fusuma 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac4c95b3576fd59ee15c871707789a3140516ba87e2356780d560953f0e36a70
4
- data.tar.gz: 9342d8e745074e23e7972694ba506f5ca6b5e41e9a5a7a1ec78f8ce5be48abc3
3
+ metadata.gz: 6fe44afd179f0f4d30a1ebe074fd4d3794870ca417185bfdb3bb29254ad3a42e
4
+ data.tar.gz: f7096bf6a130e9e0c3100ea6895090c629542397d5379696910045c5982bb568
5
5
  SHA512:
6
- metadata.gz: 7c909bda16f03e93c558d885f612f17b9905fa7ce99f41318dfe75e0e9400ca2164dea526937b2d85876bb0a11e0f7bc2c1ba9066c0dfb02fe3d2a861f698cab
7
- data.tar.gz: aea1580e411f3ed6b139de5277cbe9d1cb3c6234902ca4ab60a8e1986230a2698ce0efb0283e9c8a8715b88b8a3f4115d5caac4198bc83e893864bb658d86a81
6
+ metadata.gz: 377f1415db80a150b9e725014585f015351376449eebf4f40b283c43d7cc53e1cd70e53ce26616172cdcc668a162e03e711f30a75871e208acf02da60ed539b7
7
+ data.tar.gz: 6d5d7cb06e0d550fb8794b34671e65a89e321addc18866637c98c8b98cf966b2694de3279da505a2c9d7dbb01014f926fbd5ace4e90d50a870831232b7835271
@@ -0,0 +1,247 @@
1
+ # Change Log
2
+
3
+ ## [Unreleased](https://github.com/iberianpig/fusuma/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.11.0...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Added Mac OS gestures mapping for Ubuntu [\#123](https://github.com/iberianpig/fusuma/pull/123) ([Rajanpandey](https://github.com/Rajanpandey))
10
+
11
+ ## [v0.11.0](https://github.com/iberianpig/fusuma/tree/v0.11.0) (2019-05-24)
12
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.10.2...v0.11.0)
13
+
14
+ **Fixed bugs:**
15
+
16
+ - Misspelling in description [\#100](https://github.com/iberianpig/fusuma/issues/100)
17
+ - Add Warning `shortcut: ` property [\#95](https://github.com/iberianpig/fusuma/issues/95)
18
+
19
+ **Merged pull requests:**
20
+
21
+ - Fork, daemonize, and detach when running executing commands. [\#121](https://github.com/iberianpig/fusuma/pull/121) ([epakai](https://github.com/epakai))
22
+ - Update bundler requirement from ~\> 1.13 to ~\> 2.0 [\#111](https://github.com/iberianpig/fusuma/pull/111) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
23
+
24
+ ## [v0.10.2](https://github.com/iberianpig/fusuma/tree/v0.10.2) (2018-08-30)
25
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.10.1...v0.10.2)
26
+
27
+ ## [v0.10.1](https://github.com/iberianpig/fusuma/tree/v0.10.1) (2018-08-30)
28
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.9.2...v0.10.1)
29
+
30
+ **Merged pull requests:**
31
+
32
+ - Interval and threshold specific for a trigger [\#92](https://github.com/iberianpig/fusuma/pull/92) ([irq](https://github.com/irq))
33
+ - Fix spelling: Elementary to elementary [\#90](https://github.com/iberianpig/fusuma/pull/90) ([ryonakano](https://github.com/ryonakano))
34
+
35
+ ## [v0.9.2](https://github.com/iberianpig/fusuma/tree/v0.9.2) (2018-07-19)
36
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.9.1...v0.9.2)
37
+
38
+ ## [v0.9.1](https://github.com/iberianpig/fusuma/tree/v0.9.1) (2018-07-16)
39
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.9.0...v0.9.1)
40
+
41
+ ## [v0.9.0](https://github.com/iberianpig/fusuma/tree/v0.9.0) (2018-07-14)
42
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.8.0...v0.9.0)
43
+
44
+ **Implemented enhancements:**
45
+
46
+ - Option to filter libinput by device [\#77](https://github.com/iberianpig/fusuma/issues/77)
47
+
48
+ **Fixed bugs:**
49
+
50
+ - Error: /usr/share/ruby/open3.rb:199:in `spawn': No such file or directory - libinput-list-devices \(Errno::ENOENT\) [\#84](https://github.com/iberianpig/fusuma/issues/84)
51
+
52
+ ## [v0.8.0](https://github.com/iberianpig/fusuma/tree/v0.8.0) (2018-06-23)
53
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.7.2...v0.8.0)
54
+
55
+ **Fixed bugs:**
56
+
57
+ - Deprecation warning [\#76](https://github.com/iberianpig/fusuma/issues/76)
58
+
59
+ ## [v0.7.2](https://github.com/iberianpig/fusuma/tree/v0.7.2) (2018-06-17)
60
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.7.1...v0.7.2)
61
+
62
+ **Closed issues:**
63
+
64
+ - Print system information for debuging [\#70](https://github.com/iberianpig/fusuma/issues/70)
65
+ - rescue from SIGINT Interruption with Ctrl-C [\#64](https://github.com/iberianpig/fusuma/issues/64)
66
+
67
+ ## [v0.7.1](https://github.com/iberianpig/fusuma/tree/v0.7.1) (2018-06-01)
68
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.7.0...v0.7.1)
69
+
70
+ ## [v0.7.0](https://github.com/iberianpig/fusuma/tree/v0.7.0) (2018-06-01)
71
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.6.0...v0.7.0)
72
+
73
+ ## [v0.6.0](https://github.com/iberianpig/fusuma/tree/v0.6.0) (2018-05-31)
74
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.5.0...v0.6.0)
75
+
76
+ **Implemented enhancements:**
77
+
78
+ - Daemon mode [\#81](https://github.com/iberianpig/fusuma/issues/81)
79
+
80
+ ## [v0.5.0](https://github.com/iberianpig/fusuma/tree/v0.5.0) (2018-05-31)
81
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.4.1...v0.5.0)
82
+
83
+ **Implemented enhancements:**
84
+
85
+ - feature request: configure number of fingers for pinch [\#82](https://github.com/iberianpig/fusuma/issues/82)
86
+
87
+ ## [v0.4.1](https://github.com/iberianpig/fusuma/tree/v0.4.1) (2018-05-22)
88
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.4.0...v0.4.1)
89
+
90
+ **Implemented enhancements:**
91
+
92
+ - assigning commands [\#50](https://github.com/iberianpig/fusuma/issues/50)
93
+
94
+ **Fixed bugs:**
95
+
96
+ - Questionable necessity of --enable-dwt [\#78](https://github.com/iberianpig/fusuma/issues/78)
97
+
98
+ **Merged pull requests:**
99
+
100
+ - Remove --enable-dwt option [\#80](https://github.com/iberianpig/fusuma/pull/80) ([z0rc](https://github.com/z0rc))
101
+
102
+ ## [v0.4.0](https://github.com/iberianpig/fusuma/tree/v0.4.0) (2018-04-15)
103
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.7...v0.4.0)
104
+
105
+ ## [v0.3.7](https://github.com/iberianpig/fusuma/tree/v0.3.7) (2018-04-15)
106
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.5...v0.3.7)
107
+
108
+ **Merged pull requests:**
109
+
110
+ - Assigning commands [\#73](https://github.com/iberianpig/fusuma/pull/73) ([iberianpig](https://github.com/iberianpig))
111
+ - Update rake requirement to ~\> 12.3 [\#72](https://github.com/iberianpig/fusuma/pull/72) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
112
+
113
+ ## [v0.3.5](https://github.com/iberianpig/fusuma/tree/v0.3.5) (2018-01-01)
114
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.4...v0.3.5)
115
+
116
+ ## [v0.3.4](https://github.com/iberianpig/fusuma/tree/v0.3.4) (2018-01-01)
117
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.3...v0.3.4)
118
+
119
+ ## [v0.3.3](https://github.com/iberianpig/fusuma/tree/v0.3.3) (2017-06-07)
120
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.2...v0.3.3)
121
+
122
+ ## [v0.3.2](https://github.com/iberianpig/fusuma/tree/v0.3.2) (2017-04-22)
123
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.1...v0.3.2)
124
+
125
+ **Implemented enhancements:**
126
+
127
+ - External + Internal Trackpad? [\#34](https://github.com/iberianpig/fusuma/issues/34)
128
+
129
+ ## [v0.3.1](https://github.com/iberianpig/fusuma/tree/v0.3.1) (2017-04-22)
130
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.3.0...v0.3.1)
131
+
132
+ **Implemented enhancements:**
133
+
134
+ - How about adding adjustable interval threshold? [\#35](https://github.com/iberianpig/fusuma/issues/35)
135
+
136
+ ## [v0.3.0](https://github.com/iberianpig/fusuma/tree/v0.3.0) (2017-04-22)
137
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.7...v0.3.0)
138
+
139
+ **Implemented enhancements:**
140
+
141
+ - Maybe add info that you need to restart? [\#33](https://github.com/iberianpig/fusuma/issues/33)
142
+
143
+ **Fixed bugs:**
144
+
145
+ - parse\_finger\_directions: undefined method `tr' for nil:NilClass \(NoMethodError\) [\#29](https://github.com/iberianpig/fusuma/issues/29)
146
+ - Error after upgrading to libinput 1.6.0 [\#26](https://github.com/iberianpig/fusuma/issues/26)
147
+
148
+ **Merged pull requests:**
149
+
150
+ - Added interval options to config. [\#36](https://github.com/iberianpig/fusuma/pull/36) ([joshuatshaffer](https://github.com/joshuatshaffer))
151
+
152
+ ## [v0.2.7](https://github.com/iberianpig/fusuma/tree/v0.2.7) (2017-02-04)
153
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.6...v0.2.7)
154
+
155
+ **Implemented enhancements:**
156
+
157
+ - How about add a "-c" options to specify config file manually? [\#24](https://github.com/iberianpig/fusuma/issues/24)
158
+
159
+ **Merged pull requests:**
160
+
161
+ - update parser [\#30](https://github.com/iberianpig/fusuma/pull/30) ([iberianpig](https://github.com/iberianpig))
162
+
163
+ ## [v0.2.6](https://github.com/iberianpig/fusuma/tree/v0.2.6) (2017-01-22)
164
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.5...v0.2.6)
165
+
166
+ **Implemented enhancements:**
167
+
168
+ - input from multiple devices [\#4](https://github.com/iberianpig/fusuma/issues/4)
169
+
170
+ ## [v0.2.5](https://github.com/iberianpig/fusuma/tree/v0.2.5) (2017-01-18)
171
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.3...v0.2.5)
172
+
173
+ **Fixed bugs:**
174
+
175
+ - it show some error [\#17](https://github.com/iberianpig/fusuma/issues/17)
176
+
177
+ ## [v0.2.3](https://github.com/iberianpig/fusuma/tree/v0.2.3) (2017-01-01)
178
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.2...v0.2.3)
179
+
180
+ **Implemented enhancements:**
181
+
182
+ - sensitivity of 3 finger swipe [\#15](https://github.com/iberianpig/fusuma/issues/15)
183
+
184
+ ## [v0.2.2](https://github.com/iberianpig/fusuma/tree/v0.2.2) (2016-12-31)
185
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.2.0...v0.2.2)
186
+
187
+ ## [v0.2.0](https://github.com/iberianpig/fusuma/tree/v0.2.0) (2016-12-18)
188
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.9...v0.2.0)
189
+
190
+ ## [v0.1.9](https://github.com/iberianpig/fusuma/tree/v0.1.9) (2016-12-17)
191
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.8...v0.1.9)
192
+
193
+ **Implemented enhancements:**
194
+
195
+ - Disabling some shortcuts [\#14](https://github.com/iberianpig/fusuma/issues/14)
196
+
197
+ **Fixed bugs:**
198
+
199
+ - Disabling some shortcuts [\#14](https://github.com/iberianpig/fusuma/issues/14)
200
+
201
+ ## [v0.1.8](https://github.com/iberianpig/fusuma/tree/v0.1.8) (2016-12-17)
202
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.7...v0.1.8)
203
+
204
+ ## [v0.1.7](https://github.com/iberianpig/fusuma/tree/v0.1.7) (2016-12-10)
205
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.6...v0.1.7)
206
+
207
+ ## [v0.1.6](https://github.com/iberianpig/fusuma/tree/v0.1.6) (2016-12-07)
208
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.5...v0.1.6)
209
+
210
+ **Fixed bugs:**
211
+
212
+ - New libinput version, space at line beginning [\#13](https://github.com/iberianpig/fusuma/issues/13)
213
+ - fusuma does not run or show any error in Terminal [\#11](https://github.com/iberianpig/fusuma/issues/11)
214
+
215
+ ## [v0.1.5](https://github.com/iberianpig/fusuma/tree/v0.1.5) (2016-12-05)
216
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.4...v0.1.5)
217
+
218
+ ## [v0.1.4](https://github.com/iberianpig/fusuma/tree/v0.1.4) (2016-11-17)
219
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.3...v0.1.4)
220
+
221
+ **Implemented enhancements:**
222
+
223
+ - fusuma not working [\#3](https://github.com/iberianpig/fusuma/issues/3)
224
+ - Reading configuration from /home/fusuma/config.yml [\#2](https://github.com/iberianpig/fusuma/issues/2)
225
+
226
+ **Fixed bugs:**
227
+
228
+ - fusuma not working [\#3](https://github.com/iberianpig/fusuma/issues/3)
229
+
230
+ **Merged pull requests:**
231
+
232
+ - Match left and right actions [\#10](https://github.com/iberianpig/fusuma/pull/10) ([z0rc](https://github.com/z0rc))
233
+ - Relax the device name regex [\#9](https://github.com/iberianpig/fusuma/pull/9) ([z0rc](https://github.com/z0rc))
234
+
235
+ ## [v0.1.3](https://github.com/iberianpig/fusuma/tree/v0.1.3) (2016-11-01)
236
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.2...v0.1.3)
237
+
238
+ ## [v0.1.2](https://github.com/iberianpig/fusuma/tree/v0.1.2) (2016-10-30)
239
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.1...v0.1.2)
240
+
241
+ ## [v0.1.1](https://github.com/iberianpig/fusuma/tree/v0.1.1) (2016-10-30)
242
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v0.1.0...v0.1.1)
243
+
244
+ ## [v0.1.0](https://github.com/iberianpig/fusuma/tree/v0.1.0) (2016-10-30)
245
+
246
+
247
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -31,7 +31,7 @@ $ sudo apt-get install libinput-tools
31
31
  $ sudo gem install fusuma
32
32
  ```
33
33
 
34
- ### 4. Install xdotool(optional)
34
+ ### 4. Install xdotool(optional)
35
35
 
36
36
  For sending shortcuts:
37
37
  ```bash
@@ -61,7 +61,7 @@ $ sudo gem update fusuma
61
61
 
62
62
  ## Customize Gesture Mapping
63
63
 
64
- You can customize the settings for gestures to put and edit `~/.config/fusuma/config.yml`.
64
+ You can customize the settings for gestures to put and edit `~/.config/fusuma/config.yml`.
65
65
  **NOTE: You will need to create the `~/.config/fusuma` directory if it doesn't exist yet.**
66
66
 
67
67
  ```bash
@@ -69,29 +69,29 @@ $ mkdir -p ~/.config/fusuma # create config directory
69
69
  $ nano ~/.config/fusuma/config.yml # edit config file.
70
70
  ```
71
71
 
72
- ### Example (Gesture Mapping for elementary OS)
72
+ ### Example 1: Gesture Mapping for elementary OS
73
73
 
74
74
  ```yaml
75
75
  swipe:
76
- 3:
77
- left:
76
+ 3:
77
+ left:
78
78
  command: 'xdotool key alt+Left'
79
- right:
79
+ right:
80
80
  command: 'xdotool key alt+Right'
81
- up:
81
+ up:
82
82
  command: 'xdotool key ctrl+t'
83
83
  threshold: 1.5
84
- down:
84
+ down:
85
85
  command: 'xdotool key ctrl+w'
86
86
  threshold: 1.5
87
87
  4:
88
- left:
88
+ left:
89
89
  command: 'xdotool key super+Left'
90
- right:
90
+ right:
91
91
  command: 'xdotool key super+Right'
92
- up:
92
+ up:
93
93
  command: 'xdotool key super+a'
94
- down:
94
+ down:
95
95
  command: 'xdotool key super+s'
96
96
  pinch:
97
97
  2:
@@ -111,6 +111,42 @@ interval:
111
111
  pinch: 1
112
112
  ```
113
113
 
114
+ ### Example 2: Gesture Mapping for Ubuntu OS to mimic Mac a little
115
+
116
+ ```yaml
117
+ swipe:
118
+ 3:
119
+ left:
120
+ command: 'xdotool key alt+Shift+Tab'
121
+ right:
122
+ command: 'xdotool key alt+Tab'
123
+ up:
124
+ command: 'xdotool key super'
125
+ down:
126
+ command: 'xdotool key super'
127
+ 4:
128
+ up:
129
+ command: 'xdptool key super+m'
130
+ down:
131
+ command: 'xdotool key super+m'
132
+ pinch:
133
+ in:
134
+ command: 'xdotool key super+a'
135
+ threshold: 0.1
136
+ out:
137
+ command: 'xdotool key super'
138
+ threshold: 0.1
139
+
140
+ threshold:
141
+ swipe: 1
142
+ pinch: 1
143
+
144
+ interval:
145
+ swipe: 1
146
+ pinch: 1
147
+
148
+ ```
149
+
114
150
  if `command: ` properties are blank, the swipe/pinch doesn't execute command.
115
151
 
116
152
  `threshold:` is sensitivity to swipe/pinch. Default value is 1.
@@ -129,11 +165,11 @@ You need to replace to `command: ` property.
129
165
 
130
166
  ```diff
131
167
  swipe:
132
- 3:
133
- left:
168
+ 3:
169
+ left:
134
170
  - shortcut: 'alt+Left'
135
171
  + command: 'xdotool key alt+Left'
136
- right:
172
+ right:
137
173
  - shortcut: 'alt+Right'
138
174
  + command: 'xdotool key alt+Right'
139
175
  ```
data/Rakefile CHANGED
@@ -4,3 +4,11 @@ require 'rspec/core/rake_task'
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task default: :spec
7
+
8
+
9
+ require 'github_changelog_generator/task'
10
+
11
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
12
+ config.user = 'iberianpig'
13
+ config.project = 'fusuma'
14
+ end
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_development_dependency 'bundler'
24
+ spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
24
25
  spec.add_development_dependency 'pry-byebug', '~> 3.4'
25
26
  spec.add_development_dependency 'rake', '~> 12.3'
26
27
  spec.add_development_dependency 'reek'
@@ -1,3 +1,3 @@
1
1
  module Fusuma
2
- VERSION = '0.11.0'.freeze
2
+ VERSION = '0.11.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-24 00:00:00.000000000 Z
11
+ date: 2019-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: github_changelog_generator
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.14'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.14'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: pry-byebug
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -113,6 +127,7 @@ files:
113
127
  - ".rubocop.yml"
114
128
  - ".rubocop_todo.yml"
115
129
  - ".travis.yml"
130
+ - CHANGELOG.md
116
131
  - CODE_OF_CONDUCT.md
117
132
  - Gemfile
118
133
  - LICENSE