Clarify readme

This commit is contained in:
AuroraWright
2025-10-09 19:58:26 +02:00
parent 1c83f8c184
commit ba9948e9aa
4 changed files with 4 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ class Config:
'combo_pause': '',
'combo_engine_switch': '',
'screen_capture_area': '',
'screen_capture_delay_secs': -1,
'screen_capture_delay_secs': 0,
'screen_capture_only_active_windows': True,
'screen_capture_frame_stabilization': -1,
'screen_capture_combo': '',

View File

@@ -1271,6 +1271,8 @@ def run():
global periodic_screenshot_queue
periodic_screenshot_queue = queue.Queue()
screen_capture_periodic = True
if not (screen_capture_on_combo or screen_capture_periodic):
raise ValueError('screen_capture_delay_secs or screen_capture_combo need to be valid values')
screenshot_event = threading.Event()
screenshot_thread = ScreenshotThread()
screenshot_thread.start()