Getting a window properties using gjs like WM_CLASS

Hi

I am trying to access the windows props without using xprop.

Something similar to meta_window.get_wm_class().

What I am doing currently is using xprop to get specific window property.

let cmd = GLib.spawn_command_line_sync(`xprop _SPECIFIC_PROP -id ${idx}`)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.