-
Notifications
You must be signed in to change notification settings - Fork 478
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
Option to set padding #377
Comments
It is not currently possible to do this for blocks without a |
A few blocks have had |
If this was meant like "we don't want to fix it", I'm ok with that. But if this isn't the case and you really are not sure what to do, than I probably didn't explain the issue properly. We simply need new option on level of I really can't image why would I override the icons myself. I'm using a computer to do things for me, not other way :) And I'm aware that it would be faster to override every icon in my config (that means find what is original icon, add it to config and add some space...) than to create this feature request. But IMHO there are others who wants this and its not OK to waste so many men-hours on something which can be solved (if it is doable). I originally talked also about padding between blocks, but it can be fixed with them override in separator, so not as needed as icon padding/margin. Something like this would be great. [theme.override]
icons-padding-right = 5
icons-padding-left = 10 |
@kepi We generally don't have pixel-perfect control over the bar display since the i3bar protocol is entirely text-based. Adding spaces to icons is the way padding is usually done in the current codebase. We could maybe (ab)use the Edit: Just tried What might be possible is a universal 1-space (or maybe even unicode half-space etc.) icon padding. More thoughts:
|
#981 might be useful if "icon_fmt" is introduced |
@GladOSkar thanks for detailed explanation. I can think about some workarounds if we don't have pixel perfect control like the number would be number of spaces. But I believe that #981 @ammgws mentioned would be easier to implement and probably even simpler to setup. It would also resolve the case with icons inside widget text you mentioned. Thanks again too both of you for information. I'll subscribe to #981 and hope that |
Is there any way how to add padding (left, right and between icon and text) to blocks?
IMHO it is more aesthetic to have padding around icons and between block. My monitor is wide enough and I'm not sure why icons should be so close to text.
The text was updated successfully, but these errors were encountered: