Single monitor - Two Computers

I use a HDMI switch to share a monitor between multiple computers. I started with two (personal Mac and work Windows laptop), an HDMI switch, and a SwitchBot (as the HDMI switch is not within reach). I now have four computers connected to the HDMI switch, and the new switch has a remote so I no longer use the SwitchBot for this (I use two SwitchBots to turn on two old Mac minis tucked away under my desk).

Of course, this set up depends on your equipment having HDMI. HDMI switches are commonly available as they are used to connecting devices to TVs as well. Switches for other display connectors are not as common.

Some discussion in an earlier thread starting at this post:

I use two keyboards and mice, one set each for my personal and work machines. But I could use a single pair and switch between systems. Something to consider based on your use case and desktop space.

Good luck sorting things out.