Skip to content

CheeseCake87/gnome-terminal-loader

Repository files navigation

Gnome Terminal Loader

An Obsidian plugin

An Obsidian plugin that loads Gnome Terminal. It also has a Python script entry point loader, by placing a file called main.py in the root of the vault. (Only compatible with Linux, with gnome-terminal and python3 installed)

gnome_terminal.png

main_py_gnome_terminal.png

It's best to use a CLI menu with main.py here's an example:

def menu():
	menu = -1
    while menu != 0:
        menu = int(input('1. Print Hello \n 2. Print World \n 0. exit \n'))
        if menu == 1:
            Print("Hello")
        elif menu == 2:
            Print("World")
        elif menu == 0:
            break
        else:
            print('null')
            

if __name__ == '__main__':
    menu()