diff options
Diffstat (limited to '.local/bin/epub_lander')
-rwxr-xr-x | .local/bin/epub_lander | 4 |
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: | ||
4 | export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus | ||
5 | export DISPLAY=:0.0 | ||
6 | |||
3 | mv $HOME/down/*.epub $HOME/docs/epub_landing/ | 7 | mv $HOME/down/*.epub $HOME/docs/epub_landing/ |
4 | 8 | ||
5 | if [[ $? -ne 1 ]]; then | 9 | if [[ $? -ne 1 ]]; then |