Package Details: i3-wm-iconpatch 4.18.1-1

Git Clone URL: https://aur.archlinux.org/i3-wm-iconpatch.git (read-only, click to copy)
Package Base: i3-wm-iconpatch
Description: An improved dynamic tiling window manager (with titlebar icon patch)
Upstream URL: http://i3wm.org/
Licenses: BSD
Conflicts: i3-wm
Provides: i3-wm
Submitter: fishburn
Maintainer: lrustand
Last Packager: lrustand
Votes: 17
Popularity: 0.047262
First Submitted: 2014-01-20 06:57 (UTC)
Last Updated: 2020-07-05 20:10 (UTC)

Required by (47)

Sources (3)

Latest Comments

jabashque commented on 2021-12-19 05:19 (UTC)

I suppose it's probably important to note to others that i3wm now officially includes titlebar icon support as of version 4.20.

jabashque commented on 2021-02-28 02:16 (UTC) (edited on 2021-02-28 02:18 (UTC) by jabashque)

@lrustand: I decided to attempt updating this to 4.19.2, and it seems like it works so far.
Patch rebasing done by me, and PKGBUILD changes were lifted from Airblader's i3-git package (commit).

http://sprunge.us/L6ox4f

lrustand commented on 2020-07-05 20:17 (UTC)

@omertuc Thanks for the patch! Applied it to the package now. Sorry for the late response, I didn't see your comment before you emailed me.

omertuc commented on 2020-07-03 19:50 (UTC)

@sgrubsmyon I've updated i3 to 4.18.1 (as 4.17.1 will no longer compile on the latest GCC) and fixed the crash.

@lrustand please apply this update & fix: https://pastebin.com/bL7aPQGJ

sgrubsmyon commented on 2020-01-29 12:59 (UTC)

I experience this bug with i3-wm-iconpatch 4.17.1-1: i3 crashes when starting a horizontal/vertical split container inside a tabbed window. See this issue: https://github.com/i3/i3/issues/3896. In the issue, it was demonstrated that the bug appears when the icon patch is applied. Something in https://aur.archlinux.org/cgit/aur.git/tree/iconsupport.patch?h=i3-wm-iconpatch seems to cause the bug.

mickael9 commented on 2017-10-10 17:38 (UTC)

@edrex: should be fixed now

edrex commented on 2017-10-09 20:57 (UTC)

The icons don't seem to scale with the title bar font size. On my hidpi laptop screen with .Xresources: Xft.dpi: 196, they are microscopic. Maybe make the icons scale together with the title bar font?

mid-kid commented on 2017-09-27 12:53 (UTC) (edited on 2017-09-27 13:02 (UTC) by mid-kid)

4.14.1 has been released with a bunch of bugfixes. The patch just needs to be rebased, but nothing more.

fishburn commented on 2017-09-06 17:32 (UTC)

@mid-kid @mickael9 I'm not able to take a look at the patch right now, but I just added both of you as co-maintainers. You should be able to push the new PKGBUILD and patch now.

mid-kid commented on 2017-09-06 12:57 (UTC) (edited on 2017-09-06 13:02 (UTC) by mid-kid)

I rebased mickael9's patch: https://github.com/i3/i3/compare/4.13...mickael9:window-icons.diff for i3-4.14. Here it is: https://transfer.sh/a42yU/i3-4.14-window-icons.patch

sw9 commented on 2017-04-14 22:19 (UTC)

Just applied it. Everything's working on my end now. Thanks.

mickael9 commented on 2017-04-14 21:09 (UTC)

@sw9 Thanks a lot. I knew something was wrong with the alpha but couldn't figure out what it was. I've updated my patch (and integrated @mid-kid's changes) https://github.com/i3/i3/compare/4.13...mickael9:window-icons (raw patch: https://github.com/i3/i3/compare/4.13...mickael9:window-icons.diff ) @cornholio can you integrate it please? :)

sw9 commented on 2017-04-14 18:46 (UTC)

I've installed this patch, and for some icons, there is a white background showing when there shouldn't be one. I believe this is because _NET_WM_ICON reports the icon using straight alpha but Cario uses pre-multiplied alpha (this issue has occurred with other similar projects https://github.com/richardgv/skippy-xd/commit/ecb7835aae7a5a08d7ae05d41011cb9351342233). Thus, src values needs to be multiplied by the alpha, before cairo_image_surface_create_for_data is called.

mickael9 commented on 2017-01-09 17:22 (UTC)

@mid-kid would you consider sending me a pull request so I can integrate your changes?

fishburn commented on 2016-11-15 10:41 (UTC)

@mid-kid Fantastic. Thank you!

mid-kid commented on 2016-11-13 13:51 (UTC)

I just updated this patch for i3 4.13, as well as included the following commit, which makes the icons use proper scaling and look nicer: https://github.com/mickael9/i3-window-icons/commit/bd0d0cc50282620578f8dafba3d5550064ca248e Here's the updated patch: http://chunk.io/f/0b21b6e27cb7484a8c3a5cb9be55bca2.patch?lang=diff

fishburn commented on 2016-11-03 05:21 (UTC)

@Magnetz74 It's not out of date. You just need to add the PGP key to your keyring or disable the PGP check.

fishburn commented on 2016-10-17 20:10 (UTC)

@mid-kid Thanks! I've incorporated your patch. I don't have any softwares that performs window icon change so I haven't verified that the feature works as intended.

mid-kid commented on 2016-10-11 22:00 (UTC) (edited on 2016-10-11 22:00 (UTC) by mid-kid)

I've updated the patch to update the window icon whenever it's changed (for example, when loading a new site in qutebrowser). Please consider including it here: http://chunk.io/f/2f7ec0286edf4b6fb0ec20e73819d50b.patch?lang=diff I only updated src/handlers.c and added one line to window_update_icon to trigger a redraw of the window title.

fishburn commented on 2016-04-30 01:41 (UTC)

@mickael9 Thanks! I had tried to get it working when 4.12 came out but I ended up with something that compiled fine but didn't show icons. I've added you as a contributor in the PKGBUILD.

mickael9 commented on 2016-04-30 00:54 (UTC)

Hi I have made an updated patch for current i3 (4.12) See my fork here: https://github.com/mickael9/i3/tree/window-icons Patch here: https://github.com/mickael9/i3-extras/blob/patch-1/window-icons/window-icons.patch

amar commented on 2014-06-27 15:13 (UTC)

@Dagwil I've managed to make it work and it ended up only being ~20 lines of code in handlers.c (if anybody needs this, email me for a patch). I agree though; I'm using uzbl for general surfing but have a command that will launch the page I'm on in Chrome if I need it (+ Vimium) which end up being quite often.

Dagwil commented on 2014-06-27 03:24 (UTC)

Unfortunately not. I wanted it mostly for uzbl web browser, but I got disappointed with it after various performance and reliability issues. Since I'm just using firefox and chrome now the current icon patch handles my needs.

fishburn commented on 2014-06-22 15:53 (UTC)

@mebubo Thanks, I made the fix. Since that file didn't make it into the package the pkgrel is unchanged.

mebubo commented on 2014-06-20 09:04 (UTC)

The iconsupport.patch erroneously includes the following hunk: diff -rupN i3-4.8-original/src/x.c.rej i3-4.8-patched/src/x.c.rej --- i3-4.8-original/src/x.c.rej 1969-12-31 19:00:00.000000000 -0500 +++ i3-4.8-patched/src/x.c.rej 2014-06-16 08:18:43.273744646 -0400 [...]

Dagwil commented on 2014-02-27 02:44 (UTC)

Oh sorry, I must have assumed that was a copyright notice and skipped over it. Thanks for the pointer, I'll send him an email.

fishburn commented on 2014-02-26 14:59 (UTC)

@Dagwil Sorry, I really have no idea how to do that. I didn't write the patch, but the email of the original patch contributor can be found in the 2nd line of the PKGBUILD.

Dagwil commented on 2014-02-26 06:05 (UTC)

Thanks for the patch, it greatly improves my i3 for me. I've been using uzbl with the script below to fetch favicons and set the NET_WM_ICON property (I presume) to set the i3 icon for a web browser window. It works, which is great, but only after restarting i3 (by pressing mod+shift+r). If I have 10 or more windows it becomes worth it just for the ease of finding windows quickly but I'd prefer it if I didn't have to manually restart i3 after a window has loaded. I'm guessing your patch only reads the icon property once at the start and not every time it's changed. Do you have any ideas as to how to make i3 aware that the NET_WM_ICON property has changed? http://www.uzbl.org/wiki/favicon