yambar/modules
Daniel Eklöf 9675b86478
module/i3: window event: use 'app_id' for 'application', if available
We previously used the 'pid' property of the 'container' object in a
window event to lookup the application name under /proc/<pid>/comm.

In many cases, the application name is already available in the window
event itself, in the 'app_id' property.

Use this, if available, and fallback to the old PID method otherwise.

A quick experiment suggests 'app_id' is set for all Wayland native
applications, but not for X11 applications running under XWayland.
2020-01-24 21:23:21 +01:00
..
alsa.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
backlight.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
battery.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
clock.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
i3-common.c modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-common.h modules/sway-xkb: new module, uses sway 'input' events to expose kbd layout 2019-08-14 21:51:43 +02:00
i3-ipc.h module/i3: use our own copy of i3/ipc.h 2019-03-31 12:08:44 +02:00
i3.c module/i3: window event: use 'app_id' for 'application', if available 2020-01-24 21:23:21 +01:00
label.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
meson.build meson: add 'fcft' dependency to decorations and modules 2019-12-01 18:02:23 +01:00
mpd.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
network.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
removables.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
sway_xkb.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
xkb.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00
xwindow.c modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS 2020-01-24 21:08:39 +01:00