LinuxCommandLibrary

dunstify

A notification tool that is an extension of notify-send, but has more features based around dunst.

TLDR

Show a notification with a given title and message

$ dunstify "[Title]" "[Message]"
copy


Show a notification with specified urgency
$ dunstify "[Title]" "[Message]" -u [low|normal|critical]
copy


Specify a message ID (overwrites any previous messages with the same ID)
$ dunstify "[Title]" "[Message]" -r [123]
copy


To see other possible options
$ notify-send --help
copy

Help

Usage:
  dunstify [OPTION…] - Dunstify 

Help Options:
  -?, --help                  Show help options 

Application Options:
  -a, --appname=NAME          Name of your application 
  -u, --urgency=URG           The urgency of this notification 
  -h, --hints=HINT            User specified hints 
  -A, --action=ACTION         Actions the user can invoke 
  -t, --timeout=TIMEOUT       The time until the notification expires 
  -i, --icon=ICON             An Icon that should be displayed with the notification 
  -I, --raw_icon=RAW_ICON     Path to the icon to be sent as raw image data 
  -c, --capabilities          Print the server capabilities and exit 
  -s, --serverinfo            Print server information and exit 
  -p, --printid               Print id, which can be used to update/replace this notification 
  -r, --replace=ID            Set id of this notification. 
  -C, --close=ID              Close the notification with the specified ID 
  -b, --block                 Block until notification is closed and print close reason 

Copied to clipboard