Skip to content

Commit ac518e8

Browse files
committed
use python logging
1 parent b0fe9cb commit ac518e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qbpm/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ def env_menus() -> Iterator[str]:
6363
if environ.get("TMUX"):
6464
yield "fzf-tmux"
6565
# if there's no display and fzf is installed we're probably(?) in a term
66-
yield "fzf"
66+
if which("fzf") is not None:
67+
info("no graphical launchers found, trying fzf")
68+
yield "fzf"
6769

6870

6971
def or_phrase(items: list) -> str:

0 commit comments

Comments
 (0)