Skip to content

Commit e48c090

Browse files
committed
expand choose docs
1 parent 2809c77 commit e48c090

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

qbpm.1.scd

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ appropriate \--basedir, or more conveniently using the qbpm launch and qbpm choo
7676
\# launch my profile called work and open internal.mycompany.com
7777
qbpm launch work internal.mycompany.com
7878

79-
\# launch a new profile called qb-dev, passing the flags to qutebrowser
79+
\# launch a new profile called qb-dev, passing the debugging flags to qutebrowser
8080
qbpm launch -n qb-dev --debug --json-logging
8181
```
8282

@@ -88,15 +88,22 @@ appropriate \--basedir, or more conveniently using the qbpm launch and qbpm choo
8888
*-m, --menu* <menu>
8989
Use _menu_ instead of the default menu program. This may be the name of a
9090
program on $PATH or a path to a program, in which case it will be run in
91-
dmenu mode if qbpm knows about the program, or a full command line.
91+
dmenu mode if qbpm knows about the program, or a full command line. On
92+
MacOS the special value "applescript" is accepted. Run `qbpm choose --help`
93+
for a list of known menu programs for your environment.
9294

9395
Examples:
9496

9597
```
96-
\# runs "echo {profiles} | /path/to/rofi -dmenu -no-custom -p qutebrowser"
97-
qbpm choose -m /path/to/rofi
98+
qbpm choose --menu fzf
9899

99-
qbpm choose -m "my-cool-menu --dmenu-mode --prompt qutebrowser"
100+
qbpm choose --menu "./build/my-cool-menu --dmenu-mode --prompt qutebrowser"
101+
102+
\# qbpm knows about fuzzel so it can automatically invoke it as "~/.local/bin/fuzzel --dmenu"
103+
qbpm choose --menu ~/.local/bin/fuzzel
104+
105+
\# if more than one word is provided it will be invoked as is, so `--dmenu` must be included
106+
qbpm choose --menu 'fuzzel --dmenu --width 100'
100107
```
101108

102109
*from-session* [options] <session> [<name>]

0 commit comments

Comments
 (0)