Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d9f9c9

Browse files
committed
fix(komorebi): remove unnecessary whitespace and clean up code formatting
1 parentb32023c commit1d9f9c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/core/utils/komorebi/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
fromcontextlibimportsuppress
55
fromtypingimportOptional
66

7-
87
defadd_index(dictionary:dict,dictionary_index:int)->dict:
98
dictionary['index']=dictionary_index
109
returndictionary
@@ -84,9 +83,9 @@ def get_workspace_by_window_hwnd(self, workspaces: list[Optional[dict]], window_
8483

8584
defactivate_workspace(self,m_idx:int,ws_idx:int,wait:bool=False)->None:
8685
p=subprocess.Popen([self._komorebic_path,"focus-monitor-workspace",str(m_idx),str(ws_idx)],shell=True)
87-
8886
ifwait:
8987
p.wait()
88+
9089
defnext_workspace(self)->None:
9190
try:
9291
subprocess.Popen([self._komorebic_path,"cycle-workspace","next"],shell=True)
@@ -133,7 +132,6 @@ def flip_layout_horizontal_and_vertical(self) -> None:
133132

134133
deftoggle(self,toggle_type:str,wait:bool=False)->None:
135134
try:
136-
137135
command=f'"{self._komorebic_path}" focus-monitor-at-cursor && "{self._komorebic_path}" toggle-{toggle_type}'
138136
p=subprocess.Popen(command,shell=True)
139137

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp