lain: new commit; powerarrow: escape colors in task widget
This commit is contained in:
parent
5319b1be52
commit
f063c210fa
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit c89fc17636ac1d52ee9ca2f66c5033f9ea7e50fa
|
Subproject commit 5b266ecf16c30674abb42f49acfb003c86564531
|
|
@ -119,7 +119,10 @@ theme.cal = lain.widget.calendar({
|
||||||
|
|
||||||
-- Taskwarrior
|
-- Taskwarrior
|
||||||
local task = wibox.widget.imagebox(theme.widget_task)
|
local task = wibox.widget.imagebox(theme.widget_task)
|
||||||
lain.widget.contrib.task.attach(task)
|
lain.widget.contrib.task.attach(task, {
|
||||||
|
-- do not colorize output
|
||||||
|
show_cmd = "task | sed -r 's/\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g'"
|
||||||
|
})
|
||||||
task:buttons(awful.util.table.join(awful.button({}, 1, lain.widget.contrib.task.prompt)))
|
task:buttons(awful.util.table.join(awful.button({}, 1, lain.widget.contrib.task.prompt)))
|
||||||
|
|
||||||
-- Scissors (xsel copy and paste)
|
-- Scissors (xsel copy and paste)
|
||||||
|
|
Loading…
Reference in New Issue