summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/osel5
1 files changed, 5 insertions, 0 deletions
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