create epub2pdf conversion fn(x)
This commit is contained in:
parent
56702d74f7
commit
061b1e4672
@ -255,6 +255,12 @@ function mouse() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Conversion
|
||||||
|
function epub2pdf() {
|
||||||
|
local epub_file_name=$(echo $1 | sed 's/.epub$/.pdf/')
|
||||||
|
ebook-convert "$1" "$epub_file_name"
|
||||||
|
}
|
||||||
|
|
||||||
# Information gathering
|
# Information gathering
|
||||||
function meteo() {
|
function meteo() {
|
||||||
curl "fr.wttr.in/$*"
|
curl "fr.wttr.in/$*"
|
||||||
|
Loading…
Reference in New Issue
Block a user