Skip to content

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

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

About

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

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages