Giter Site home page Giter Site logo

applauncher's Introduction

AppLauncher

I want to share this plugin, I use Terminator, and every time I wanted to set up my development environment, I had to launch Terminator and execute the commands needed. In order to avoid this repetitive sequence, I decided to write a plugin that, with just one click, launches Terminator, creates divisions in it, and executes the commands needed for every project.

Installation

  1. Put files in ~/.config/terminator/plugins/:

     mkdir -p ~/.config/terminator/plugins
     cp applauncher.py ~/.config/terminator/plugins/
     cp projects.py ~/.config/terminator/plugins/
    
  2. Restart Terminator, go to Context menu > Preferences > Plugins and select AppLauncher.

Setup

  1. Edit ~/.config/terminator/plugins/projects.py, example:

     :::python
     EDITOR = "gedit"
     
     PROJECTS = {"Project 1": {"split": "vert",
                               "terminal1": {"split": "horiz",
                                             "terminal1": {"commands": ["dir"],
                                                           },
                                             "terminal2": {"commands": ["ls"],
                                                           }
                                             },
                               "terminal2": {"commands": ["dir"], 
                                             },
                               },
                 "Project 2": {"enabled": False,
                               "split": "vert",
                               "terminal1": {"split": "horiz",
                                             "terminal1": {"commands": ["command 1",
                                                                        "command 2",
                                                                        "command 3"],
                                                           },
                                             "terminal2": {"commands": ["command"],
                                                           }
                                             },
                               "terminal2": {"split": "horiz",
                                             "terminal1": {"commands": ["command"],
                                                           },
                                             "terminal2": {"commands": ["command"],
                                                           }
                                             },
                               },
                 "Project 3": {"enabled": True, commands": ["history", ] }
                 }
    
  2. Restart Terminator.

Use

  • Go to Context menu > AppLauncher, and select your project.

Autor

License

The plugin is licensed as GPLv2 only.

applauncher's People

Contributors

chipocrudos avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.