Site icon Blog of Leonid Mamchenkov

Have your breaks in time with KDE

I’ve already talked about KDialog and DCOP which are two magic KDE tools that could use more promotion. Today I came across another nice examlpe in this post.

#!/bin/bash

PROGRESS=$(kdialog --icon kalarm --title "Short rest" \
    --progressbar "Take a break..." 30)

if [ $PROGRESS ]; then
  for (( i=0; i

This simple shell script will remind you to have timed 30 second breaks when executed at predefined intervals from KAlarm. You'll see a nice progress bar while having a break.

Exit mobile version