summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-10-29 15:43:26 +0200
committerDave Davenport <qball@gmpclient.org>2016-10-29 15:43:26 +0200
commitd1d4a8439a2b39f438b3473eacf6ee6587ea7513 (patch)
tree308aa68dac5d126c7fb6cbbb30f349262902c0d6 /script
parent914d7035d6f339cf92167103df5d6d329b53671d (diff)
Fix selecting of row based on linux num instead of title.
Diffstat (limited to 'script')
-rwxr-xr-xscript/rofi-theme-selector2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/rofi-theme-selector b/script/rofi-theme-selector
index 009f0742..e5a176c7 100755
--- a/script/rofi-theme-selector
+++ b/script/rofi-theme-selector
@@ -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