-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
37 lines (30 loc) · 845 Bytes
/
Copy pathconfig.py
File metadata and controls
37 lines (30 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""Configuration constants for the Window Tracker application."""
# Polling intervals (seconds)
WINDOW_ENUMERATION_INTERVAL = 1.0
# Window filtering settings
EXCLUDED_WINDOW_CLASSES = [
'Shell_TrayWnd',
'DV2ControlHost',
'MsgrIMEWindowClass',
'SysShadow',
'Button',
'Windows.UI.Core.CoreWindow'
]
EXCLUDED_WINDOW_TITLES = [
'Program Manager',
'Default IME',
'MSCTFIME UI',
'OpenBob - Watch Your Apps Live!', # Exclude the tracker itself
''
]
# Minimum window title length
MIN_TITLE_LENGTH = 1
# Logging settings
LOG_FILE = 'window_tracker.log'
LOG_LEVEL = 'INFO'
LOG_FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
# Threading
TRACKING_THREAD_NAME = 'WindowTrackerThread'
DAEMON_THREAD = True
# Window behavior
ALWAYS_ON_TOP = False # Set to True to keep window always on top