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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f71997270e34b8604038cf56d738cfdcf56d99c727042b595b35e39e72cd5a2
4
- data.tar.gz: 6836062464b71982a80abf152a258807bebe9ee911da23175c1c3f899e40b9b7
3
+ metadata.gz: af3373dc1f9b8bcf49489d57295a88abf440ecc85004f42d8a9288c3edfa37b8
4
+ data.tar.gz: c908d831d6c6004ffecad0f6a4c726da86c9892256d14a8fe1cf13f531d72b57
5
5
  SHA512:
6
- metadata.gz: 4a3958f82aba9d729f9c33ac3bbd03f400eeba382aebf69a32abf62a6d2ccdfdf1a1785fa6169f2f060d89537d4e0665a948c8676bb26c4c7d0e5b43dea506cc
7
- data.tar.gz: cd8f468211d2380e9aae329e9d4c86abbc4bca1ab75cc95fe7cccbba6b28a04061ac5dd1a191f87d41025d7c3813b1f0d55d12ed84e1928c31a1875a9f2b7147
6
+ metadata.gz: bd224a74b9299d8cf62b9ad2c86fe5102aab9562952293cbef3a994cb049340b0d2f99c84b18ea44d2cb6f683377b794e1325ebb387efeab909e6c0774dbe27a
7
+ data.tar.gz: 6c6ebbddb7a29740dcc4b3527037e7d11ed4f31d7ccc5e1776c90b07f2651eaf920714f67f403ceb39b31041f669005be50cba2e5443638929228af55ff78e9c
@@ -3,7 +3,7 @@
3
3
  module Fusuma
4
4
  module Plugin
5
5
  module Wmctrl
6
- VERSION = "1.4.0"
6
+ VERSION = "1.4.1"
7
7
  end
8
8
  end
9
9
  end
@@ -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.0
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-07-14 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusuma