Taskw: Remove any number for search to work
This commit is contained in:
parent
5f467eb1ed
commit
65b4028556
|
@ -32,7 +32,8 @@ display_current_task() { # {{{
|
|||
|
||||
## Display active tasks list and get title from the choosen one
|
||||
TITLE=$(rofi -location 2 -lines 5 -no-auto-select -i -dmenu -p "RUNNING task(s)" -color-enabled -color-normal "${blue},${black},${blue},${black},${blue}" -color-window "${blue},${blue}" < "${TASKW_CURRENT_LIST}" |
|
||||
cut --delimiter=" " --field=2)
|
||||
cut --delimiter=" " --field=2 |
|
||||
sed "s/[0-9]//g")
|
||||
ID=$(task "${TITLE}" simpleid | grep --after-context=2 -- ID | tail --lines=1 || return 0)
|
||||
|
||||
## Remove temp file
|
||||
|
|
Loading…
Reference in New Issue