Git Product home page Git Product logo

nozzle's People

Contributors

schlipak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nozzle's Issues

Warm up backend script after start

The backend script and worker should be started just after starting nozzle, so to give them a change to do any expensive initialization before using them.

Redefine JSON format

Instead of an array of result, return an object with results as a property. This allows to define other properties and makes the protocol more flexible.

{"backend": "math", "version": "1.0.0", "priority": 9, "results": ["..."]}

Also define priority, which allows backend to specify how important their results are. (For example, the math backend and specify a high priority, so that if a math expression is entered in the panel, the result appears on top)

Rework script worker

Currently does not work at all, emitting signals to another thread isn't as simple.

EDIT : Workers work since the bulk of them runs on separate processes, but IO can be blocking an slow the UI thread.

Add cross-fade between entry updates

Make the updates easier on the eyes, especially when going from no entries to displaying entries --> The first entry selection rectangle briefly overlaps the input.

Add UI configuration

Extract stylesheet, add more options and use setStylesheet with template QString.

QString(stylesheet).arg(settings.value("style/something", "default").toString());

Move styling options from panel to style.

Create default configuration file

Nozzle should create a config file and fill it with default values on first launch. Or, use a template file and copy it to settings.fileName() if it does not exist.

Customize font

Add the ability to customize the font, separately for the input and entry names and description.

Some applications won't start

This issue can technically arise with any backend script, but Applications is the most problematic. Some applications specify a shell command as a start command, which fails currently with Nozzle.
Such applications include Steam, which starts up with the following command:

sh -c 'STEAM_FRAME_FORCE_CLOSE=1 steam' %U

EDIT: Also add support for starting an application in a terminal (Terminal=true)

Handle long result lists

Right now long result lists overflow the window. Make the panel not able to expand more, and let the QListWidget scroll instead.

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.