fyi(1)
π fyi(1) β General Commands Manual π
okay so this is the fyi(1) page from the General Commands Manual, and we're folding that manual name in right at the top like a little name tag. bestie, this is the group-chat remix, but every fact is staying put. π«Ά
β¨ NAME β¨
fyi β send desktop notifications. That's the whole job, and it ate. π
πΈ SYNOPSIS πΈ
fyi [OPTION]... TITLE [MESSAGE]
fyi --close=ID
fyi --server-info
fyi --server-capabilities
π¦ DESCRIPTION π¦
okay so fyi is a command line utility to send desktop notifications to the user via a notification daemon implementing XDG desktop notifications. periodt. π
It is similar to the well-known notify-send(1) utility. Indeed, most of the options are identical. iykyk.
When used without any options, fyi sends the notification and immediately exits, without printing anything on stdout. silent queen behavior. π€«
Use --print-id to have fyi print the daemon assigned notification ID on stdout, in the format:
id=ID
To see why the notification was closed, use --print-reason. The reason is printed on stdout, in the format:
reason=REASON
fyi can also block until the notification has been closed, using the --wait option. Sending SIGINT to the fyi process will force-close the notification. dramatic but true. π
fyi will also block if the notification has any actions. When an action is triggered, fyi prints the name of the action on stdout, in the format:
action=NAME
Some notification daemons can send an "activation token". This is typically done when the user clicks the notification, or triggers the default action. The token can be used to focus (activate) a window. To see the token, use --print-token. The token is printed on stdout, in the format:
xdgtoken=TOKEN
π OPTIONS π
-a,--app-name=NAMEβ Application name. Notification daemons will either display it as text, or use it to select an icon to show (unless--iconis used). Default:fyi.-i,--icon=ICONβ Icon to display, either as a symbolic icon name (e.g.firefox) or a filename. Default: none.-u,--urgency=low|normal|criticalβ Notification urgency. Shortcut for--hint=byte:urgency:0|1|2. Default:normal.-c,--category=CATEGORYβ Notification category. Shortcut for--hint=string:category:CATEGORY. Default: none.-A,--action=NAME:LABELβ Defines an action to display (e.g. as a button, or in a list, depending on notification daemon).LABELis what the notification daemon will display for the user. When the user triggers an action,fyiwill print the correspondingNAME, in the formataction=NAME. This option can be specified multiple times, to define multiple actions. Using this option implies--wait.-H,--hint=TYPE:NAME:VALUEβ Defines a custom hint. How these are interpreted depends on the notification daemon. One common use case is to display a progress bar of some kind; most notification daemon recognizesint:value:<percent>. Another common hint isstring:x-canonical-private-synchronous:<name>. Many notification daemons will replace any existing notification with the same name. This is similar to--replaces, except you do not need a notification ID.fyirecognizes the following types:booleanbyteintdoublestring
-r,--replaces=IDβ If there is an existing notification with the specifiedID, replace it. Otherwise, create a new notification.-t,--expire-time=TIMEβ The notification will be closed automatically afterTIMEmilliseconds.--transientβ By-pass the server's persistence capability, if any. Shortcut for--hint=boolean:transient=true.-C,--close=IDβ If there is an existing notification with the specifiedID, close it.-p,--print-idβ Print the daemon assigned notification ID, in the formatid=ID.-R,--print-reasonβ Print the reason the notification was closed, in the format:reason=expiredreason=dismissedreason=force-closedreason=unknownUsing this option implies--wait.
-T,--print-tokenβ Print the activation token, if any, in the formatxdgtoken=TOKEN. Some notification daemons send an activation token when the notification is dismissed; either when the notification is clicked, or the default action is invoked. Others will send it regardless of which action was invoked. Some will only send it when an action is invoked, while others will send it when the notification is dismissed, regardless of how. The token can be used to focus (activate, raise) a window. It is not directly useable byfyi, but programs usingfyias a helper to display notifications can use it. Using this option implies--wait.-w,--waitβ Wait for the notification to be closed before exiting. If the user triggered an action, the name of the action will be printed (see-A,--action). This option is implied when any of the following options are used:-A,--action-R,--print-reason-T,--print-token
--image-data=FILEβ Sets the image-data hint in the notification, with the raw pixel data fromFILE. The data is assumed to be raw RGBA data. You must also provide the image size, see--image-size.--image-size=WIDTHxHEIGHTβ The dimensions of the image loaded by--image-data.--server-infoβ Display notification daemon name and version.--server-capabilitiesβ Display notification daemon capabilities.-v,--versionβ Show the version number and quit.
π SEE ALSO π
mwah π this has been the fyi(1) page from the General Commands Manual, dated 2024-09-05 β footer tea delivered, bestie. π«Άπ
π¦ where this page comes from
- arch rolling: fyi 1.0.4-1 Β· MIT
- opensuse-leap 16.0: fyi 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: fyi 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: fyi 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: fyi 1.0.4-bp160.1.12 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms