summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-18 15:16:13 +0300
committerYigit Sever2021-10-18 15:16:13 +0300
commit764f9cf6225b939050b2d8e70a87ef856aba22bb (patch)
tree9ee46b4171b9a6c82190caf05993e3e32c29329f
parent164716ab59e0defe7a603b74d98a1b3ab47af612 (diff)
downloaddotfiles-764f9cf6225b939050b2d8e70a87ef856aba22bb.tar.gz
dotfiles-764f9cf6225b939050b2d8e70a87ef856aba22bb.tar.bz2
dotfiles-764f9cf6225b939050b2d8e70a87ef856aba22bb.zip
epub_lander: maybe notify \w cron
-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