z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb Heuertantal: Update TV scripts to work on niri or swayd70cf02

tangere
250 B12 linesraw
1#!/bin/sh
2
3ssh strawberrypi cec-ctl --playback --to 0 --active-source phys-addr=1.0.0.0 --image-view-on
4
5case "$XDG_CURRENT_DESKTOP" in
6    sway)
7        swaymsg output HDMI-A-2 enable
8    ;;
9    niri)
10        niri msg output HDMI-A-2 on
11    ;;
12esac