Pretty funny what Google AI says about the slang word "keff":

"Keff" is a Swedish slang word that generally means "bad," "crappy," or "uncool." It's used as an adjective and can be applied to anything considered undesirable or of poor quality. Interestingly, the word has its roots in Arabic, where it has a positive meaning related to goodness or fun. This inversion of meaning is similar to other slang terms that have developed in different contexts.

#keff

@henriksundstrom Do you know which arabic word or how it would be used in a positive sense?
I just know
كف
Which means the palm of the hand and is used in the phrase 'slap you in the face' = give you a kaff'

@MariaTomczak Sorry, I have no idea.

I asked Google AI and here's the response:

@henriksundstrom Ah thats actually two different words alltogether with different pronounciations. Keff or kaff - palm of the hand and kayf, kiif.🙂
@MariaTomczak Ok, that's interesting.
Are they somehow related to keffiyeh?
@henriksundstrom No 😄 they are not. The arabic language is based on 'roots' which is usually three consonants. Then you add suffixes, infixes and prefixes to create words with related meaning. The root for kaff is KFF, for keyf is KYF and for kufeyah its KWF. An example MDN; medina (city) madani (civilian)