fusuma-plugin-appmatcher 0.1.0.pre2 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d226043c98f0533823ed38981d0a412ef2024f74651a2b637838b8c0d0fdd40a
|
4
|
+
data.tar.gz: c5f28764fb1382f56fb862a51fce6e891448169e886360dcccb44420c1147042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 901f6476d9350bbe963e0b38ea0e8d68593ecd5e0ca2f18b90dc253b710649d330641d6598e669396db8f5f9a92e582060a549a612964cf495b278d190cf13f3
|
7
|
+
data.tar.gz: 4852a78ff0c699a194ad0a325271006a84fa8c66c7c9cbfd025b0b9db8b3077a1556f39cbe11dd823d6f2b618b34e4c0c449e52426665d8a1659d9ee2d306e54
|
data/README.md
CHANGED
@@ -27,76 +27,65 @@ Google-chrome
|
|
27
27
|
Alacritty
|
28
28
|
```
|
29
29
|
|
30
|
-
You can use these applicatin name to under `application:`
|
30
|
+
You can use these applicatin name to under `application:` context in config.yml
|
31
31
|
|
32
32
|
## Add appmatcher properties and application names to config.yml
|
33
33
|
|
34
|
-
Add
|
34
|
+
1. Add the `---` symbol to separate the context in config.yml.
|
35
35
|
|
36
|
-
|
36
|
+
2. Add `context:` property in `~/.config/fusuma/config.yml`.
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
* Set the `application:` property in the root of config.yml.
|
41
|
-
|
42
|
-
* Under the `application:` property, you can set the `application name` as a property.
|
38
|
+
3. Under the `context:` property, you can set the `application: APP_NAME` as a value.
|
39
|
+
* In this context, you can configure mappings to application-specific gestures.
|
43
40
|
* For example, you can set `:Google-chrome`, `:Alacritty`, `Org.gnome.Nautilus`, and so on.
|
44
|
-
|
45
|
-
|
41
|
+
* You can find property name's hint, with `$ fusuma-appmatcher -l`
|
42
|
+
|
43
|
+
**NOTE: The first context separated by `---` is the default context**
|
46
44
|
|
47
45
|
### Example
|
48
46
|
|
49
|
-
|
47
|
+
In the following example of config.yml
|
48
|
+
|
49
|
+
* On Google-chrome, the three-finger gesture is mapped to open in tab, close tab, back in history, forward in history.
|
50
|
+
* On Gnome-terminal, the three-finger gesture will be mapped to open in tab, close in tab.
|
50
51
|
|
51
52
|
```diff
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
+
|
64
|
-
+
|
65
|
-
+
|
66
|
-
+
|
67
|
-
+
|
68
|
-
+
|
69
|
-
+
|
70
|
-
+
|
71
|
-
+
|
72
|
-
+
|
73
|
-
+
|
74
|
-
+
|
75
|
-
+
|
76
|
-
+
|
77
|
-
+
|
78
|
-
+
|
79
|
-
+
|
80
|
-
+
|
81
|
-
+
|
82
|
-
+
|
83
|
-
+
|
84
|
-
+
|
85
|
-
+
|
86
|
-
+ sendkey: 'LEFTCTRL+W'
|
87
|
-
+ Alacritty:
|
88
|
-
+ swipe:
|
89
|
-
+ 3:
|
90
|
-
+ up:
|
91
|
-
+ window: {fullscreen: 'add'}
|
92
|
-
+ down:
|
93
|
-
+ window: {fullscreen: 'remove'}
|
53
|
+
# this is default context
|
54
|
+
swipe:
|
55
|
+
4:
|
56
|
+
up:
|
57
|
+
sendkey: 'LEFTCTRL+LEFTALT+DOWN'
|
58
|
+
keypress:
|
59
|
+
LEFTSHIFT:
|
60
|
+
sendkey: 'LEFTSHIFT+LEFTCTRL+LEFTALT+DOWN'
|
61
|
+
down:
|
62
|
+
sendkey: 'LEFTCTRL+LEFTALT+UP'
|
63
|
+
LEFTSHIFT:
|
64
|
+
sendkey: 'LEFTSHIFT+LEFTCTRL+LEFTALT+UP'
|
65
|
+
+ ---
|
66
|
+
+ context:
|
67
|
+
+ application: Google-chrome
|
68
|
+
+ swipe:
|
69
|
+
+ 3:
|
70
|
+
+ left:
|
71
|
+
+ sendkey: 'LEFTALT+RIGHT'
|
72
|
+
+ right:
|
73
|
+
+ sendkey: 'LEFTALT+LEFT'
|
74
|
+
+ up:
|
75
|
+
+ sendkey: 'LEFTCTRL+T'
|
76
|
+
+ down:
|
77
|
+
+ sendkey: 'LEFTCTRL+W'
|
78
|
+
+ ---
|
79
|
+
+ context:
|
80
|
+
+ application: Gnome-terminal
|
81
|
+
+ swipe:
|
82
|
+
+ 3:
|
83
|
+
+ up:
|
84
|
+
+ sendkey: 'LEFTSHIFT+LEFTCTRL+T'
|
85
|
+
+ down:
|
86
|
+
+ sendkey: 'LEFTSHIFT+LEFTCTRL+W'
|
94
87
|
```
|
95
88
|
|
96
|
-
### TODO
|
97
|
-
|
98
|
-
* [ ] Support Threshold / Interval Settings
|
99
|
-
|
100
89
|
## Contributing
|
101
90
|
|
102
91
|
Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-appmatcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fusuma-plugin-appmatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iniparse
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.0.0
|
47
|
+
version: 2.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.0.0
|
54
|
+
version: 2.0.0
|
55
55
|
description: fusuma-plugin-appmatcher is Fusuma plugin for assigning gesture mapping
|
56
56
|
per application.
|
57
57
|
email:
|
@@ -98,9 +98,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubygems_version: 3.1.4
|
106
106
|
signing_key:
|