Notify

module
v0.0.0-...-de0f030 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT

README

Notify

Displays text read from stdin in a pop-up notification window.

Minimal and daemonless alternative to notification services like Dunst.

Features

  • Customizability Set dimensions, placement, font, duration, borderwidth, bordercolor, bgcolor and fgcolor via command-line arguments.
  • Scripting The notification text is read through stdin; Set the stdout text via a command-line argument; Control the exit code via left and right mousebutton clicks on the notification window.

Build

$ make
# or...
$ make install

Usage

See $ notify --help for command-line options

The notification text can be [Title]Body (i.e. title text in brackets and body text after) or Body (i.e. just body text).

$ curl example.com >/dev/null 2>&1 && \
  notify -B "#28A745" -d 1s <<< "[Curl]Download succeeded." || \
  notify -B "#DC3545" -d 1s <<< "[Curl]Download failed."

Screenshot

Directories

Path Synopsis
cmd
notify command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL