diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-22 15:43:38 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-22 15:43:38 +0200 |
commit | 1985d3e768346ea17645c308296f056b0ebe6414 (patch) | |
tree | d7324d0903843883452e29effbfff2386894d39f | |
parent | 32afed113eac536c7c2a671e803e9891b4898561 (diff) |
osel: Add ‘osel’ to create option selection menus
-rwxr-xr-x | .local/bin/osel | 5 |
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 |