From 1985d3e768346ea17645c308296f056b0ebe6414 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 22 Aug 2023 15:43:38 +0200 Subject: osel: Add ‘osel’ to create option selection menus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/bin/osel | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/osel (limited to '.local/bin/osel') diff --git a/.local/bin/osel b/.local/bin/osel new file mode 100755 index 0000000..7087dc3 --- /dev/null +++ b/.local/bin/osel @@ -0,0 +1,5 @@ +#!/bin/sh + +: ${OSEL_GUI:=wofi -d} +: ${OSEL_TERM:=fzf} +if [ -t 2 ]; then $OSEL_TERM; else $OSEL_GUI; fi -- cgit v1.2.3