mirror of https://github.com/davatorium/rofi.git
Fix selecting of row based on linux num instead of title.
This commit is contained in:
parent
914d7035d6
commit
d1d4a8439a
|
@ -115,7 +115,7 @@ function select_theme ()
|
||||||
<b>Alt-a</b> to accept the new theme.
|
<b>Alt-a</b> to accept the new theme.
|
||||||
<b>Escape</b> to cancel
|
<b>Escape</b> to cancel
|
||||||
Current theme: <b>${CUR}</b>"""
|
Current theme: <b>${CUR}</b>"""
|
||||||
RES=$( create_theme_list | ${ROFI} ${MORE_FLAGS[@]} -select "${CUR}" -mesg "${MESG}")
|
RES=$( create_theme_list | ${ROFI} ${MORE_FLAGS[@]} -selected-row "${SELECTED}" -mesg "${MESG}")
|
||||||
RTR=$?
|
RTR=$?
|
||||||
if [ ${RTR} = 10 ]
|
if [ ${RTR} = 10 ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue