diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2024-08-22 18:42:26 -0700 | 
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2024-08-22 18:42:26 -0700 | 
| commit | c3ddbdadadf34c6aa44670d4ee46fb2f5a0fbad3 (patch) | |
| tree | d9cc4bd28f3173207ea76e165f95b1e28dd47da7 /sh/mpvy | |
| parent | 6699787dfaf5d9c35f9f51d94255b9710032d687 (diff) | |
dwm hotkey use -u for tsp mpvy so tsp can show url, so here maybe not assign clipboard to url at first
Diffstat (limited to 'sh/mpvy')
| -rwxr-xr-x | sh/mpvy | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -9,7 +9,7 @@ cookie=  download_dir=  fps=30  height=$SCR_HEIGHT -url="$(xsel -ob)" +url=  cookie_ytdl=  cookie_mpv= @@ -28,6 +28,9 @@ while getopts Aabcd:f:h:su: opt; do  		\?) exit 1;;  	esac  done + +[ "$url" ] || url="$(xsel -ob)" +  if [ -z "$format" ]; then  	# xyzstudio GPU  	#vformat="[height<=?$height][fps<=?$fps][vcodec!^=?vp9][vcodec!^=?av01]" | 
