summaryrefslogtreecommitdiff
path: root/lcl-edit
diff options
context:
space:
mode:
authorLM-LCL <hello@exaltedelite.club>2024-11-20 09:49:04 +0100
committerLM-LCL <hello@exaltedelite.club>2024-11-20 09:49:04 +0100
commit30d147d7b1693ed2695a80e5ef9a04f2a47aa3d3 (patch)
treee0cc67c7a95b6ae2e59a97a102f2c8b4746ae7cb /lcl-edit
parentb3ba749406e2591493813090c3186dfd9b8f9953 (diff)
Rofi
Diffstat (limited to 'lcl-edit')
-rwxr-xr-xlcl-edit4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcl-edit b/lcl-edit
index 739932e..efe0caa 100755
--- a/lcl-edit
+++ b/lcl-edit
@@ -1,7 +1,7 @@
#! /bin/zsh
filepath="$(find ~/Archive -type d \( -name node_modules -o -name .git \) -prune -o \
- -type f -name '*' -print | dmenu -i -l 15 -p 'Search File')"
+ -type f -name '*' -print | rofi -dmenu -i)"
[ ! -f "$filepath" ] && exit 1
CHOICES=('[Video]Strip' \
@@ -19,7 +19,7 @@ CHOICES=('[Video]Strip' \
[ ! -z "$1" ] && selected="$1" \
|| selected="$(echo "${CHOICES[@]}" | tr ' ' '\n' \
- | dmenu -i -l 15 -p 'Select Edit')"
+ | rofi -dmenu -i)"
filename="$(basename "$filepath")"