From fc43b107317f0fb3a79ac334b11f10659a03ca5c Mon Sep 17 00:00:00 2001 From: Michael Hoess Date: Wed, 28 Feb 2024 21:25:48 +0100 Subject: [PATCH] add osc52.sh --- profile.d/osc52.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 profile.d/osc52.sh diff --git a/profile.d/osc52.sh b/profile.d/osc52.sh new file mode 100644 index 0000000..0f15d4b --- /dev/null +++ b/profile.d/osc52.sh @@ -0,0 +1,8 @@ +# source into your bash (e.g .bashrc) + +function osc52 { + printf "\033]52;c;$(cat $* | base64)\a" + echo "Copied to clipboard" +} + +