From db54baf1b9a0b967ba8e35edf3876308febed37b Mon Sep 17 00:00:00 2001 From: "Lockszmith (@kateryna)" Date: Tue, 24 Dec 2024 15:53:37 -0500 Subject: [PATCH] add osc (ANSI OSC52 clipboard escape sequence) --- _home/.chezmoiexternal.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_home/.chezmoiexternal.yaml b/_home/.chezmoiexternal.yaml index 9f0adc3..0cb7e6c 100644 --- a/_home/.chezmoiexternal.yaml +++ b/_home/.chezmoiexternal.yaml @@ -64,6 +64,18 @@ {{- end -}} {{- end }} +{{- with $repo := "theimpostor/osc" -}} +{{- with $version := (gitHubLatestRelease $repo).GetTagName -}} +{{- $_ := set $externals ".local/bin/osc" (dict + "type" "archive-file" + "url" (printf "https://github.com/%s/releases/download/%s/osc_linux_x86_64.tar.gz" $repo $version) + "path" "osc" + "executable" true + "refreshPeriod" $defaultRefresh +) -}} +{{- end -}} +{{- end }} + {{- $externals | toYaml }} ".config/sz.env/lib/ble.sh.curl": type: "archive"