1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

Bug #200, add '-b' method.

This commit is contained in:
QC 2015-08-02 15:50:06 +02:00
parent 77e5541ba5
commit c97d2979e5

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,