summary refs log tree commit diff
path: root/bin/mnts
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-02-23 13:29:45 +0100
committerRobert Günzler <r@gnzler.io>2021-04-26 02:09:45 +0200
commit3085bc77b3f1fcc31259997a30be306a4d80f6bc (patch)
treec0ee9e33f0ea1be49d1b89806d5c199d8b308c5b /bin/mnts
parente44c7474fe06bcc7bd5f9a9fea90b3917a4b1573 (diff)
bin/menu: pass bemenu options globally through env var
Diffstat (limited to 'bin/mnts')
-rwxr-xr-xbin/mnts4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mnts b/bin/mnts
index cb1093c..817d372 100755
--- a/bin/mnts
+++ b/bin/mnts
@@ -14,7 +14,7 @@ for app in awk jq lsblk notify-send udisksctl; do
 	fi
 done
 
-export MENU_PROMPT="mnts"
+export MENU_PROMPT="󰕓 mnts"
 
 handle() {
 	line=$(awk '{print $0}')
@@ -36,5 +36,5 @@ handle() {
 lsblk -fJ \
 	| jq -r '.. | select(.uuid?!="" and .name?) | select((.name | test("hibiki|nvme") | not) and .fstype?) | [ .name, .label, .mountpoint // "" ] | @tsv' \
 	| awk -F'\t' '{printf "/dev/%-10s\t%-15s\t%s\n", $1, $2, $3;}' \
-	| menu \
+	| menu --list=8 \
 	| handle