Skip to main content
Version: 0.0.7

histui apps

List unique application names from notification history.

Synopsis

histui apps [flags]

Description

The apps command lists all unique application names that have sent notifications in your history. Useful for shell completion, scripting, or discovering what apps are in your notification history.

Options

FlagTypeDefaultDescription
--sourcestringautoNotification source: histuid, stdin (auto-detects if empty)

Examples

List all apps

histui apps

Output:

discord
firefox
slack
spotify
telegram

Use for shell completion

# Select app with fzf
histui get --app "$(histui apps | fzf)"

# Combine with get for filtering
APP=$(histui apps | fzf)
histui get --app "$APP" | fuzzel -d

Count notifications per app

# Using histui get with jq
histui get --format json | jq -r '.[].app_name' | sort | uniq -c | sort -rn

Check if an app exists in history

if histui apps | grep -q "discord"; then
echo "Discord notifications found"
fi

See Also