You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An X client can set arbitrary properties on itself which are communicated to the X server and intercepted by the window manager.
For custom properties it is necessary to create the property using the InternAtom function and then the property can be set by the client using ChangeProperty.
The awesome lua API can be used to subscribe to property changes:
To be notified when a property of a client changed:
client.connect_signal("property::name", function(c)
-- do something
end)
To be notified when a property of a specific client c changed:
c:connect_signal("property::name", function()
-- do something
end)
The plan is to let fread application change the update method for both their entire region but also for sub-regions and to completely turn off updates and trigger them manually, but there might be a better method than setting properties for triggering the manual updates.
There should be a way for awesome to set this properties on the behalf of applications. That way app developers can bundle a file with the preferred options for their app that are then picked up by awesome (in case they don't want the app to actually deal with the e-paper display in a more dynamic manner). Folks could also share these files for existing applications from the debian repository to make them work as well as possible without modification.
An X client can set arbitrary properties on itself which are communicated to the X server and intercepted by the window manager.
For custom properties it is necessary to create the property using the
InternAtom
function and then the property can be set by the client using ChangeProperty.The awesome lua API can be used to subscribe to property changes:
To be notified when a property of a client changed:
To be notified when a property of a specific client c changed:
from the awesome lua api docs
The
xprop
utility can be used to inspect the current properties of a client.Here is a
node-x11
example of a client creating and setting a custom property:References
The text was updated successfully, but these errors were encountered: