Skip to content

Introduction of a protocol for the Custom Command widget in lxqt-panel #2304

@Reiddragon

Description

@Reiddragon

Is your feature request related to a problem? Please describe.
Currently, the Custom Command widget requires that the command exits after each update, and the update must be either text or an icon sent over stdio.

Describe the solution you'd like
My proposed changes are the following:

  • Allow commands to keep running and send updates as needed.
  • Introduce some kind of protocol for sending updates.
  • Allow the command to send both an icon and text, where the icon may be either an icon class name to be fetched from the theme, or binary image data as is currently allowed.
Context

Having written a couple programs to run as backends for the Custom Command widget, I found the current behaviour to be rather limiting. This proposal is largely inspired by the i3bar-protocol as I've worked with it in the past and found it quite flexible (but of course, in the case of an LXQt widget protocol it would only be for individual blocks, not an entire status generator).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions