Browse Source

polybar, newsboat, cron: проверка RSS без cron

Maxim Likhachev 5 years ago
parent
commit
bff9fab6fc
  1. 5
      etc/cron/crontab
  2. 4
      etc/soft/polybar/config

5
etc/cron/crontab

@ -1,6 +1,6 @@
# crontab # crontab
# #
# Изменён: Ср 19 фев 2020 18:26:38 # Изменён: Ср 19 фев 2020 19:44:47
# #
# MIN HOUR DAY MONTH DAYOFWEEK COMMAND # MIN HOUR DAY MONTH DAYOFWEEK COMMAND
@ -8,9 +8,6 @@
# Проверка почты # Проверка почты
*/10 * * * * ~/.shellrc/bin/scripts/checkmail */10 * * * * ~/.shellrc/bin/scripts/checkmail
# Обновление RSS
*/30 * * * * /usr/bin/newsboat -x reload
# Удаление файлов, к которым не обращались дольше трёх месяцев # Удаление файлов, к которым не обращались дольше трёх месяцев
* * */10 * * ~/.shellrc/bin/exec/delolder 90 ~/.shellrc/var/vim/ * * */10 * * ~/.shellrc/bin/exec/delolder 90 ~/.shellrc/var/vim/

4
etc/soft/polybar/config

@ -129,8 +129,8 @@ format-foreground = ${colors.alert}
[module/rss] [module/rss]
type = custom/script type = custom/script
exec = newsboat -x print-unread | awk '{ print $1 }' exec = newsboat -x reload; newsboat -x print-unread | awk '{ print $1 }'
interval = 120 interval = 1200
format-prefix = " " format-prefix = " "
format-underline = ${colors.yellow} format-underline = ${colors.yellow}

Loading…
Cancel
Save