Stand up every 20 minutes

Everybody knows that sitting for more than 3 hours affects health. Standing for more than 3 hours is also not that healthy as it seemed to be. So the quick and simple solution is to the rescue for a happy linux user:

  • get at program
  • get xosd package
  • create simple script and put it into ~/bin/ folder with 0700 permissions
#!/bin/bash
    
echo "STAND UP" | DISPLAY=:0 osd_cat -f "-adobe-helvetica-bold-r-normal-*-*-540-*-*-p-*-*-*" -A center -p middle -d 120 &
at -M -f ~/bin/standup 'now + 20 minutes'
  • start it as
at -f ~/bin/standup 'now + 20 minutes'

and you’re all set.

To view the current list of jobs - atq, to cancel notifications - atrm %jobid%