WinJitsu 0.4.0__tar.gz → 0.4.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.
- {winjitsu-0.4.0/src/WinJitsu.egg-info → winjitsu-0.4.2}/PKG-INFO +6 -2
- {winjitsu-0.4.0 → winjitsu-0.4.2}/README.md +5 -1
- {winjitsu-0.4.0 → winjitsu-0.4.2}/pyproject.toml +1 -1
- {winjitsu-0.4.0 → winjitsu-0.4.2/src/WinJitsu.egg-info}/PKG-INFO +6 -2
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/cli.py +6 -1
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/daemon.py +4 -2
- {winjitsu-0.4.0 → winjitsu-0.4.2}/LICENSE +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/setup.cfg +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/WinJitsu.egg-info/SOURCES.txt +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/WinJitsu.egg-info/dependency_links.txt +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/WinJitsu.egg-info/entry_points.txt +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/WinJitsu.egg-info/requires.txt +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/WinJitsu.egg-info/top_level.txt +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/__init__.py +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/actions.py +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/cache.py +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/config.py +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/screen.py +0 -0
- {winjitsu-0.4.0 → winjitsu-0.4.2}/src/winjitsu/window.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: WinJitsu
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Animated window snapping for Linux X11: halves, quarters, center, fullscreen and multi-monitor moves from hotkeys, via a small background daemon
|
|
5
5
|
License-Expression: GPL-3.0-only
|
|
6
6
|
Project-URL: Homepage, https://github.com/Evilchuck666/WinJitsu
|
|
@@ -20,8 +20,12 @@ Dynamic: license-file
|
|
|
20
20
|
|
|
21
21
|
# 🥋 WinJitsu
|
|
22
22
|
|
|
23
|
+

|
|
23
24
|

|
|
24
|
-

|
|
26
|
+
[](LICENSE)
|
|
27
|
+
[](https://github.com/Evilchuck666/WinJitsu/releases/latest)
|
|
28
|
+
[](https://github.com/Evilchuck666/WinJitsu/actions/workflows/release.yml)
|
|
25
29
|
|
|
26
30
|
**WinJitsu** is a slick, animated window management tool for Linux (X11).
|
|
27
31
|
It allows you to effortlessly snap your active windows to various positions
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# 🥋 WinJitsu
|
|
2
2
|
|
|
3
|
+

|
|
3
4
|

|
|
4
|
-

|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[](https://github.com/Evilchuck666/WinJitsu/releases/latest)
|
|
8
|
+
[](https://github.com/Evilchuck666/WinJitsu/actions/workflows/release.yml)
|
|
5
9
|
|
|
6
10
|
**WinJitsu** is a slick, animated window management tool for Linux (X11).
|
|
7
11
|
It allows you to effortlessly snap your active windows to various positions
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "WinJitsu"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.2"
|
|
8
8
|
description = "Animated window snapping for Linux X11: halves, quarters, center, fullscreen and multi-monitor moves from hotkeys, via a small background daemon"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: WinJitsu
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Animated window snapping for Linux X11: halves, quarters, center, fullscreen and multi-monitor moves from hotkeys, via a small background daemon
|
|
5
5
|
License-Expression: GPL-3.0-only
|
|
6
6
|
Project-URL: Homepage, https://github.com/Evilchuck666/WinJitsu
|
|
@@ -20,8 +20,12 @@ Dynamic: license-file
|
|
|
20
20
|
|
|
21
21
|
# 🥋 WinJitsu
|
|
22
22
|
|
|
23
|
+

|
|
23
24
|

|
|
24
|
-

|
|
26
|
+
[](LICENSE)
|
|
27
|
+
[](https://github.com/Evilchuck666/WinJitsu/releases/latest)
|
|
28
|
+
[](https://github.com/Evilchuck666/WinJitsu/actions/workflows/release.yml)
|
|
25
29
|
|
|
26
30
|
**WinJitsu** is a slick, animated window management tool for Linux (X11).
|
|
27
31
|
It allows you to effortlessly snap your active windows to various positions
|
|
@@ -130,6 +130,11 @@ def main():
|
|
|
130
130
|
parser.print_help()
|
|
131
131
|
sys.exit(1)
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
sent = send_command(parsed_args.action)
|
|
134
|
+
|
|
135
|
+
if sent is None:
|
|
134
136
|
print("Error: WinJitsu daemon is not running. Start it with: winjitsu --daemon", file=sys.stderr)
|
|
135
137
|
sys.exit(1)
|
|
138
|
+
|
|
139
|
+
if not sent:
|
|
140
|
+
sys.exit(1)
|
|
@@ -162,8 +162,10 @@ def _fork_daemon():
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
def send_command(action):
|
|
165
|
+
# True: done (warnings already printed). False: the daemon reported an error,
|
|
166
|
+
# already printed. None: the daemon could not be reached.
|
|
165
167
|
if not SOCKET_PATH.exists():
|
|
166
|
-
return
|
|
168
|
+
return None
|
|
167
169
|
|
|
168
170
|
try:
|
|
169
171
|
with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as unix_socket:
|
|
@@ -182,4 +184,4 @@ def send_command(action):
|
|
|
182
184
|
|
|
183
185
|
return True
|
|
184
186
|
except (FileNotFoundError, ConnectionRefusedError, TimeoutError, OSError):
|
|
185
|
-
return
|
|
187
|
+
return None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|