-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enable setting of margins separately #31
Comments
I would prefer to keep the margins symmetric, but I will look into it. Thanks for your suggestion! |
Gotcha, yeah it would be awesome to be able to set it separately but I get your point. I'll check out the forge issue as well. |
In the meanwhile I can guide you if you are willing to make a change in the extension code in your local installation. This should allow to achieve the same without the GUI. You need to go to the extension directory (~/.local/share/gnome-shell/extensions/openbar@neuromorph) and open stylesheets.js. if(bartype == 'Islands' || bartype == 'Trilands') {
panelStyle +=
` margin: ${margin}px ${1.5*margin}px; The syntax currently is for symmetric margins, so it goes like: margin: ${margin}px ${1.5*margin}px ${0.1*margin}px ${1.5*margin}px; Note: after any change you make, you will need to reload Gnome (log out/in) to test the changes. One more thing, if you want to try out Openbar 2.0 with the enhancements I mentioned earlier, you can clone it from openbar2.0 branch. Feedback on it will be appreciated in issue #29 . |
Just got back from a holiday, yeah sure I'll check it out when I get some downtime at work. Also, thanks for sharing how to manually do it, I'll take a peek at that as well. |
I will keep it at manual mod for now (described above). |
It would be awesome if we'd be able to set the bar margins separately. I'm currently using forge for the tiling and there's a lot of space in between the bar and the windows since Forge also doesn't allow setting the gaps separately per position.
The text was updated successfully, but these errors were encountered: