From c4d0e3de7ad04114797abb14368e4a6f8da04a60 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 8 May 2026 23:55:30 +0200 Subject: Updates from alpine --- scripts/unused/popup-cal3 | 6 ++++++ scripts/unused/xedit | 9 +++++++++ scripts/unused/xedit-filter | 9 +++++++++ 3 files changed, 24 insertions(+) create mode 100755 scripts/unused/popup-cal3 create mode 100755 scripts/unused/xedit create mode 100755 scripts/unused/xedit-filter (limited to 'scripts/unused') diff --git a/scripts/unused/popup-cal3 b/scripts/unused/popup-cal3 new file mode 100755 index 0000000..6dfed54 --- /dev/null +++ b/scripts/unused/popup-cal3 @@ -0,0 +1,6 @@ +#!/bin/sh + +# Popup terminal displaying cal -3 +# Requires: st (suckless terminal) + +st -T "stfloat" -g 68x11+620+450 -e sh -c 'cal -3; read x' diff --git a/scripts/unused/xedit b/scripts/unused/xedit new file mode 100755 index 0000000..3f68f24 --- /dev/null +++ b/scripts/unused/xedit @@ -0,0 +1,9 @@ +#!/bin/sh + +# My X editor +# Requires: terminal + +editor=${EDITOR:-${VISUAL:-vi}} +xed=${XEDIT:-"terminal "$editor""} + +$xed "$@" diff --git a/scripts/unused/xedit-filter b/scripts/unused/xedit-filter new file mode 100755 index 0000000..7caf12c --- /dev/null +++ b/scripts/unused/xedit-filter @@ -0,0 +1,9 @@ +#!/bin/sh + +# Open stdin in a text editor and sends modified selection to stdout +# Requires: xedit + +f=$(mktemp) +cat > "$f" +xedit "$f" && cat "$f" + -- cgit v1.3