fusuma-plugin-wmctrl 1.4.1 → 1.4.2

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: af3373dc1f9b8bcf49489d57295a88abf440ecc85004f42d8a9288c3edfa37b8
4
- data.tar.gz: c908d831d6c6004ffecad0f6a4c726da86c9892256d14a8fe1cf13f531d72b57
3
+ metadata.gz: 8a7e1ab3aaaadb8b8b981ce8fc176e85075084faa6e84094bdbee05f857471c0
4
+ data.tar.gz: 62c3f4221b77c5dddf6c65f28148421449dab29c6a1e7fe0c2841df6311c6a97
5
5
  SHA512:
6
- metadata.gz: bd224a74b9299d8cf62b9ad2c86fe5102aab9562952293cbef3a994cb049340b0d2f99c84b18ea44d2cb6f683377b794e1325ebb387efeab909e6c0774dbe27a
7
- data.tar.gz: 6c6ebbddb7a29740dcc4b3527037e7d11ed4f31d7ccc5e1776c90b07f2651eaf920714f67f403ceb39b31041f669005be50cba2e5443638929228af55ff78e9c
6
+ metadata.gz: 86edca9ba2599aa46c911c0554b75a017d057ed17dbce7cef931a056502b4b62b3815863fd118466da982d852d7059153b0f159cfa1ab96908c9348bb881449c
7
+ data.tar.gz: bf5af43601ac4e641eba67add429ed04407ced19a10bb1d0e71d4ed567e0a63b8a1ad0cbf5aacb78b0e9ab74bea323a43fa39fdb75587227a6aa76de9a21dd2f
@@ -3,7 +3,7 @@
3
3
  module Fusuma
4
4
  module Plugin
5
5
  module Wmctrl
6
- VERSION = "1.4.1"
6
+ VERSION = "1.4.2"
7
7
  end
8
8
  end
9
9
  end
@@ -159,7 +159,7 @@ module Fusuma
159
159
  # (_NET_CURRENT_DESKTOP or _WIN_WORKSPACE property)`
160
160
  return [0, 1] if current_line.nil?
161
161
 
162
- current_workspace_num = current_line[0].to_i
162
+ current_workspace_num = current_line[/^\d+(?=\s+\*)/].to_i
163
163
  total_workspace_num = wmctrl_output.length
164
164
 
165
165
  [current_workspace_num, total_workspace_num]
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.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-22 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusuma