feat: Implement interactive shortcut selection
This commit enhances your experience for setting a keyboard shortcut. Instead of typing the shortcut as a string, you are now prompted to press the desired key combination directly. The `src/config.py` module has been updated to: - Use `keyboard.read_hotkey()` to capture the key combination you press. - Display the captured shortcut for confirmation. - Save the shortcut only after you confirm it is correct. This provides a more intuitive and less error-prone way for you to configure your preferred shortcut.
This commit is contained in:
2
run.bat
2
run.bat
@@ -6,6 +6,6 @@ REM Activate the virtual environment
|
||||
call venv\Scripts\activate.bat
|
||||
|
||||
REM Run your main Python script (replace main.py with your script name if different)
|
||||
start "OopsWrongLang" /B pythonw src\main.pyw
|
||||
start "OopsWrongLang" /B python src\main.pyw
|
||||
echo application is running in the background. you can close this window.
|
||||
pause
|
||||
Reference in New Issue
Block a user