fusuma-plugin-wmctrl 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fusuma/plugin/wmctrl/version.rb +1 -1
- data/lib/fusuma/plugin/wmctrl/workspace.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af3373dc1f9b8bcf49489d57295a88abf440ecc85004f42d8a9288c3edfa37b8
|
4
|
+
data.tar.gz: c908d831d6c6004ffecad0f6a4c726da86c9892256d14a8fe1cf13f531d72b57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd224a74b9299d8cf62b9ad2c86fe5102aab9562952293cbef3a994cb049340b0d2f99c84b18ea44d2cb6f683377b794e1325ebb387efeab909e6c0774dbe27a
|
7
|
+
data.tar.gz: 6c6ebbddb7a29740dcc4b3527037e7d11ed4f31d7ccc5e1776c90b07f2651eaf920714f67f403ceb39b31041f669005be50cba2e5443638929228af55ff78e9c
|
@@ -114,6 +114,9 @@ module Fusuma
|
|
114
114
|
else
|
115
115
|
raise "#{direction} is invalid key"
|
116
116
|
end
|
117
|
+
|
118
|
+
workspace_num = 0 if workspace_num.negative?
|
119
|
+
|
117
120
|
"wmctrl -s #{workspace_num}"
|
118
121
|
end
|
119
122
|
|
@@ -131,6 +134,9 @@ module Fusuma
|
|
131
134
|
else
|
132
135
|
raise "#{direction} is invalid key"
|
133
136
|
end
|
137
|
+
|
138
|
+
workspace_num = 0 if workspace_num.negative?
|
139
|
+
|
134
140
|
"wmctrl -r :ACTIVE: -t #{workspace_num} ; wmctrl -s #{workspace_num}"
|
135
141
|
end
|
136
142
|
|
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: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fusuma
|