Git Product home page Git Product logo

xprompt's Issues

add support for arrow keys

i come here from an alternative to dmenu, but now scrolling through the entries got difficult because of this

icons

Please add icons.

List items horizontally?

This is a an extremely nice alternative to dmenu, although the only thing it lacks for me is the option to show a list horizontally rather than always vertically. Is there a possibility of adding that feature to xprompt?

Allow percentages in the geometry

This would allow resolution-independent sizing and positioning. For example, -g 20%x32 would make a bar 32 pixels high and 20% of the horizontal resolution wide.

Custom actions

I haven't tried xprompt yet, but I was looking through the raw manpage on github, and it looks like the keybindings are just geared towards specifying the actions that xprompt itself knows how to perform. Xprompt should also also allow specifying a separate, fully custom set of keychords which, when triggered, send a custom piece of data back to the wrapper script so that it can take an appropriate action. Implementing this would fill in a big hole in dmenu functionality.

These custom actions could be implemented as environment variables with multiple fields, e.g. like this (in bash syntax):

XPROMPTCUSTACTION01='CTRL-r:BOBSYOURUNCLE'
XPROMPTCUSTACTION02='ALT-4:LIFETHEUNIVERSEANDEVERYTHING'
XPROMPTCUSTACTION03='CTRL-!:ONCE, UPON A MIDNIGHT DREARY AS I PONDERED WEAK AND WEARY'
XPROMPTCUSTACTION04='ALT-B:' #<- where data is arbitrary data, whether or not it fits into the UTF-8 character set, although you could use null as the terminator for these data strings if you really had to, as null is pretty commonly avoided in environment variables anyway.

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.