Bug #200, add '-b' method.

This commit is contained in:
QC 2015-08-02 15:50:06 +02:00
parent 77e5541ba5
commit c97d2979e5
1 changed files with 9 additions and 0 deletions

View File

@ -238,6 +238,15 @@ int dmenu_switcher_dialog ( char **input )
g_strfreev ( tokens );
}
/**
* Dmenu compatibility.
* `-b` put on bottom.
*/
if ( find_arg ( "-b" ) >= 0 ) {
config.location = 6;
}
do {
int next_pos = selected_line;
int mretv = menu ( list, length, input, dmenu_prompt,