summaryrefslogtreecommitdiffstats
path: root/.local/bin/epub_lander
blob: 317964985258b02709a5e2f75693f6bbee736473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

mv $HOME/down/*.epub $HOME/docs/epub_landing/

if [[ $? -ne 1 ]]; then
    notify-send "Moved some epubs" "" --app-name="epub_lander" --icon="emblem_success"
fi

mv $HOME/down/*.pdf $HOME/docs/pdf_landing/

if [[ $? -ne 1 ]]; then
    notify-send "Moved some pdfs" "" --app-name="epub_lander" --icon="emblem_success"
fi