[Waybar] Fix pacman module (again)

This commit is contained in:
2022-10-25 15:34:48 +02:00
committed by Pierre Jeanjean
parent 1a60adb7e2
commit b139567065

View File

@@ -59,7 +59,9 @@ def generate_and_update_database():
def check_updates(important_regex): def check_updates(important_regex):
p = subprocess.run(['yay', p = subprocess.run(['yay',
'-Qu', '-Qu',
'--devel'], '--devel',
'--dbpath',
PACMAN_UPDATES_DB],
capture_output=True) capture_output=True)
packages = p.stdout.decode('utf-8') packages = p.stdout.decode('utf-8')