The width and height of the xbm icon need to be swapped in the patch to use non-square icons (https://gist.github.com/btolsch/3641ef8ed3c31118593d). Also, the PKGBUILD doesn't work atm; build() should be split into build() and package().
Search Criteria
Package Details: i3bar-icons 4.10.2-1
Package Actions
| Package Base: | i3bar-icons |
|---|---|
| Description: | A version of i3bar which can display xbm icons |
| Upstream URL: | https://github.com/ashinkarov/i3-extras/blob/master/i3bar-xbm-icons.patch |
| Category: | x11 |
| Licenses: | |
| Submitter: | nickl |
| Maintainer: | DeaDDooMER |
| Last Packager: | DeaDDooMER |
| Votes: | 9 |
| First Submitted: | 2013-01-24 20:22 |
| Last Updated: | 2015-05-19 12:25 |
Dependencies (12)
- i3-wm>=4.10.2
- libev
- libxcursor
- pango
- startup-notification
- xcb-util-image
- xcb-util-keysyms
- xcb-util-wm
- yajl
- docbook-xsl (make)
- git (make)
- pkgconfig (make)
Required by (0)
Sources
- http://i3wm.org/downloads/i3-4.10.2.tar.bz2
- i3bar-xbm-icons.patch
Latest Comments
Comment by keeblerelf
Comment by sudaraka
I have ported the patch to i3-wm 4.8. If anyone is interested, it can be found at https://gist.githubusercontent.com/sudaraka/507a782a9c9d489485a2/raw/a5468c63759c1d3c340e6e51e5b1a8f0d8430e37/i3bar-4.8-icons.patch
Comment by maccyber
Nice patch, but when I define "icon" the "color" does not apply to the text, only the icon - hence
{"name": "asd", "icon":"/home/jonas/.i3/icons/cpu.xbm", "icon_color":"\#ffffff", "color":"\#EE6633", "full_text": "asd"}
will give me a red icon. The text would still be default grey.
Comment by nickl
Updated to 4.5
Comment by hcar
Thank you for the nice patch.
It would be great if you removed the pipes and block spacing (in function refresh_statusline: poly_line at the end of the function and spacing is done by "block->width += 9").