Question: is running a secondary command when clicking a button with an interval possible? · Issue #481 · vivien/i3blocks · GitHub
More Web Proxy on the site http://driver.im/
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
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:
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:
where
repeatingscript
would run every second, andonclickscript
would run when clicked.The text was updated successfully, but these errors were encountered:
This is not supported natively, but you can get away with some script that can be used to trigger both of these scripts. Like this
masterscript.sh
looks like this