summaryrefslogtreecommitdiffstats
path: root/.local/bin/epub_lander
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/epub_lander')
-rwxr-xr-x.local/bin/epub_lander4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/epub_lander b/.local/bin/epub_lander
index 3179649..801381a 100755
--- a/.local/bin/epub_lander
+++ b/.local/bin/epub_lander
@@ -1,5 +1,9 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2 2
3# Required to display notifications if run as a cronjob:
4export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
5export DISPLAY=:0.0
6
3mv $HOME/down/*.epub $HOME/docs/epub_landing/ 7mv $HOME/down/*.epub $HOME/docs/epub_landing/
4 8
5if [[ $? -ne 1 ]]; then 9if [[ $? -ne 1 ]]; then