aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/newsboat/config2
-rw-r--r--crontab/root.crontab2
-rw-r--r--crontab/user.crontab9
-rwxr-xr-xinstall2
4 files changed, 9 insertions, 6 deletions
diff --git a/config/newsboat/config b/config/newsboat/config
index f3ef9e1..824bca2 100644
--- a/config/newsboat/config
+++ b/config/newsboat/config
@@ -1,5 +1,5 @@
# auto-reload yes # reload feeds at startup
-reload-threads 64
+reload-threads 32
max-items 100
# pager less
diff --git a/crontab/root.crontab b/crontab/root.crontab
index ada8721..48cb3ab 100644
--- a/crontab/root.crontab
+++ b/crontab/root.crontab
@@ -1,5 +1,5 @@
# Meant to be installed as root
-* * */2 * * pacman --noconfirm -Syu >> /var/log/pacman_update.log
+0 12 */2 * * pacman --noconfirm -Syu >> /var/log/pacman_update.log
# vim:ft=crontab
diff --git a/crontab/user.crontab b/crontab/user.crontab
index 290a53d..69bee64 100644
--- a/crontab/user.crontab
+++ b/crontab/user.crontab
@@ -1,7 +1,10 @@
# . $HOME/.zprofile is to make sure the XDG_* variables are available to the jobs
-* * */1 * * . $HOME/.zprofile ; clout pull
-* * */1 * * . $HOME/.zprofile ; newsboat -x reload
-* * */15 * * . $HOME/.zprofile ; qutebrowser --nowindow :adblock-update
+# DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u $USER)/bus"
+# DISPLAY=:0
+
+0 9 */1 * * . $HOME/.zprofile ; clout pull
+2 9 */1 * * . $HOME/.zprofile ; DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u $USER)/bus" DISPLAY=:0 newsboat -x reload
+4 9 */15 * * . $HOME/.zprofile ; DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u $USER)/bus" DISPLAY=:0 qutebrowser --nowindow :adblock-update
# vim:ft=crontab
diff --git a/install b/install
index 825bfac..2c6ee73 100755
--- a/install
+++ b/install
@@ -103,7 +103,7 @@ echo 'INFO: Run this script as root if you want to install the root contab'
# dictionaties
###############################################################################
-echo '---------------------------- INSTALL CRONTAB -----------------------------'
+echo '---------------------------- INSTALL DICTIONARY --------------------------'
install_dict() {
url="$1"
archive_name="$(basename "$url")"