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
[ISSUE] Fix Tabs and Decoration spacing using a common Spacing Raw for layouts #475
Comments
I think that, in the case I use a declared spacing for each layout, this issue can be fixed by writing a function , a transformer or a layout modifier that toggles on/off spacing and gaps, hiding the bar , that must still persistent even if I switch layout in the same workspace I'm trying this from weeks, without success . I require help from people more experienced than me , I hope that guys like @geekosaur or other guys can help me. This could be also a great improvement for xmonad in general I'm currently using this function , but when I switch layout in the current workspace, spacing & gaps reappears
I hope you could help me. Please tell me also if I've to move that in a new issue (closing this one) or not Thank you all in advance |
I think what you want is a custom
(replace the second " |
Sorry, I got this backwards and possibly wrong (I need to make sure |
Thank you for your kindness and your support. |
If this can be helpful to you, the code above give me the following error:
I used the following code for a test , this toggle on/of an increment of 5 pixel to mySpacing . This works, but only increment/decrement the spacing (if I already started with a 5px spacing, the spacing will increment of + 5px, becoming 10px)
|
Sigh. It looks like this isn't flexible enough for what you want; toggling a modifier on can only add modifiers, not remove them. It may be possible to "edit" the modifier that is passed in, but I doubt it because I think that puts the modifier in the wrong place. |
Thank you so much ! So , in this case , can I feature-request a "toggle custom function" functionality ? In the mean time , I' ll continue to try, searching for a workaround |
Oh, you can write it, it would just need to be its own layout modifier. I think. I'm still thinking about the above and how it might be doable without that. |
If you find a solution, please keep me informed Thank you again! |
Let's try this:
and put your initial Also you were seeing an increment because the initial |
If I add as following
I have the following error during recompliling
|
Sorry, looks like I stuck an extra |
I'm using |
☹ Looks like it insists that the "remove" clause only does a remove, not an add. So it's still not flexible enough to do this. |
Thank you for your support! I'll try to find other solutions , and , if I'll have good news, I'll report here |
Hi
referring to #474
I require a fix for Tabs and Decorations behavior with a common setted spacing in myLayoutHook
The result is tabs and decoration with spacing between the tabs and the window
The result should be no space between tabs and windows, as it happens setting individual spacing for each layout
The text was updated successfully, but these errors were encountered: