2024-09-02

  • Turning off laptop screen when external monitor is connected using xrandr, running xrandr will output the displays
xrandr --output eDP-1 --off

Will turn off the laptop screen which is named eDP-1.