z_mirror/dotfiles

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

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

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