This functionality belongs in updatemons(), where it can hopefully be written a bit more elegantly.
YLGDJZL6AA4C63VNGO56QBK5I36CAV6A7PJPQCS6MV3HFPU6YGZAC 44AKDAXYTFUZ2QJZKSYVECXBQRZGEALGW26TTWU22QOR56XQ5A7QC BFWKVWAIUKHCZVRA62GW6QZUEUKQLW365HUWIVKTEIPJNJSOZBAQC NLOBELMSKHUSKSMPZ2QSDVIOJRGWV7HNXNIKZ55TMUCH7DI73TAAC 7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC 22AOV53ZPZKPZPJGHYOLNJYTUNQEB55NXSDW3HNFXD4IX4KXGHTAC IWSIO23DR44ZS2MBV66XNR2MIDID2KUNBRUTCEQRE4P5OMVZHSNAC } else if (wl_list_length(&mons) > 1) {Monitor *m;wl_list_for_each(m, &mons, link) {if (m->wlr_output->name == wlr_output->name) {// focus the left monitor (relative to the current focus)m->wlr_output->enabled = !m->wlr_output->enabled;focusmon(&(Arg) {.i = -1});closemon(m);m->wlr_output->enabled = !m->wlr_output->enabled;}}