In English, if someone was treating me badly, I might say "he is being mean to me," or "he is being an as*****."
I tried translating it to Spanish in multiple ways;
Él está siendo un cabrón.
Él está actuando como un cabrón.
Neither of these sound right to me, and no matter how hard I try, I can't seem to come up with something much better without saying something with too different a meaning.
Similar sentences might be: "He was being really nice to me," or "You're not being nice to me."
So, how should this kind of thing be said in Spanish? Is there a better way or are those translations okay?