fusuma 1.7.0 → 1.8.0

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: 2653f2589093ec363f62b29d398ed622314f30d9a8c902c3c7f893470c5549a0
4
- data.tar.gz: 5076d2ee1091be519a3f1eac11b536bf66120c6b9faf485e202e6bf4ecb47d20
3
+ metadata.gz: a67f3ff722cd13d72966f7be8d0292485fcbdc3e72e83914222f762deb4ab37a
4
+ data.tar.gz: c315fe56fd0d005dd8629ef39cb4405b53bf2e98cba6c1517de750415cf9dd7a
5
5
  SHA512:
6
- metadata.gz: 7433bbb5eb068c0b1f9d3d9e4492878d672105504a5603b7bd4d92c9cb61e34cbf8559e71c0b3d407bba59b5f640e9031e106e8c4cbf38c53f85f871c2517592
7
- data.tar.gz: 23425a4be0e42f0b006a424e067bed3c18be3e8768173dd8bdc6df5f070339e1613a7319de4ab70fd06981871db38210c8f26aa3e5e030cc3021a5b565d2f358
6
+ metadata.gz: a76b5174dd2a568db4b391797fbcb1c3e239a041f69c9399b49969de81b072b3ebf09829182e30829231ca38f52ff84c6966d807b1616eb3ccce6c43e564ad7a
7
+ data.tar.gz: 811f35941e58962311d9d67448b25d422760f7779678f377c3cbd35b4e89dc197dfb2ee237ac033e654312f1c25261bc8dc1d00fb2d466b3594b4b348fd66b04
@@ -9,7 +9,7 @@ Metrics/BlockLength:
9
9
  - "**/*_spec.rb"
10
10
  - "fusuma.gemspec"
11
11
 
12
- Metrics/LineLength:
12
+ Layout/LineLength:
13
13
  Max: 100
14
14
  Exclude:
15
15
  - "fusuma.gemspec"
@@ -7,4 +7,5 @@ rvm:
7
7
  - 2.4
8
8
  - 2.5
9
9
  - 2.6
10
+ - 2.7
10
11
  before_install: gem install bundler --no-document -v 2.0.1
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased](https://github.com/iberianpig/fusuma/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.7.0...HEAD)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Capturing Finger Taps on Touchpad [\#152](https://github.com/iberianpig/fusuma/issues/152)
10
+
11
+ **Closed issues:**
12
+
13
+ - When xdotool acts crazy. Workaround should be clearly informed. [\#146](https://github.com/iberianpig/fusuma/issues/146)
14
+
15
+ ## [v1.7.0](https://github.com/iberianpig/fusuma/tree/v1.7.0) (2020-03-25)
16
+
17
+ [Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.6.0...v1.7.0)
18
+
3
19
  ## [v1.6.0](https://github.com/iberianpig/fusuma/tree/v1.6.0) (2020-03-14)
4
20
 
5
21
  [Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.5.0...v1.6.0)
data/README.md CHANGED
@@ -83,88 +83,47 @@ $ nano ~/.config/fusuma/config.yml # edit config file.
83
83
  * Tabs are not included as indentation for YAML files.
84
84
 
85
85
 
86
- ### Example 1: Gesture Mapping for elementary OS
86
+ ### Example: Gesture Mapping for Ubuntu
87
87
 
88
- ```yaml
89
- swipe:
90
- 3:
91
- left:
92
- command: 'xdotool key alt+Left'
93
- right:
94
- command: 'xdotool key alt+Right'
95
- up:
96
- command: 'xdotool key ctrl+t'
97
- threshold: 1.5
98
- down:
99
- command: 'xdotool key ctrl+w'
100
- threshold: 1.5
101
- 4:
102
- left:
103
- command: 'xdotool key super+Left'
104
- right:
105
- command: 'xdotool key super+Right'
106
- up:
107
- command: 'xdotool key super+a'
108
- down:
109
- command: 'xdotool key super+s'
110
- pinch:
111
- 2:
112
- in:
113
- command: 'xdotool key ctrl+plus'
114
- threshold: 0.1
115
- out:
116
- command: 'xdotool key ctrl+minus'
117
- threshold: 0.1
118
-
119
- threshold:
120
- swipe: 1
121
- pinch: 1
122
-
123
- interval:
124
- swipe: 1
125
- pinch: 1
126
- ```
127
-
128
- ### Example 2: Gesture Mapping for Ubuntu OS to mimic Mac a little
88
+ https://github.com/iberianpig/fusuma/wiki/Ubuntu
129
89
 
130
90
  ```yaml
131
91
  swipe:
132
- 3:
133
- left:
134
- command: 'xdotool key alt+Shift+Tab'
135
- right:
136
- command: 'xdotool key alt+Tab'
137
- up:
92
+ 3:
93
+ left:
94
+ command: 'xdotool key alt+Right'
95
+ right:
96
+ command: 'xdotool key alt+Left'
97
+ up:
138
98
  command: 'xdotool key super'
139
- down:
99
+ down:
140
100
  command: 'xdotool key super'
141
101
  4:
142
- up:
143
- command: 'xdotool key super+m'
144
- down:
145
- command: 'xdotool key super+m'
102
+ left:
103
+ command: 'xdotool key ctrl+alt+Down'
104
+ right:
105
+ command: 'xdotool key ctrl+alt+Up'
106
+ up:
107
+ command: 'xdotool key ctrl+alt+Down'
108
+ down:
109
+ command: 'xdotool key ctrl+alt+Up'
146
110
  pinch:
147
111
  in:
148
- command: 'xdotool key super+a'
149
- threshold: 0.1
112
+ command: 'xdotool keydown ctrl click 4 keyup ctrl'
150
113
  out:
151
- command: 'xdotool key super'
152
- threshold: 0.1
153
-
154
- threshold:
155
- swipe: 1
156
- pinch: 1
157
-
158
- interval:
159
- swipe: 1
160
- pinch: 1
161
-
114
+ command: 'xdotool keydown ctrl click 5 keyup ctrl'
162
115
  ```
163
116
 
164
- ### More Example
165
- The following wiki pages can be edited by everyone.
117
+ ### More Example of config.yml
118
+ The following wiki pages can be edited by everyone.
166
119
 
167
- https://github.com/iberianpig/fusuma/wiki/
120
+ * [Ubuntu](https://github.com/iberianpig/fusuma/wiki/Ubuntu)
121
+ * [elementary OS](https://github.com/iberianpig/fusuma/wiki/elementary-OS)
122
+ * [i3](https://github.com/iberianpig/fusuma/wiki/i3)
123
+ * [KDE to mimic MacOS](https://github.com/iberianpig/fusuma/wiki/KDE-to-mimic-MacOS)
124
+ * [POP OS with Cinnamon](https://github.com/iberianpig/fusuma/wiki/POP-OS-with-Cinnamon)
125
+ * [PopOS Default Gnome](https://github.com/iberianpig/fusuma/wiki/PopOS-Default-Gnome)
126
+ * [Ubuntu OS to mimic Mac a little](https://github.com/iberianpig/fusuma/wiki/Ubuntu-OS-to-mimic-Mac-a-little)
168
127
 
169
128
  If you have a nice configuration, please share `~/.config/fusuma/config.yml` with everyone.
170
129
 
@@ -31,7 +31,7 @@ module Fusuma
31
31
 
32
32
  load_custom_config(option[:config_path])
33
33
 
34
- Plugin::Manager.require_plugins_from_relative
34
+ Plugin::Manager.require_base_plugins
35
35
 
36
36
  MultiLogger.info '---------------------------------------------'
37
37
  print_version
@@ -20,7 +20,7 @@ module Fusuma
20
20
 
21
21
  def require_siblings_from_gems
22
22
  search_key = File.join(plugin_dir_name, '*.rb')
23
- Gem.find_files(search_key).each do |siblings_plugin|
23
+ Gem.find_latest_files(search_key).each do |siblings_plugin|
24
24
  if siblings_plugin =~ %r{fusuma-plugin-(.+).*/lib/#{plugin_dir_name}/\1_.+.rb}
25
25
  require siblings_plugin
26
26
  end
@@ -57,7 +57,7 @@ module Fusuma
57
57
  manager.require_siblings_from_gems
58
58
  end
59
59
 
60
- def require_plugins_from_relative
60
+ def require_base_plugins
61
61
  require_relative './base.rb'
62
62
  require_relative './events/event.rb'
63
63
  require_relative './inputs/input.rb'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fusuma
4
- VERSION = '1.7.0'
4
+ VERSION = '1.8.0'
5
5
  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: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-25 00:00:00.000000000 Z
11
+ date: 2020-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.0.3
232
+ rubygems_version: 3.1.2
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Multitouch gestures with libinput dirver on X11, Linux