Code Monkey home page Code Monkey logo

Comments (5)

oncomouse avatar oncomouse commented on August 29, 2024 2

Yes, this is fixed. FWIW, I prefer the {comma, period} syntax. Thanks!

from swhkd.

Shinyzenith avatar Shinyzenith commented on August 29, 2024

@angelofallars @EdenQwQ Hi my dear config parsing coders ( 🤣 ).

@oncomouse thank you so much for the bug report , ^ they should get back to you soon. I did not write the config parser so sadly I can't be of much help at the moment.

from swhkd.

angelofallars avatar angelofallars commented on August 29, 2024

Hi @oncomouse!

After examining our code, it seems that we do have comma correctly mapped. However, in your config:

super + {comma, period}
	riverctl focus-output {previous, next}

We currently do not have period mapped as of now. Instead, you can only use dot for now. I will add the period mapping right away.

For this mapping:

super + {,, .}
	riverctl focus-output {previous, next}

We haven't implemented escaping commas inside curly braces yet. I think we'll use backslash escapes for this one.

For now, you should use this mapping in swhkd 1.0.0:

super + {comma, dot}
	riverctl focus-output {previous, next}

Hope this helps.

from swhkd.

angelofallars avatar angelofallars commented on August 29, 2024

@oncomouse

Update: I added handling to escape commas inside braces in PR #57, the syntax looks like this:

super + {\,, .}
	riverctl focus-output {previous, next}

You can escape commas inside braces with a leading backslash \. What are your thoughts on this?

from swhkd.

Shinyzenith avatar Shinyzenith commented on August 29, 2024

@oncomouse please recompile from main branch, and let us know if that fixed it!

from swhkd.

Related Issues (20)

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.