8000 Question: is running a secondary command when clicking a button with an interval possible? · Issue #481 · vivien/i3blocks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Question: is running a secondary command when clicking a button with an interval possible? #481
Open
@SirFireball3521

Description

@SirFireball3521

I'd like to set up a block which updates its text every second, but also does something else when clicked. Is this possible? I don't see anything in the documentation, or in the issues (although I might've missed it there). Something like this:

[testblock]
command=./repeatingscript
interval=1
onclick_command=./onclickscript

where repeatingscript would run every second, and onclickscript would run when clicked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0