From 98a74f62792dff2de2ef65c698c43d1c5f2ef469 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Thu, 3 Sep 2020 11:23:42 +0200 Subject: [PATCH] fix: move archlinux-check-updates to cronjob --- .config/polybar/custom.ini | 4 ++-- .../bin/archlinux-check-updates | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename .config/polybar/scripts/check-arch-updates.sh => .local/bin/archlinux-check-updates (100%) diff --git a/.config/polybar/custom.ini b/.config/polybar/custom.ini index 0c9ff11..aca64ef 100644 --- a/.config/polybar/custom.ini +++ b/.config/polybar/custom.ini @@ -12,8 +12,8 @@ [module/check-arch-updates] type = custom/script - exec = $HOME/.config/polybar/scripts/check-arch-updates.sh - interval = 300 + exec = cat $HOME/.cache/archlinux-updates.txt + interval = 30 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} diff --git a/.config/polybar/scripts/check-arch-updates.sh b/.local/bin/archlinux-check-updates similarity index 100% rename from .config/polybar/scripts/check-arch-updates.sh rename to .local/bin/archlinux-check-updates