Created
March 5, 2013 21:43
-
-
Save radiosilence/5094567 to your computer and use it in GitHub Desktop.
Patch to make i3bar have no borders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
232c232 | |
< values[3] = font.height + 6; | |
--- | |
> values[3] = font.height + 4; | |
1263,1264c1263,1264 | |
< walk->rect.w, font.height + 6, | |
< 1, | |
--- | |
> walk->rect.w, font.height + 4, | |
> 0, | |
1337c1337 | |
< strut_partial.top = font.height + 6; | |
--- | |
> strut_partial.top = font.height + 4; | |
1342c1342 | |
< strut_partial.bottom = font.height + 6; | |
--- | |
> strut_partial.bottom = font.height + 4; | |
1398c1398 | |
< values[3] = font.height + 6; | |
--- | |
> values[3] = font.height + 4; | |
1457c1457 | |
< xcb_rectangle_t rect = { 0, 0, outputs_walk->rect.w, font.height + 6 }; | |
--- | |
> xcb_rectangle_t rect = { 0, 0, outputs_walk->rect.w, font.height + 4 }; | |
1533c1533 | |
< xcb_rectangle_t rect_border = { i, 0, ws_walk->name_width + 10, font.height + 4 }; | |
--- | |
> xcb_rectangle_t rect_border = { i, 0, ws_walk->name_width + 9, font.height + 4 }; | |
1544c1544 | |
< xcb_rectangle_t rect = { i + 1, 1, ws_walk->name_width + 8, font.height + 2 }; | |
--- | |
> xcb_rectangle_t rect = { i, 0, ws_walk->name_width + 7, font.height + 4 }; | |
1552c1552 | |
< i += 10 + ws_walk->name_width + 1; | |
--- | |
> i += 9 + ws_walk->name_width + 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment