Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task widget #3

Merged
merged 5 commits into from
Sep 25, 2013
Merged

Task widget #3

merged 5 commits into from
Sep 25, 2013

Conversation

janx
Copy link
Contributor

@janx janx commented Sep 25, 2013

A widget used to play with taskwarrior (pacman -S task) tasks. It provides naughty notification for pending tasks, prompt to add new task, and prompt to mark tasks done/deleted.

Here's rc.lua example:

-- Textclock
clockicon = wibox.widget.imagebox(beautiful.widget_clock)
mytextclock = awful.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#343639", ">") .. markup("#de5e1e", " %H:%M "))

-- Calendar
lain.widgets.calendar:attach(mytextclock, { font_size = 10 })

-- Task
taskwidget = lain.widgets.task:attach(clockicon, { font_size = 10 })

globalkeys = awful.util.table.join(
    ...
    awful.key({ modkey,           }, "t",      lain.widgets.task.prompt_add),
    awful.key({ modkey, "Shift"   }, "t",      lain.widgets.task.prompt),
    awful.key({ modkey, altkey    }, "t",      lain.widgets.task.show),
    ...
)

lcpz pushed a commit that referenced this pull request Sep 25, 2013
@lcpz lcpz merged commit ea784d4 into lcpz:master Sep 25, 2013
@lcpz
Copy link
Owner

lcpz commented Sep 25, 2013

Nice, you're my first contributor! 💃

I'll first merge this, then start a contrib section.

@janx
Copy link
Contributor Author

janx commented Sep 25, 2013

🍻

lcpz pushed a commit that referenced this pull request Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants