fusuma-plugin-wmctrl 0.3.0 → 0.4.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -3
- data/Gemfile +11 -0
- data/README.md +42 -2
- data/fusuma-plugin-wmctrl.gemspec +1 -12
- data/lib/fusuma/plugin/executors/wmctrl_executor.rb +3 -5
- data/lib/fusuma/plugin/wmctrl/version.rb +1 -1
- metadata +10 -150
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb925fbaa6b543ef479a4ab6cd1344059e33463a0f7f3df3049e1edd70d76ad6
|
4
|
+
data.tar.gz: 6b7420837c160600133777202abfac495ceac866074c0b427264fd81d9c429e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfdc522616136c802daa4484fd340171d82aa22918fe8545bfdaa3c8b48265a42fe9045174a1c77454900f20fcb04b7f343f3a44cbd66cfa14e9b413de49ae15
|
7
|
+
data.tar.gz: 9f70a836df9ade7c00f894444b5e01925e7b2170c4af932c0ef07549124b14c65b5c1ce58d27caa51bbebcdc6702480805d5d3f102e0887bc5107fb49bef90c7
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,23 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
2
|
|
3
3
|
## [Unreleased](https://github.com/iberianpig/fusuma-plugin-wmctrl/tree/HEAD)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/iberianpig/fusuma-plugin-wmctrl/compare/v0.
|
5
|
+
[Full Changelog](https://github.com/iberianpig/fusuma-plugin-wmctrl/compare/v0.3.0...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- sudo for gem install? [\#3](https://github.com/iberianpig/fusuma-plugin-wmctrl/pull/3) ([oli-ver](https://github.com/oli-ver))
|
10
|
+
|
11
|
+
## [v0.3.0](https://github.com/iberianpig/fusuma-plugin-wmctrl/tree/v0.3.0) (2020-01-03)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/iberianpig/fusuma-plugin-wmctrl/compare/v0.2.0...v0.3.0)
|
6
14
|
|
7
15
|
**Implemented enhancements:**
|
8
16
|
|
9
17
|
- Control active window \(Close / Minimize / Maximize\) [\#2](https://github.com/iberianpig/fusuma-plugin-wmctrl/issues/2)
|
10
18
|
|
11
19
|
## [v0.2.0](https://github.com/iberianpig/fusuma-plugin-wmctrl/tree/v0.2.0) (2019-11-07)
|
20
|
+
|
12
21
|
[Full Changelog](https://github.com/iberianpig/fusuma-plugin-wmctrl/compare/v0.1.0...v0.2.0)
|
13
22
|
|
14
23
|
**Implemented enhancements:**
|
@@ -17,5 +26,8 @@
|
|
17
26
|
|
18
27
|
## [v0.1.0](https://github.com/iberianpig/fusuma-plugin-wmctrl/tree/v0.1.0) (2019-10-12)
|
19
28
|
|
29
|
+
[Full Changelog](https://github.com/iberianpig/fusuma-plugin-wmctrl/compare/7e20b0138aaa335e4b9008ee9af680e8dad188aa...v0.1.0)
|
30
|
+
|
31
|
+
|
20
32
|
|
21
|
-
\* *This
|
33
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
@@ -4,3 +4,14 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in fusuma-plugin-wmctrl.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
gem 'bundler'
|
9
|
+
gem 'github_changelog_generator', '~> 1.14'
|
10
|
+
gem 'pry-byebug', '~> 3.4'
|
11
|
+
gem 'pry-doc'
|
12
|
+
gem 'pry-inline'
|
13
|
+
gem 'rake', '~> 13.0'
|
14
|
+
gem 'reek'
|
15
|
+
gem 'rspec', '~> 3.0'
|
16
|
+
gem 'rubocop'
|
17
|
+
gem 'yard'
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ $ sudo apt install wmctrl
|
|
20
20
|
This plugin requires [Fusuma](https://github.com/iberianpig/fusuma#update) version 1.0 or later.
|
21
21
|
|
22
22
|
```sh
|
23
|
-
$ gem install fusuma-plugin-wmctrl
|
23
|
+
$ sudo gem install fusuma-plugin-wmctrl
|
24
24
|
```
|
25
25
|
|
26
26
|
## Properties
|
@@ -33,13 +33,53 @@ Values following are available for `workspace`.
|
|
33
33
|
* `prev` is value to switch current workspace to previous workspace.
|
34
34
|
* `next` is value to switch current workspace to next workspace.
|
35
35
|
|
36
|
-
### `window:` property
|
36
|
+
### `window:` property
|
37
37
|
Add `window:` property in `~/.config/fusuma/config.yml`.
|
38
38
|
|
39
39
|
Values following are available for `window`.
|
40
40
|
|
41
41
|
* `prev` is value to move active window to previous workspace.
|
42
42
|
* `next` is value to move active window to next workspace.
|
43
|
+
* `fullscreen` is value to toggle fullscreen
|
44
|
+
* `fullscreen: toggle` toggles the active window to fullscreen.
|
45
|
+
```yml
|
46
|
+
window: fullscreen
|
47
|
+
# ↑ same ↓
|
48
|
+
window:
|
49
|
+
fullscreen: toggle
|
50
|
+
```
|
51
|
+
|
52
|
+
* `fullscreen: add` changes the active window to a fullscreen.
|
53
|
+
```yml
|
54
|
+
window:
|
55
|
+
fullscreen: add
|
56
|
+
```
|
57
|
+
|
58
|
+
* `fullscreen: remove` restores the active window from fullscreen.
|
59
|
+
```yml
|
60
|
+
window:
|
61
|
+
fullscreen: remove
|
62
|
+
```
|
63
|
+
* `maximized` is value to toggle maximized
|
64
|
+
* `maximized: toggle` toggles the active window to maximized.
|
65
|
+
```yml
|
66
|
+
window: maximized
|
67
|
+
# ↑ same ↓
|
68
|
+
window:
|
69
|
+
maximized: toggle
|
70
|
+
```
|
71
|
+
|
72
|
+
* `maximized: add` changes the active window to a maximized.
|
73
|
+
```yml
|
74
|
+
window:
|
75
|
+
maximized: add
|
76
|
+
```
|
77
|
+
|
78
|
+
* `maximized: remove` restores the active window from maximized.
|
79
|
+
```yml
|
80
|
+
window:
|
81
|
+
maximized: remove
|
82
|
+
```
|
43
83
|
|
44
84
|
|
45
85
|
## Example
|
@@ -25,16 +25,5 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
27
|
spec.required_ruby_version = '>= 2.3' # https://packages.ubuntu.com/search?keywords=ruby&searchon=names&exact=1&suite=all§ion=main
|
28
|
-
spec.add_dependency 'fusuma', '~>
|
29
|
-
|
30
|
-
spec.add_development_dependency 'bundler'
|
31
|
-
spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
|
32
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.4'
|
33
|
-
spec.add_development_dependency 'pry-doc'
|
34
|
-
spec.add_development_dependency 'pry-inline'
|
35
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
36
|
-
spec.add_development_dependency 'reek'
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
-
spec.add_development_dependency 'rubocop'
|
39
|
-
spec.add_development_dependency 'yard'
|
28
|
+
spec.add_dependency 'fusuma', '~> 2.0.0.pre'
|
40
29
|
end
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'posix/spawn'
|
4
|
+
|
3
5
|
module Fusuma
|
4
6
|
module Plugin
|
5
7
|
module Executors
|
@@ -12,11 +14,7 @@ module Fusuma
|
|
12
14
|
return if search_command(event).nil?
|
13
15
|
|
14
16
|
MultiLogger.info(wmctrl: search_command(event))
|
15
|
-
pid =
|
16
|
-
Process.daemon(true)
|
17
|
-
exec(search_command(event))
|
18
|
-
end
|
19
|
-
|
17
|
+
pid = POSIX::Spawn.spawn(search_command(event))
|
20
18
|
Process.detach(pid)
|
21
19
|
end
|
22
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fusuma-plugin-wmctrl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fusuma
|
@@ -16,154 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.0.pre
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: github_changelog_generator
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.14'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.14'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: pry-byebug
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.4'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.4'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pry-doc
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pry-inline
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '13.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '13.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: reek
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rspec
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '3.0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '3.0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rubocop
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: yard
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
26
|
+
version: 2.0.0.pre
|
167
27
|
description: fusuma-plugin-wmctrl is Fusuma plugin for window manager.
|
168
28
|
email:
|
169
29
|
- yhkyky@gmail.com
|
@@ -192,7 +52,7 @@ homepage: https://github.com/iberianpig/fusuma-plugin-wmctrl
|
|
192
52
|
licenses:
|
193
53
|
- MIT
|
194
54
|
metadata: {}
|
195
|
-
post_install_message:
|
55
|
+
post_install_message:
|
196
56
|
rdoc_options: []
|
197
57
|
require_paths:
|
198
58
|
- lib
|
@@ -203,12 +63,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
63
|
version: '2.3'
|
204
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
65
|
requirements:
|
206
|
-
- - "
|
66
|
+
- - ">"
|
207
67
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
68
|
+
version: 1.3.1
|
209
69
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
211
|
-
signing_key:
|
70
|
+
rubygems_version: 3.1.4
|
71
|
+
signing_key:
|
212
72
|
specification_version: 4
|
213
73
|
summary: Wmctrl plugin for Fusuma
|
214
74
|
test_files: []
|