-
Notifications
You must be signed in to change notification settings - Fork 136
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
[swm-gaps] gaps should not be applied to modeline #100
Comments
I'm not the author of this module, but maybe this was intended? Although looking at the screenshot of the module, maybe not. Perhaps there should be an option whether a user wants to apply gaps to the modeline or not. Thoughts? |
I am the author (for the outer gaps thing). I used polybar so didn't face this issue. I agree about having an option for applying gaps to modeline. I think it might need some refactoring since the outer gaps were implemented by resizing the whole head. Allowing modeline might mean changing this. |
Another way might be to make the modeline aware of gaps and have it position itself correctly. Though I am not sure which way is going to be easier/better. Thoughts? |
Thanks for the replies. My Lisp skills are poor so I don't know how easy it would be to implement the features. My guess is not very easy 😁. If we could just make the modeline stay in default position I would be happy with that. Having the option to apply gaps to the modeline or turning it off would be cool though. |
I will give it a shot this weekend. |
I have a possible fix in here. There are now three kind of gaps defined by the following variables:
Here is a quick picture to describe these. The outermost gaps are due to Try the fork and see if it behaves correctly. If all looks fine, then I will create a PR here. |
I just tried it myself. Seems to work fine. @lepisma How are you getting that error? @jamesmccabe (I tried the same config with the binding as you and get no error) |
Which version of stumpwm are you using @jamesmccabe? (although the missing function is around a year old so don't know if this matters). |
Sorry I am using stumpwm version 1.0.0 so I think this is the problem. I will test the git version later. |
Right, I now realize that v1 doesn't have that fn. Since, v1 is latest stable release, should I revert the change that I made (lepisma@08918d7)? I think addon modules should at least work with the latest stable. |
Or I can also take this opportunity to ask @dbjergaard if |
Maybe you should have a look at this: stumpwm/stumpwm#454, @lepisma. |
When I turn on swm-gaps it moves my modeline and adds gaps to it.
I presume this should not be the default behavior and maybe it was only tested using Polybar instead of the Stump modeline?
Screenshot:
Here is my .stumpwmrc.
Removing
defun add-outer-gaps
function seems to fix the problem but the outergaps feature is lost.The text was updated successfully, but these errors were encountered: