GithubHelp home page GithubHelp logo

thegoodhen / tgh-launcher Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 549 KB

A repo for my new awsum Linux launcher app, because d-menu doesn't cut it and after some research I wasn't satisfied

License: GNU General Public License v3.0

Java 100.00%

tgh-launcher's People

Contributors

ptrbroz avatar thegoodhen avatar

Watchers

 avatar  avatar  avatar  avatar

tgh-launcher's Issues

Display as bar

Program should read the horizontal resolution of the screen and display itself on top of the screen, shrunk to fit, always on top, without window decorations. Thus the window type shall be changed from Utility to Popup or something else.

TODO: Keyboard navigation

The reader app is now fully functional. For improved user experience, there should be an option to use keyboard to select a certain App. Selected buttons should be made "clickable" with enter (which is not the current behavior, at least not under Lubuntu 15.04 with i3 window manager). App should be keyboard selectable (preferably tab and then hjkl or jklů, but arrow keys are acceptable).

TODO: Generate clickable buttons

Right now the program sends output to stdout; Instead, buttons should appear in the GUI as text is written into the search box. Each button should carry the the name of an application found as a search result. Upon click, this app should be launched

Set number of search result per keyword, as opposed to total

Right now, the method signature of findApp() method of
tgh-launcher/reader/src/com/tgh/launcher/reader/AppList.java is following:

ArrayList findApp(String searchString, int maxResults)

Instead, it should accept a number telling it how many results PER KEYWORD it shall find before giving up FOR THAT PARTICULAR KEYWORD. The number of total results returned shall be kept, but should only denote max number of elements returned in the array.

Example

If we set maximum results per keyword to ten and maximum number of returned results to 5 and then the user searches for "burn a cd"
The program will stop searching for "burn" after finding 10th occurance, stop searching for "a" after 10th occurance (which limits the amount of unwanted results from too broad search terms) and then for cd after 10. In total, the list of results won't be longer than 30. From this list, 5 most relevant results will be returned from this method.

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.