1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 11:12:31 +00:00

lain: new commit; powerarrow: escape colors in task widget

This commit is contained in:
Luke Bonham 2017-07-15 14:36:21 +02:00
parent 5319b1be52
commit f063c210fa
2 changed files with 5 additions and 2 deletions

2
lain

@ -1 +1 @@
Subproject commit c89fc17636ac1d52ee9ca2f66c5033f9ea7e50fa
Subproject commit 5b266ecf16c30674abb42f49acfb003c86564531

View file

@ -119,7 +119,10 @@ theme.cal = lain.widget.calendar({
-- Taskwarrior
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)))
-- Scissors (xsel copy and paste)