Skip to content

Periodically display desktop notifications with the user defined content

Notifications You must be signed in to change notification settings

dodalovic/desktop-notifier

Repository files navigation

desktop-notifier

Intended for periodical display of desktop notifications with user defined content

Screenshot

Show system notifications on a scheduled basis

Notifications can contain anything user would like displayed. There is one configuration file which contains the frequency of the notifications to be displayed, as well as the list of things that will get displayed

Uses jcgay/send-notifications for the notification management

Supported commands

ℹ️ We can build two executable types: java and native one

Build java executable

$ make build-jar

Execute java executable

$ make desktop-notifier ARGS="-c /full/path/to/file/containing/items/to/display"

Parameters

  • [REQUIRED] --content-file or -c

    An absolute path to the content file containing items to be shown as notifications

    Each line in the file becomes one desktop notification. An example file content:

    Guten Abend=Good evening
    Wie geht's=How's it going
    
  • [OPTIONAL] --change-frequency or -f

    Duration in seconds between the two notifications

  • [OPTIONAL] --notification-duration or -d

    How long (in seconds) should a single notification be displayed

Build native executable (requires GraalVM configured)

Read here how to install & configure GraalVM

After installing and configuring, run the following:

$ make build-native-exec

This will generate desktop-notifier file in the project root, which can be run via:

$ ./desktop-notifier -c /full/path/to/file/containing/items/to/display

About

Periodically display desktop notifications with the user defined content

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published