i3a 2.2.1__tar.gz → 2.2.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: i3a
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: Automatic manager for i3 tiling
5
5
  Home-page: https://git.goral.net.pl/i3a.git
6
6
  License: GPL-3.0-or-later
@@ -140,7 +140,7 @@ available outputs if none was explicitly set).
140
140
  will cycle so it must be escaped in configuration file:
141
141
 
142
142
  ```
143
- bindsym $mod+s exec "i3a-scale -f 1.0,1.5,2.0 -o HDMI-1 -o HDMI-2 --next"
143
+ bindsym $mod+s exec "i3a-scale-cycle -f 1.0,1.5,2.0 -o HDMI-1 -o HDMI-2 --next"
144
144
  ```
145
145
 
146
146
  ## Installation
@@ -111,7 +111,7 @@ available outputs if none was explicitly set).
111
111
  will cycle so it must be escaped in configuration file:
112
112
 
113
113
  ```
114
- bindsym $mod+s exec "i3a-scale -f 1.0,1.5,2.0 -o HDMI-1 -o HDMI-2 --next"
114
+ bindsym $mod+s exec "i3a-scale-cycle -f 1.0,1.5,2.0 -o HDMI-1 -o HDMI-2 --next"
115
115
  ```
116
116
 
117
117
  ## Installation
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "i3a"
7
- version = "2.2.1"
7
+ version = "2.2.2"
8
8
  description = "Automatic manager for i3 tiling"
9
9
  authors = ["Michal Goral <dev@goral.net.pl>"]
10
10
  license = "GPL-3.0-or-later"
@@ -87,7 +87,11 @@ def _(f: float):
87
87
 
88
88
 
89
89
  def get_current_scales(i3: Connection):
90
- return {outp.name: to_dec(outp.scale) for outp in i3.get_outputs()}
90
+ return {
91
+ outp.name: to_dec(outp.scale)
92
+ for outp in i3.get_outputs()
93
+ if outp.scale is not None
94
+ }
91
95
 
92
96
 
93
97
  def main():
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes