X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=obs-i3-interlude;h=03636da3c266283d58afc20f2b76d8a7698d56e2;hb=refs%2Fheads%2Fmaster;hp=303dec16e3465b269838c69df2f6431ea5440aa1;hpb=d67edcdca8795a4bca116aa532d02dda246a6f53;p=distro-setup diff --git a/obs-i3-interlude b/obs-i3-interlude deleted file mode 100755 index 303dec1..0000000 --- a/obs-i3-interlude +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -set -e; . /usr/local/lib/bash-bear; set +e - -if [[ -e /tmp/no-obs-auto-scene-switch ]]; then - rm -f /tmp/no-obs-auto-scene-switch - if [[ -s /tmp/last-obs-i3-mark ]]; then - p=$(cat /p/obs-ws-pass) - mark=$(cat /tmp/last-obs-i3-mark) - obs-cmd -w obsws://localhost:4455/$p scene switch $mark - fi -else - touch /tmp/no-obs-auto-scene-switch - obs-cmd -w obsws://localhost:4455/$p scene switch interlude -fi