diff options
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 &' |