Skip to content

custom/updates in waybar config: Auto hide and refresh after running installupdates.sh #936

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eratoriele
Copy link

I have added auto-hide to custom/updates when there are no packages to reduce amount of space taken up on the waybar.
I have also added pkill -RTMIN+1 waybar to the end of the installupdates.sh file so that the exec of this module is rerun immediately to refresh the output of the module.

One concern with this however is that this last change needs to set a signal and i chose to use signal 1. None of the other modules in this config use signals so this should be fine, however if a user wants to add their own module to this file and wants to use the signal 1 it may(?) cause a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant