An open API service indexing awesome lists of open source software.

https://github.com/cheesecake87/gnome-terminal-loader


https://github.com/cheesecake87/gnome-terminal-loader

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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](assets%2Fgnome_terminal.png)

![main_py_gnome_terminal.png](assets%2Fmain_py_gnome_terminal.png)

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

```python
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()

```