There is actually a way you can do it.
When you declare your Screens, instead of doing for example:
screens = [
Screen(
top=bar.Bar()
)
]
You can do something like:
screens = [
Screen(
top=bar.Gap(45),
bottom=bar.Gap(45),
left=bar.Gap(45),
right=bar.Gap(45)
)
]
And this will result in a 45 margin around the windows, independent of the
margin set in the Layout config.
If you want to mix this with a bar on you workspace, you can set margin on
the bar, so for example, in your bar, you would have something like this:
bar.Bar(
margin=[0, 0, 40, 0] # This goes as [N, E, S, W]
)
So just adjust the margin of the Bar + Bar Height to be the same as the Gaps
Hope that was helpful!
On Wednesday, July 15, 2020 at 8:45:32 PM UTC-3 Tycho Andersen wrote:
> On Wed, Jul 15, 2020 at 04:41:22PM -0700, Andrew Carpin wrote:
> > Was there ever a way to set up separate margins for inner/outer borders?
> I
> > saw a few topics that were layout specific so i wasn't sure. Thanks
>
> I'm not aware of a way, unfortunately.
>
> Tycho
>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/6064c414-1c43-4622-9f5b-dda14d57c30dn%40googlegroups.com.