Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 793 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 793 Bytes

OpenTerminal

Open the terminal in the directory that has focus using the hotkey [Only Windows]

bandicam 2022-01-16 19-32-25-115

Config

You can customize commands and hotkey in main.py:

COMMAND_WT = f'{PATH_WINDOWS_TERMINAL} -d'
COMMAND_CMD = 'start cmd /K cd'
HOTKEY = 'ctrl+alt+t'

Using CMD

if explorer_path:
    os.popen(f'{COMMAND_CMD} "{explorer_path}"')
else:
    os.popen(PATH_CMD)

Using Windows Terminal

if explorer_path:
    os.popen(f'{COMMAND_WT} "{explorer_path}"')
else:
    os.popen(PATH_WT)

CMD is default terminal

Use

python main.py

To open the terminal just press ctrl+alt+t like in linux distributions