From 399e63dca67a9d7451780463646c4dd4bd00dee3 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Wed, 18 Dec 2024 22:25:15 +0400 Subject: br: dmenucmd alias added --- scripts/br | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/br') diff --git a/scripts/br b/scripts/br index 5e87624..fb07592 100755 --- a/scripts/br +++ b/scripts/br @@ -18,6 +18,8 @@ err() { exit 1 } +alias dmenucmd="dmenu -bw 1 -c -g 1 -l 25" + [ -z "${BROWSER}" ] && browser="qutebrowser" || browser="${BROWSER}" if [ "${#}" -eq 0 ]; then @@ -29,7 +31,7 @@ if [ "${#}" -eq 0 ]; then [ -z "${XDG_HOME_CONFIG}" ] || link_file="${XDG_HOME_CONFIG}"/sites/bookmarks.txt [ -e "${link_file}" ] || err "${0}: Couldn't find bookmarks file" - link=$(< "${link_file}" dmenu) + link=$(< "${link_file}" dmenucmd) [ -z "${link}" ] || "${browser}" "${link}" -- cgit v1.2.3