kitty_config/zoom_toggle.py

18 lines
317 B
Python
Raw Permalink Normal View History

2021-07-30 09:37:48 +02:00
#! encoding: utf-8
def main(args):
pass
def handle_result(args, answer, target_window_id, boss):
tab = boss.active_tab
if tab is not None:
if tab.current_layout.name == "stack":
tab.last_used_layout()
else:
tab.goto_layout("stack")
handle_result.no_ui = True