From c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 31 Aug 2024 14:21:28 -0400 Subject: A few more updates from anahita --- .local/bin/b-prompt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .local/bin/b-prompt (limited to '.local/bin/b-prompt') diff --git a/.local/bin/b-prompt b/.local/bin/b-prompt new file mode 100755 index 0000000..2f98e59 --- /dev/null +++ b/.local/bin/b-prompt @@ -0,0 +1,12 @@ +#!/bin/sh + +# $1: newline-separated choices +# $2: prompt string + +if [ "$WAYLAND_DISPLAY" ]; then + menu_font='Source Code Pro Medium 10.5' + printf "$1" | wmenu -i -p "$2" -f "$menu_font" +else + menu_font='Source Code Pro Medium-10.5' + printf "$1" | dmenu -i -p "$2" -fn "$menu_font" +fi -- cgit v1.2.3-60-g2f50