From d72b5e70a9547cf6c9365cf341bde6523ec0c201 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 13 Dec 2021 11:52:53 +0100 Subject: [PATCH] Update rofi options --- qb | 2 +- rofi-task.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qb b/qb index 411a479..e396d62 100755 --- a/qb +++ b/qb @@ -219,7 +219,7 @@ goto_qutebrowser_content() { # {{{ debug_message "goto_qutebrowser_content − \ Search in Qutebrowser's content ${QUTEBROWSER_GLOBAL_CONTENT} file." - rofi -theme solarized_alternate -dmenu -location 6 -lines 15 -width 80 -p 'Qutebrowser' > "${choice_temp_file}" < "${QUTEBROWSER_GLOBAL_CONTENT}" + rofi -theme solarized_alternate -dmenu -location 6 -l 15 -theme-str 'window {width: 80%;}' -p 'Qutebrowser' > "${choice_temp_file}" < "${QUTEBROWSER_GLOBAL_CONTENT}" if [ -s "${choice_temp_file}" ]; then debug_message "goto_qutebrowser_content − \ diff --git a/rofi-task.sh b/rofi-task.sh index 3757f7a..d7185fd 100755 --- a/rofi-task.sh +++ b/rofi-task.sh @@ -81,7 +81,7 @@ display_current_task() { # {{{ task +ACTIVE export | jq -r 'sort_by( -.urgency )[] | [ (.id|tostring), .description ] | join(" ")' >> "${TASKW_CURRENT_LIST}" ## Display active tasks list and get title from the choosen one - TITLE=$(rofi -theme solarized_alternate -location 2 -lines 5 -no-auto-select -i -dmenu -p "RUNNING task(s)" < "${TASKW_CURRENT_LIST}" | + TITLE=$(rofi -theme solarized_alternate -location 2 -l 5 -no-auto-select -i -dmenu -p "RUNNING task(s)" < "${TASKW_CURRENT_LIST}" | cut --delimiter=" " --field=2 | sed "s/[0-9]//g") ID=$(task "${TITLE}" simpleid | grep --after-context=2 -- ID | tail --lines=1 || return 0)