Git Product home page Git Product logo

modalawesome's People

Contributors

potamides avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

modalawesome's Issues

Multikey patterns?

How can I set up multi key patterns?

For example, in the launcher mode, instead of using t to launch a terminal and b to launch a browser, can I set up lt to launch a terminal and lb to launch the browser?

Pressing backspace when a mode is active kills awesome.

Just to clarify, this bug is not caused by modalawesome, but by the Lua API of awesome. However since I was approached about this multiple times, I hope this issue will help users to find possible solutions and to solve confusion about this in the future.

This problem is already fixed in the development version of awesome, the related issue can be found here. I can think of two
things that can be done to fix this behavior:

  1. You could install the git version of awesome.
  2. You could apply the fixes yourself in your installed version. The problem can be fixed by changing two lines of lua code.

Allow for multiple patterns for one keypress

Lua does not have alternative patterns. My request is to allow for the equivalent of '(abc|def) specifically the | part that could have a list of patterns or something so that I could functionally have a pattern that would match any of the patterns in the list

What I'm trying to do ultimately is reworking the default functions so that, for example, if I wanted to move the current client forward two tags, I could do either m2f or 2mf to the same effect, i.e. allowing for the count and movement variables to be swapped, recognizing them in the body of the function based on whether they are number or letter. So I tried
pattern = { '(%d*|m)', '(%d*|m)', '[gfb]' }
before realizing that it doesn't use regex.

I know I'm not able to communicate as clearly as I would like to, but I hope that the underlying feature request is here, and if there is a way I didn't think of to implement this in my awesome using the current modalawesome then I'd be happy to use that too

[BUG] Special Keys recognised as pattern

Hi, I just found a weird bug I had never noticed before. I think it has been introduced recently, as it begun when I tried the PR for common bindings.

When I hit arrow keys, the sequence grabbed is the name of said key. The issue is that "Left" match my "L" binding to switch to the tag on the right of my main tag.

Allow common binding to have their own help section

Hello !

In my configuration, I have some common bindings that were repeated in every modes.

I use these to switch from any mode to any mode, as well as some useful bindings (I have ? and : accessible at all time to show the help popup and launch commands).

I´ve got a fork that allow a special mode (common) to hold common bindings, that is merged with every other, then removed from mode list, in init.lua:process_modes. This let create_hotkey generate help for this common mode, before it´s merged with others and removed.

I can open a pull request if you think it can be useful.

It might be better to allow arbitrary name, but I used common in my own config, so I just hardcoded it that way

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.