summaryrefslogtreecommitdiff
path: root/scripts/unused
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-05-08 23:55:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-05-08 23:55:30 +0200
commitc4d0e3de7ad04114797abb14368e4a6f8da04a60 (patch)
tree5ef72a5dfb5f6b1b15c1c3ac3e2e876bb9398ed2 /scripts/unused
parent453436ee53cd9935473cf1944dd072281d69a99f (diff)
downloadconfig-c4d0e3de7ad04114797abb14368e4a6f8da04a60.tar.gz
config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.zip
Updates from alpine
Diffstat (limited to 'scripts/unused')
-rwxr-xr-xscripts/unused/popup-cal36
-rwxr-xr-xscripts/unused/xedit9
-rwxr-xr-xscripts/unused/xedit-filter9
3 files changed, 24 insertions, 0 deletions
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 @@
1#!/bin/sh
2
3# Popup terminal displaying cal -3
4# Requires: st (suckless terminal)
5
6st -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 @@
1#!/bin/sh
2
3# My X editor
4# Requires: terminal
5
6editor=${EDITOR:-${VISUAL:-vi}}
7xed=${XEDIT:-"terminal "$editor""}
8
9$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 @@
1#!/bin/sh
2
3# Open stdin in a text editor and sends modified selection to stdout
4# Requires: xedit
5
6f=$(mktemp)
7cat > "$f"
8xedit "$f" && cat "$f"
9

Generated with cgit - Back to sebastiano.tronto.net