diff options
Diffstat (limited to '.local/bin/epub_lander')
-rwxr-xr-x | .local/bin/epub_lander | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/epub_lander b/.local/bin/epub_lander new file mode 100755 index 0000000..3179649 --- /dev/null +++ b/.local/bin/epub_lander | |||
@@ -0,0 +1,14 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | mv $HOME/down/*.epub $HOME/docs/epub_landing/ | ||
4 | |||
5 | if [[ $? -ne 1 ]]; then | ||
6 | notify-send "Moved some epubs" "" --app-name="epub_lander" --icon="emblem_success" | ||
7 | fi | ||
8 | |||
9 | mv $HOME/down/*.pdf $HOME/docs/pdf_landing/ | ||
10 | |||
11 | if [[ $? -ne 1 ]]; then | ||
12 | notify-send "Moved some pdfs" "" --app-name="epub_lander" --icon="emblem_success" | ||
13 | fi | ||
14 | |||