Manuel-Kehl / Go-For-It

A stylish to-do list with built-in productivity timer. NOTE: all contributions should go to Jonathan Moerman's fork because this is where active development is taking place: https://github.com/JMoerman/Go-For-It
http://manuel-kehl.de/projects/go-for-it/
GNU General Public License v3.0
516 stars 51 forks source link

Go For It! App icon in Notification Messages #38

Closed fredmwangi closed 9 years ago

fredmwangi commented 9 years ago

Currently shows a generic blue icon (help-info.svg) and I wanted to instead see the Go-For-It App Icon (go-for-it.svg). I chose libnotify/Notify API for ease of use, it is already installed on eOS by default, and because other Elementary apps use it.

You can test Notify in the terminal using notify-send (/usr/bin/notify-send).

Examples:

notify-send 'Hello world!' 'This is an example notification.' --icon=dialog-information

notify-send 'Time to Work' 'Get started by picking a task.' --icon=go-for-it --expire-time=8000

I particularly like being able to set the timeout because notifications by default, in my opinion, disappear too quickly, and I sometimes miss breaks.

Desktop Notifications Specification

booohooawfsome

GIFs above are low quality, hence the stuttering and incorrect colors.

Manuel-Kehl commented 9 years ago

Great job @fredmwangi! Switching to libnotify changed another issue, you may not have even noticed:

Before your changes Go For It! was not properly displayed in Switchboard's Notifications plug, which works perfectly well now!

Thanks a lot!