Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] "pow" binary operation in simpleexpr #1226

Open
elisesouche opened this issue Nov 8, 2024 · 0 comments
Open

[FEATURE] "pow" binary operation in simpleexpr #1226

elisesouche opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@elisesouche
Copy link

Description of the requested feature

Simple mathematical expressions can be evaluated in eww. These include +, *, and others. However, there is no support for exponentiation. I needed it for manipulating tags in RiverWM, but I have to shell out.

Proposed configuration syntax

We could use either the syntax a ** b as in Python or the more common a ^ b.

Additional context

I can probably make a PR for this if you give me a green flag.

@elisesouche elisesouche added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant