Using Timewarrior With Taskwarrior

  about 305 words   2 min

Terminals have always been a thing that I loved to use. I spend a lot of times using and tweaking them. i My daily use include a lot of this little programs that help you to improve your productivity. Keybindings and customizations is also one thing that I love about terminals compared to GUI.

That's also why I awesomewm. For those who don't know what it is, it's a lightweight tiling window manager like Ion.


I felt in love a couple of years ago with Taskwarrior, a little todo list cli app.

You can be ready to use it in 30 seconds, just install it with your favorite packaging app depending of your Linux distribution.

Here are a couple of commands to add, delete and modify a task :

  # we add a reading project with a tag +books and a text
  ~ % task add project:reading +books Permanent records
  ~ % task list
  ID Age D Project Tags                   Description                    Urg
  1 10s   reading books                  Permanent records              0
  # mark a task done
  ~ % task 1 done
  # delete a task
  ~ % task 2 delete
  # modify a task
  ~ % task modify 4


You can monitor a task when you begin to work on it with :

  ~ % task start 1
  ~ % task stop  1

Basically, on Debian, copy the hook script

  ~ % sudo apt install timewarrior
  ~ % cp /usr/share/doc/timewarrior/ext/on-modify.timewarrior ~/.task/hooks
  ~ % chmod +x ~/.task/hooks/on-modify.timewarrior

Then to test if the add-on is active you can run this command :

  ~ % task diagnostics

that should list you something like this :

     System: Enabled
     Location: /home/hyde/.task/hooks
     Active: on-modify.timewarrior (executable)

Whenever you start a task in Taskwarrior, the hook script will start time tracking in Timewarrior and will stop it if you stop your task.

taskwarrior timewarrior productivity tools CLI awesomewm terminal

Imagemagick - a swiss army knife for manipulating images

There is a CLI tool I use often to manipulate images, its name is Imagemagick. You can install it with any package management system you have depending of your OS. Imagemagick is also used in a lot of libraries to render images for various purposes. Here is a list of commands I use quite often when I need to edit some images.

Read more

Goodbye Writefreely Hello Hugo

Finally, I ditched Writefreely, the fediverse blogging framework in favor of Hugo. why ? I love terminals and vim like … a lot ! I wanted something where I could use my beloved editor to write a post in Markdown, commit it and that could be automatically posted using a post-commit. Ideally, I wanted a thing that involves the fediverse to be able to get comments directly from Mastodon or Pleroma.

Read more