From d00bf2cb2d5087164fa509a4f20a2be62a519044 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:18 +0100 Subject: refactor: restructure to chezmoi source state Rename home/ contents to chezmoi naming conventions: - dot_ prefix for dotfiles and dot-dirs - private_dot_ for .gnupg and .ssh directories - private_ for 0600 files (nym.pub) - executable_ for scripts in .local/bin and display-toggle.sh - symlink_ for mimeapps.list symlink --- dot_local/bin/executable_togreta | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 dot_local/bin/executable_togreta (limited to 'dot_local/bin/executable_togreta') diff --git a/dot_local/bin/executable_togreta b/dot_local/bin/executable_togreta new file mode 100755 index 0000000..d452a2e --- /dev/null +++ b/dot_local/bin/executable_togreta @@ -0,0 +1,14 @@ +#!/usr/bin/env sh + +if [ -z "$1" ]; then + url=$(wl-paste) +elif [ "$1" = "-" ]; then + read -r url +else + url="$1" +fi + +# shellcheck disable=SC2029 +ssh greta.wg restream toggle "$url" + +tokodi /storage/videos/greta.strm -- cgit v1.2.3-70-g09d2