From c6011c6fd66cb57f5a0318d6e49eb1f16918d856 Mon Sep 17 00:00:00 2001 From: q3aql Date: Thu, 14 Jul 2022 00:35:21 +0200 Subject: [PATCH] Set lines to 18 --- dmenu_cmd | 2 +- dmenu_drun | 2 +- dmenu_fbrun | 2 +- dmenu_run | 2 +- dmenu_themes | 3 +-- dmenu_wrun | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dmenu_cmd b/dmenu_cmd index dc257f5..657c1a2 100755 --- a/dmenu_cmd +++ b/dmenu_cmd @@ -30,5 +30,5 @@ function load_theme() { } load_theme -command_run=$(echo > /dev/null | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " command:") +command_run=$(echo > /dev/null | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " command:") ${command_run} diff --git a/dmenu_drun b/dmenu_drun index 60395c7..a4a7c52 100755 --- a/dmenu_drun +++ b/dmenu_drun @@ -93,7 +93,7 @@ fi load_theme create_list_files -list_output=$(list_desktop_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " drun:") +list_output=$(list_desktop_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " drun:") run_output=$(echo ${list_output} | cut -c 5-999) if [ "${run_output}" == "Scan New Desktop Files" ] ; then echo "0" > ${HOME}/.dmenu/read_list diff --git a/dmenu_fbrun b/dmenu_fbrun index 4b582b8..29125f5 100755 --- a/dmenu_fbrun +++ b/dmenu_fbrun @@ -66,7 +66,7 @@ function remove_icon() { load_theme file=1 while [ "${file}" ]; do - file_icon=$(show_icon_tree | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " filebrowser: $(basename $(pwd))") + file_icon=$(show_icon_tree | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " filebrowser: $(basename $(pwd))") file=$(remove_icon "${file_icon}") echo "# ${file} #" if [ -e "${file}" ]; then diff --git a/dmenu_run b/dmenu_run index 4581eaa..64942ad 100755 --- a/dmenu_run +++ b/dmenu_run @@ -56,6 +56,6 @@ function list_binaries_icons() { } load_theme -list_output=$(list_binaries_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " run:") +list_output=$(list_binaries_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " run:") run_output=$(echo "${list_output}" | cut -c4-999) ${run_output} diff --git a/dmenu_themes b/dmenu_themes index 5868700..fe499e3 100755 --- a/dmenu_themes +++ b/dmenu_themes @@ -193,7 +193,7 @@ function remove_icon() { } function load_theme_selector() { - file_icon=$(show_icon_tree | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " Theme:") + file_icon=$(show_icon_tree | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " Theme:") file=$(remove_icon "${file_icon}") if [ -z "${file}" ] ; then echo "# Theme selector canceled" @@ -208,4 +208,3 @@ function load_theme_selector() { load_theme load_themes_files load_theme_selector - diff --git a/dmenu_wrun b/dmenu_wrun index 5124012..dddf6cb 100755 --- a/dmenu_wrun +++ b/dmenu_wrun @@ -42,7 +42,7 @@ function list_applications_icons() { } load_theme -list_output=$(list_applications_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -p " window:") +list_output=$(list_applications_icons | dmenu -i -nb "${NBCOLOR}" -nf "${NFCOLOR}" -sb "${SBCOLOR}" -sf "${SFCOLOR}" -l 18 -p " window:") run_output=$(echo ${list_output} | cut -c 4-999) if [ "${run_output}" == "gimp" ] ; then xdotool search --onlyvisible -classname "${run_output}" windowactivate &> /dev/null