Skip to content

[Polybar & i3-gaps] Workspace padding issue on multiple monitors

1 / 2
Not downloaded yet
Not downloaded yet

I'm having this weird padding bug with the i3 module for polybar.

Basically when I'm on a workspace which is on my primary monitor everything is golden and it looks like this:

https://i.redd.it/wlwpr3gof3x21.jpg

As soon as I jump to a workspace which is on another monitor, the padding gets messed for the workspaces on my primary monitor and it looks like this:

https://i.redd.it/ktv93katf3x21.jpg

The i3 module in my polybar config is as follows:

[module/i3]
type = internal/i3
pin-workspaces = true
index-sort = true
enable-click = false
enable-scroll = false
wrapping-scroll = false
reverse-scroll = false
label-focused = %index%
label-unfocused = %index%
label-focused-underline = #ffffff
label-focused-padding = 1
label-unfocused-padding = 1

Any help is appreciated, thanks!

1 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Gallery · 2 files
ID
bme4po

Author

2
posts
2
comments
2
media
View profile

2 comments

Try settings these paddings:

label-mode-padding = 1

label-unfocused-padding = 1

label-visible-padding = 1

​

That's the only difference in padding from my config which works, so it might be one of those.

2 points

I've tried all the various paddings, none seem to help. I think it may be an issue with my triple monitor set up.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.