-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
Lemonbuddy crashed on click of a custom script. #131
Comments
Can you post your full config |
Sure thing. This is a tiny script I wrote to indicate the status of dropbox
The commented echo is what crashes the bar, and I intended on making the click action on the icon one that triggers dropbox The module in my lemonbuddy config is as follows.
As a side note, I think the wiki should have something about clickable buttons, I am completely new to this so I am horrendously lost. |
You are missing the closing colon of the %{A} tag. The correct syntax is:
And also the foreground color reset should be:
You are right about the wiki. Input like this is really helpful since it's hard for me to know how it is for new users. |
Of course the invalid tags should not crash the bar so that will need to be fixed. |
I also want to add a hint about the button handlers available for the |
Now I've gone ahead and replaced the %{A} tags to the button handlers instead. Here is the code for it
The module in lemonbar's config file looks as follows
The bar still crashes on a click. |
I will test the script and get back to you |
Try to replace I don't know why the bar hangs, but I'll look into it. |
The whole script works fine as it is, dropbox launches accordingly, but the bar crashes and does not update any further. Thanks for looking into this |
I found a bug that caused the execution to be blocked while the sub process was running. Please verify. |
Whew! Works like a charm now! |
Great! Please report any other issues you encounter. |
Any chance you integrate this module ? |
@blackbart420 it's a |
I have a custom scrip as follows
[module/dropbox]
type = custom/script
exec = echo "%{A1:command}
script
%{A}"format-underline = #458588
interval=10
Clicking on this crashes lemonbuddy, after which killing it is the only option.
The text was updated successfully, but these errors were encountered: