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
Currently, whenever Eww resources (e.g., yuck, scss, etc.) are updated, the windows reload, and all dynamic content rendered previously is lost.
Example:
When toggling dark mode (which updates scss), my list of notifications is cleared. These notifications are rendered using a deflisten variable. While switching to defpoll could bypass this issue, it’s not an ideal solution due to potential performance and design concerns.
Suggested Solutions:
Introduce :initial with CLI/Method Support:
Allow :initial attributes to access the results of CLI methods or other attributes dynamically.
I'm seeking a clean and efficient approach to handle this scenario and would appreciate any solutions or improvements.
Description of the requested feature
Issue:
Currently, whenever Eww resources (e.g., yuck, scss, etc.) are updated, the windows reload, and all dynamic content rendered previously is lost.
Example:
When toggling dark mode (which updates scss), my list of notifications is cleared. These notifications are rendered using a
deflisten
variable. While switching todefpoll
could bypass this issue, it’s not an ideal solution due to potential performance and design concerns.Suggested Solutions:
Introduce
:initial
with CLI/Method Support:Allow
:initial
attributes to access the results of CLI methods or other attributes dynamically.I'm seeking a clean and efficient approach to handle this scenario and would appreciate any solutions or improvements.
Proposed configuration syntax
No response
Additional context
;; (deflisten notifications :other_initial "cat
/.cache/notifications.json" "/.config/eww/scripts/notictl.sh listen -total")(defpoll notifications :initial '{"count": 0, "notifications": [], "popups": []}' :interval "1s" "cat ~/.cache/notifications.json")``
The text was updated successfully, but these errors were encountered: