A timer which is displayed as a dunst notification
A timer which is displayed as a dunst notification
Motivation#
A few weeks ago a great project appeared on Reddit and other platforms: mpris-timer
A simple timer which uses the MPRIS interface to display a timer as a notification. I really liked the idea and wanted to create a similar application which uses the dunst notification system, because different window managers and desktop environments use different styles of a bar so maybe a media-styled notification would not fit in every environment.
Features & Usage#
Emojis are supported too 😍
And if you don’t want to be stressed by the remaining time you can disable the percentage
|
|
or if the application is installed
|
|
The timer is blocking, so you can’t use the terminal until the timer is finished. If you want to run the timer in the background you can use the &
operator
|
|
Full Spec
|
|
Installation & Configuration#
Arch User Repository#
The application is available in the AUR as dunst-timer
|
|
Manual Installation#
On any other system you can install the application by cloning the repository and copying the script to /usr/bin
(or any other directory in your $PATH
)
|
|
Configuration#
The script uses the dunst
notification system, so it will use the default settings of dunst
. If you want to change the settings you can do this in the dunstrc
file. The default location is ~/.config/dunst/dunstrc
.
To enable the progress bar, use these (or similar) settings:
|
|
Change the color of the timer:
|
|
For more information about the configuration of dunst
see the dunst documentation