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 +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -0
- data/CHANGELOG.md +16 -0
- data/README.md +28 -69
- data/lib/fusuma.rb +1 -1
- data/lib/fusuma/plugin/manager.rb +2 -2
- data/lib/fusuma/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a67f3ff722cd13d72966f7be8d0292485fcbdc3e72e83914222f762deb4ab37a
|
4
|
+
data.tar.gz: c315fe56fd0d005dd8629ef39cb4405b53bf2e98cba6c1517de750415cf9dd7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76b5174dd2a568db4b391797fbcb1c3e239a041f69c9399b49969de81b072b3ebf09829182e30829231ca38f52ff84c6966d807b1616eb3ccce6c43e564ad7a
|
7
|
+
data.tar.gz: 811f35941e58962311d9d67448b25d422760f7779678f377c3cbd35b4e89dc197dfb2ee237ac033e654312f1c25261bc8dc1d00fb2d466b3594b4b348fd66b04
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -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
|
86
|
+
### Example: Gesture Mapping for Ubuntu
|
87
87
|
|
88
|
-
|
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+
|
135
|
-
right:
|
136
|
-
command: 'xdotool key alt+
|
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
|
-
|
143
|
-
command: 'xdotool key
|
144
|
-
|
145
|
-
command: 'xdotool key
|
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
|
149
|
-
threshold: 0.1
|
112
|
+
command: 'xdotool keydown ctrl click 4 keyup ctrl'
|
150
113
|
out:
|
151
|
-
|
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
|
|
data/lib/fusuma.rb
CHANGED
@@ -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.
|
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
|
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'
|
data/lib/fusuma/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|