1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Fix selecting of row based on linux num instead of title.

This commit is contained in:
Dave Davenport 2016-10-29 15:43:26 +02:00
parent 914d7035d6
commit d1d4a8439a

View file

@ -115,7 +115,7 @@ function select_theme ()
<b>Alt-a</b> to accept the new theme.
<b>Escape</b> to cancel
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=$?
if [ ${RTR} = 10 ]
then