Skip to main content
Version: 0.0.7

Filtering Notifications

histui provides powerful filtering capabilities for querying your notification history.

Filter Syntax

Filters use a simple key:value syntax:

histui get --filter "app:firefox"

Available Filters

FilterDescriptionExample
appApplication nameapp:firefox
urgencyUrgency levelurgency:critical
summaryMatch summary textsummary:download
bodyMatch body textbody:error

Combining Filters

Multiple filters are combined with AND logic:

histui get --filter "app:firefox urgency:critical"

Time-Based Filtering

Use the --since flag for time-based filtering:

# Last hour
histui get --since 1h

# Last 30 minutes
histui get --since 30m

# Last 7 days
histui get --since 168h

Examples

Critical Firefox notifications from the last hour

histui get --filter "app:firefox urgency:critical" --since 1h
histui get --filter "summary:download"