GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
fnott(5) FreeBSD File Formats Manual fnott(5)

fnott - configuration file

fnott uses the standard unix configuration format, with section based key/value pairs. The default (global) section is unnamed (i.e. not prefixed with a [section]).

fnott will search for a configuration file in the following locations, in this order:

XDG_CONFIG_HOME/fnott/fnott.ini
~/.config/fnott/fnott.ini
XDG_CONFIG_DIRS/fnott/fnott.ini

output
The output to display notifications on. If left unspecified, the compositor will choose one for us.

Note that if you do not specify an output, and the output chosen by the compositor is scaled, then each new notification will flash a low-res frame before re-rendering with the correct scale factor. This is because fnott has no way of knowing what the scale factor is until after the notification has been mapped (i.e. shown).

Default: unspecified.

In Sway, you can use swaymsg -t get_outputs to get a list of available outputs.

min-width

Minimum notification width, in pixels. Default: 0.

max-width

Maximum notification width, in pixels. Default: 400.

max-height

Maximum notification height, in pixels. Default: 200.

icon-theme

Icon theme to use when a notification has requested an non-embedded icon. Default: hicolor.

max-icon-size

Maximum icon size, in pixels. Icons larger than this will be scaled down. Default: 32.

stacking-order

How to stack multiple notifications.

bottom-up : oldest, highest priority furthest away from the anchor point.
top-down: oldest, highest priority at the anchor point.

Thus, if the notifications are anchored at the top, bottom-up will have the most recent notification in the upper corner, while the oldest notification is in the bottom of the stack.

Default: bottom-up.

anchor

Where notifications are positioned: top-left, top-right, bottom-left or bottom-right. Default: top-right.

edge-margin-vertical

Vertical margin, in pixels, between the screen edge (top or bottom, depending on anchor pointer) and notifications. Default: 10.

edge-margin-horizontal

Horizontal margin, in pixels, between the screen edge (left or right, depending on anchor pointer) and notifications. Default: 10.

notification-margin

Margin between notifications. Default: 10.

selection-helper

Command (and optionally arguments) to execute to display actions and let the user select an action to run.

The utility should accept (action) entries to display on stdin (newline separated), and write the selected entry on stdout. Default: dmenu.

play-sound

Command to execute to play notification sounds. ${filename} will be expanded to the path to the audio file to play. Default: aplay ${filename}.

These options can also be specified in an urgency section, in which case they override the values specified in the default section.

background

Background color of the notification. Default: 3f5f3f.

border-color

Border color of the notification. Default: 909090.

border-size

Border size, in pixels. Default: 1.

padding-vertical

Vertical padding, in pixels, between the notification edge (top or bottom) and notification text. Default: 20.

padding-horizontal

Horizontal padding, in pixels, between the notification edge (left or right) and notification text. Default: 20.

title-font

Font to use for the application title, in fontconfig format (see FONT FORMAT). Default: sans serif.

title-color

Text color to use for the application title. Default: ffffff.

summary-font

Font to use for the summary, in fontconfig format (see FONT FORMAT). Default: sans serif.

summary-color

Text color to use for the summary. Default: ffffff.

body-font

Font to use for the text body, in fontconfig format (see FONT FORMAT). Default: sans serif.

body-color

Text color to use for the text body. Default: ffffff.

max-timeout

Time limit, in seconds, before notifications are automatically dismissed. Applications can provide their own timeout when they create a notification. This option can be used to limit that timeout. A value of 0 disables the limit. Default: 0.

default-timeout

Time, in seconds, before notifications are automatically dismissed if the notifying application does not specify a timeout. A value of 0 disables the timeout. I.e. if the application does not provide a timeout, the notification is never automatically dismissed (unless max-timeout has been set). Default: 0.

sound-file

Absolute path to audio file to play when a notification is received. If unset, no sound is played. Default: unset.

This section allows you to override the options listed under per-urgency default options for low priority notifications.

By default, the following options are already overridden:

background: 2b2b2b
title-color 888888
summary-color: 888888
body-color: 888888

This section allows you to override the options listed under per-urgency default options for normal priority notifications.

By default, the following options are already overridden: none.

This section allows you to override the options listed under per-urgency default options for critical priority notifications.

By default, the following options are already overridden:

background: 6c3333

The font is specified in FontConfig syntax. That is, a colon-separated list of font name and font options.

Examples:

•Dina:weight=bold:slant=italic
•Courier New:size=12

fnott(1)
2022-04-26

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.