Skip to main content
Version: 0.0.8

histui audio

Control audio playback for histuid notification sounds.

Synopsis

histui audio [command] [flags]

Description

The audio command controls notification sound playback. Use it to stop currently playing sounds or manage audio state.

Subcommands

CommandDescription
stopStop any currently playing notification sound

Options

FlagTypeDefaultDescription
-q, --quietboolfalseSuppress output

Examples

Stop currently playing sound

histui audio stop

Use in keybinding

Add to your Hyprland config:

bind = $mod, M, exec, histui audio stop

Stop sound with toggle DnD

# Stop sound and enable DnD
histui audio stop && histui dnd on

How It Works

The audio stop command sets a flag in the shared state file (~/.local/share/histui/state.json). When histuid reads this flag, it stops any currently playing sound and clears the flag.

This allows control even when histuid is running in the background as a separate process.

See Also