aboutsummaryrefslogtreecommitdiff
path: root/tessen
diff options
context:
space:
mode:
authorAyush Agarwal <ayushnix@fastmail.com>2022-04-26 00:04:12 +0530
committerAyush Agarwal <ayushnix@fastmail.com>2022-04-26 00:09:10 +0530
commit6393cad5e583e7d6c272c54e81eb3e006d2b0c85 (patch)
tree79187b5ce10fedba7ef0098c6975c8cc0ed016e0 /tessen
parent0cd5e71428ebff521ec36926fd5c4a86c1ed8525 (diff)
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 (limited to 'tessen')
-rwxr-xr-xtessen2
1 files changed, 1 insertions, 1 deletions
diff --git a/tessen b/tessen
index 3497a81..2ca5a31 100755
--- 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