Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exec runs after on-* events #1784

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ruanformigoni
Copy link

This is a fix for issue #1681. exec now runs after on-click, on-click-right, on-* events.

Test sample:

  "custom/camera": {
    "exec": "notify-send exec; echo exec",
    "interval": "once",
    "on-click": "notify-send on-click && sleep 5",
    "exec-on-event": true,
    "tooltip": false,
    "format": "{icon}",
    "format-icons": [""]
  },

on-click runs, and after 5 seconds exec runs.

@andresilva
Copy link
Contributor

andresilva commented May 9, 2024

Any reason not to merge this? It's quite useful to be able to use interval = once for some custom widgets and be assured of execution ordering regarding events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants