commit 6393cad5e583e7d6c272c54e81eb3e006d2b0c85
parent 0cd5e71428ebff521ec36926fd5c4a86c1ed8525
Author: Ayush Agarwal <ayushnix@fastmail.com>
Date: Tue, 26 Apr 2022 00:04:12 +0530
refactor: don't assume default values
As discussed in #28, I won't make assumptions for users. tessen is not a
GNOME app. I've left `-l 10` and `-n` as the bare minimum sane defaults
for tessen. However, if a user doesn't like them, they can export
`BEMENU_OPTS` and use whatever they want. Alternatively, switching to a
"better" dmenu program like fuzzel is another option.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tessen b/tessen
@@ -515,7 +515,7 @@ validate_dmenu_backend() {
bemenu)
dmenu_backend="bemenu"
dmenu_backend_opts=()
- bemenu_opts=('-i' '-l' '10' '-w' '--scrollbar=autohide' '-n')
+ bemenu_opts=('-l' '10' '-n')
if [[ -z ${BEMENU_OPTS[*]} ]]; then
export BEMENU_OPTS="${bemenu_opts[*]}"
fi