Thinking About Shu 葉舒華 / 예슈화 / Yeh Shuhua

Browsers and Extentions

Programs

macro d set external-url-viewer "awk '/(image|video)\)$/ { print $2 }' | tac | xargs $BROWSER" ; show-urls ; set external-url-viewer&

macro V set external-url-viewer "mpv \"$(awk '/^Link:/ { print $2; exit }')\"" ; show-urls ; set external-url-viewer&

Scripts

Example usage for the biird and naver scripts

/tmp % biird https://twitter.com/SHU_MYWAY/status/1374179089708376064
/tmp/ExG8mw3VgAMWBtJ.jpg
/tmp/ExG8mw_VEAAbEy_.jpg
/tmp % naver 'https://m.post.naver.com/viewer/postView.nhn?volumeNo=27072398&memberNo=38791383'
/tmp/IMG_2093.jpg
/tmp/IMG_2094.jpg
/tmp/IMG_2075.jpg
/tmp/IMG_2061.jpg

Shu