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

Ability to change gaps on the fly #19

Open
frostyfalls opened this issue Nov 7, 2024 · 2 comments
Open

Ability to change gaps on the fly #19

frostyfalls opened this issue Nov 7, 2024 · 2 comments
Labels
feature New feature or request good first issue Good for newcomers

Comments

@frostyfalls
Copy link

frostyfalls commented Nov 7, 2024

Missing behavior

There currently is no ability to change the {inner,outer,} gaps on the fly while running wideriver.

Desired solution

The solution I'm looking for is just to change it via an integer. Either setting it (e.g. 2) or changing it in relation to the current gaps (e.g. +4). I'd also like to be able to toggle gaps all together with the last used one, if possible (if not, I can just set it to 0).

Ideas

riverctl send-layout-cmd wideriver "--{inner-,outer-,}gaps {2,4+,toggle}"
@frostyfalls frostyfalls added the feature New feature or request label Nov 7, 2024
@alex-courtis
Copy link
Owner

That sounds very useful, we can implement it.

A toggle is possible for all three and desirable so that the user does not have to know current state:

  --(no-)smart-gaps
  --inner-gaps
  --outer-gaps

While we are in there, width and colour can receive the same treatment, with toggles for widths.

@alex-courtis
Copy link
Owner

Pull Requests are most gratefully appreciated!

@alex-courtis alex-courtis added the good first issue Good for newcomers label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants