fusuma-plugin-appmatcher 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7821bcc57ed92ff1ab9a45afc0e760dec0e852678b2db2a0c6d8cb6b39604ba8
|
|
4
|
+
data.tar.gz: 4d335957d70eee1cb86294a3f57219020cbf42b713dc105c91ae205ed6677ee0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc4ccfbb2450075a702f9909bebbf5be21650b44794e07f71720a39abd80a221c27b59b39d958ecc37c54c2c8c9b2bf81df04417d8cbdd9a4641f4bd26fc774c
|
|
7
|
+
data.tar.gz: bf37777c2cb5304aa59b8a66c1cb788fc8ef923f5cda1ca5020eb39991fa07156786e6aaa7ff6bc0245c98060bcf0abe1baa7a1e568a4e2795114f390d05d1bb
|
|
@@ -59,7 +59,7 @@ class Extension {
|
|
|
59
59
|
|
|
60
60
|
ActiveWindow() {
|
|
61
61
|
const actor = global.get_window_actors().find(a=>a.meta_window.has_focus()===true)
|
|
62
|
-
if(!actor) { return; }
|
|
62
|
+
if(!actor) { return '{}'; }
|
|
63
63
|
const w = actor.get_meta_window()
|
|
64
64
|
try {
|
|
65
65
|
const obj = { wm_class: w.get_wm_class(), pid: w.get_pid(), id: w.get_id(), title: w.get_title(), focus: w.has_focus()}
|
|
File without changes
|
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.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- iberianpig
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rexml
|
|
@@ -84,7 +84,7 @@ files:
|
|
|
84
84
|
- spec/fusuma/plugin/appmatcher/gnome_extensions/installer_spec.rb
|
|
85
85
|
- spec/fusuma/plugin/appmatcher/gnome_spec.rb
|
|
86
86
|
- spec/fusuma/plugin/appmatcher_spec.rb
|
|
87
|
-
- spec/fusuma/plugin/
|
|
87
|
+
- spec/fusuma/plugin/detectors/appmatcher_detector_spec.rb
|
|
88
88
|
- spec/spec_helper.rb
|
|
89
89
|
homepage: https://github.com/iberianpig/fusuma-plugin-appmatcher
|
|
90
90
|
licenses:
|
|
@@ -112,7 +112,7 @@ specification_version: 4
|
|
|
112
112
|
summary: Fusuma plugin to assign gesture mapping per application
|
|
113
113
|
test_files:
|
|
114
114
|
- spec/fusuma/plugin/appmatcher_spec.rb
|
|
115
|
-
- spec/fusuma/plugin/inputs/appmatcher_detector_spec.rb
|
|
116
115
|
- spec/fusuma/plugin/appmatcher/gnome_extensions/installer_spec.rb
|
|
117
116
|
- spec/fusuma/plugin/appmatcher/gnome_spec.rb
|
|
117
|
+
- spec/fusuma/plugin/detectors/appmatcher_detector_spec.rb
|
|
118
118
|
- spec/spec_helper.rb
|