-
I'm making a bar and I have an icon that is displayed if I have any packages that can be updated. minimal example
I've defined a This means that unless the variable is updated, the icon will be display for upwards of 2 hours before disappearing. With
This refreshes the custom pacman module which has the Can I do something similar to that in eww to update the variable? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Does that not work ? eww update package-updates=0 |
Beta Was this translation helpful? Give feedback.
-
I've gotten it to work nicely with this pacman hook. This can probably be simplified or made more robust but it works great for now.
|
Beta Was this translation helpful? Give feedback.
I've gotten it to work nicely with this pacman hook.
runuser
seems to getXDG_CONFIG_HOME
but notXDG_RUNTIME_DIR
.This can probably be simplified or made more robust but it works great for now.