diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-12-23 18:11:42 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-12-23 18:11:42 +0800 |
| commit | a480e3fcf165f2c201b9349573669d9698da42fe (patch) | |
| tree | 297babf846d038084c4ece56881770ae172e04f7 /alias | |
| parent | 2c7ae3439e9dd14585c0d6222c731d8e308d535f (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -329,6 +329,18 @@ image.from_data_url() { | |||
| 329 | xsel -ob | sed -E 's/^.+,//' | base64 -d >$1 | 329 | xsel -ob | sed -E 's/^.+,//' | base64 -d >$1 |
| 330 | identify $1 | 330 | identify $1 |
| 331 | } | 331 | } |
| 332 | image.text() { | ||
| 333 | convert \ | ||
| 334 | -size 230x130 \ | ||
| 335 | -background lightblue \ | ||
| 336 | -font Noto-Sans-Bold \ | ||
| 337 | -pointsize 25 \ | ||
| 338 | -fill black \ | ||
| 339 | -gravity NorthWest \ | ||
| 340 | caption:"foo" \ | ||
| 341 | -flatten \ | ||
| 342 | caption1.jpge | ||
| 343 | } | ||
| 332 | 344 | ||
| 333 | # thunderbird | 345 | # thunderbird |
| 334 | alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' | 346 | alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' |