function setscreenb --argument-names x for i in (ddcutil detect | rg Display | sed -r "s/^Display (\d*)/$1/") ddcutil setvcp 10 $x -d $i end end