From 938c87592fbd634aaa0dd1ef0af27f13f3a1579c Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Sun, 4 Jun 2023 16:04:13 +0300 Subject: [PATCH] update readme --- README.md | 16 ++++++++++++++++ external/taskwarrior.lua | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/README.md b/README.md index 5854a6e..80b150b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # AwesomeWM Original gotten from: https://github.com/Manas140/dotfiles + +## Other cool dotfiles +* [elenapan's dotfiles](https://github.com/elenapan/dotfiles) +* [javacage's dotfiles](https://github.com/JavaCafe01/dotfiles) +* https://github.com/WillPower3309/awesome-dotfiles +* https://github.com/manilarome/the-glorious-dotfiles +* https://github.com/v1ewport/CYBIT + +## Cool AwesomeWM libs +* https://github.com/BlingCorp/bling +* https://github.com/xinhaoyuan/layout-machi +* https://github.com/potamides/modalawesome +* https://github.com/mut-ex/awesome-wm-nice +* https://awesomewm.org/recipes/mic/ +* https://awesomewm.org/recipes/wirelessStatus/ +* https://awesomewm.org/recipes/watch/ diff --git a/external/taskwarrior.lua b/external/taskwarrior.lua index d787e47..dca1494 100644 --- a/external/taskwarrior.lua +++ b/external/taskwarrior.lua @@ -2,6 +2,14 @@ local taskwarrior = {} local DEFAULT_SIGNAL = "taskwarrior::stats" +--[[ +Get id of next task: +`task next | sed -n '4p' | awk '{print $1}` + +Get due date and description by id: +`task _get $ID.due $ID.description` +]]-- + local task_script = [[echo $(task +PENDING count) $(task +OVERDUE count)]] --- callback: function(pending, overdue)