#!/usr/bin/env sh case "$XDG_CURRENT_DESKTOP" in sway) swaymsg output DP-3 disable swaymsg output DP-4 disable swaymsg output HDMI-A-2 enable ;; niri) niri msg output DP-3 off niri msg output DP-4 off niri msg output HDMI-A-2 on ;; esac ssh strawberrypi cec-ctl --playback --to 0 --active-source phys-addr=1.0.0.0 --image-view-on