Show a widget only if condition is true #692
-
Hello, I want to add a widget that shows a battery icon in a bar made with eww. But that the informative icon is only shown if it is a laptop. I already have the script to get the battery values, but how can I implement it to be functional only if the condition that the hardware uses a battery is met in the eww code. It's possible? This is the script baterry.sh
And this is the eww battery code.
|
Beta Was this translation helpful? Give feedback.
Answered by
viandoxdev
Feb 22, 2023
Replies: 1 comment
-
see #517 (comments) Also, take a look at the eww documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
elkowar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see #517 (comments)
Also, take a look at the eww documentation.