Creating a simple Pomodoro timer for i3

A terminal based Pomodoro coountdown doesn’t appear to exist but can be created simply in i3’s config file.

It requires the following packages to enable “notify-send” which is a simple gtk popup notification.

  • libnotify-bin
  • libnotify4

# Pomodoro start and end notifications
bindsym $mod+Control+p exec notify-send --icon=gtk-info Pomodoro "Focus for 25 minutes" && sleep 2500 && notify-send --icon=gtk-info Pomodoro "Take a 5 minute break"

This quick notification will dismiss itself in a few seconds, if you blink you may miss it.

As an alternative I’m also considering adding my bash command to lock the system and force that me to at least put in my password to continue.

i3 desktop screenshot gallery

Before I get to far into further customizations how about a gallery of my progress so far.

For the i3lock screen I started with a tutorial posted at http://plankenau.com/blog/post/gaussianlock followed by a little additional research to adjust the brightness levels at http://www.imagemagick.org/Usage/color_mods/#level_gamma which contains several tips and tricks for use with ImageMagick. If you’re curious my final lock config is listed below.


#!/bin/bash
scrot /tmp/screenshot.png
convert /tmp/screenshot.png -blur 0x7 -level 0%,100%,0.5 /tmp/screenshotblur.png
i3lock -i /tmp/screenshotblur.png

Tonight’s i3 desktop

Source: Wallhaven.cc

I’m starting to feel more at home in i3 Window Manager and using the mouse almost exclusively for web surfing with the occasional adjustment to tile widths and floating window placement.

I still refer to the i3 reference card from time to time.

This isn’t the first time I’ve tried i3; Previously, I’ve used it in WattOS Microwatt but didn’t stick with it very long due to my netbook’s painful performance.

This time around I started with my primary desktop’s testing drive a 10 year old 5400RPM laptop hard drive reclaimed from a broken down MacBookPro that I use for distro hopping.

However, i3 combined Ubuntu 16.04 LTS and on my hardware makes this an a responsive experience. now a couple weeks in I still have no plans to remove it.

Recent adjustments include

Adding Redshift to my i3 config set to autostart based on my city’s location and the local time.i3 bar is themed based on Ubuntu’s Color Palette.

To do items

  • Set Mod keys for Firefox, pianobar, htop, ranger, gimp, and cmus
  • Set color theme for Mod+d menu