From 92252c19ca8f423fbe9a7e2bb1116f5c75bfe753 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 26 Dec 2016 00:25:39 -0500 Subject: [PATCH] os/arch: fix notify-send through cron --- os/arch/crontab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/arch/crontab b/os/arch/crontab index 74cfaa03..a814d356 100644 --- a/os/arch/crontab +++ b/os/arch/crontab @@ -10,5 +10,5 @@ # 0 * * * * ... # Lemonbar -0,30 * * * * ~/.config/panel/panel-notify :updates - */2 * * * * ~/.config/panel/panel-notify :mail +0,30 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :updates + */2 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ~/.config/panel/panel-notify :mail