This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-27 02:31:42 +00:00
|
|
|
#!/bin/sh
|
2020-05-18 09:45:09 +00:00
|
|
|
|
|
|
|
TITLE="Tomatimer!"
|
|
|
|
ICON1="$HOME/img/.icn/tomate1.png"
|
|
|
|
ICON2="$HOME/img/.icn/tomate2.png"
|
|
|
|
BEEP="paplay ~/snd/.notification.ogg"
|
|
|
|
TIMER=1800
|
|
|
|
|
|
|
|
notify-send "$TITLE" --icon="$ICON2" "Te aviso en $((TIMER/60)) minutos :)"
|
|
|
|
|
|
|
|
eval "(sleep $TIMER && notify-send '$TITLE' --icon=$ICON1 'Hora del recreo. Sali de la compu' && $BEEP &)"
|