|
|
@@ -174,7 +174,7 @@ class Yabai(CLIWrapper):
|
|
|
debug(f"Exited with {exc_type} {exc_value}")
|
|
|
self.message(["rule", "--apply"])
|
|
|
if self._initial_window is not None:
|
|
|
- self.message(["window", "--focus", self._initial_window])
|
|
|
+ self.message(["window", "--focus", self._initial_window.id])
|
|
|
if exc_type is None:
|
|
|
debug(f"Executed successfully")
|
|
|
|
|
|
@@ -287,7 +287,7 @@ class Yabai(CLIWrapper):
|
|
|
pass
|
|
|
# Return focus
|
|
|
if initial_window is not None:
|
|
|
- self.message(["window", "--focus", initial_window])
|
|
|
+ self.message(["window", "--focus", initial_window.id])
|
|
|
info(f"Spaces configured: {sorted(self.get_spaces())}")
|
|
|
|
|
|
def set_space_background(self, space: SpaceSel):
|