/tvolume

Primary LanguageShellMIT LicenseMIT

Tmux Volume

Currently, available only for macOS

Enables displaying the volume percentage in Tmux status-right and status-left

Installation

Tmux Plugin Manager

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @plugin 'brunopinheiro/tvolume'

Hit prefix + I to fetch the plugin and source it.

Usage

Add #{tvolume} string to the existing status-right or status-left tmux option. Example:

    # in .tmux.conf
    set -g status-right 'ᐘ·#{tvolume}'

Options

  • @volume_muted_icon: text printed when muted
  • @volume_missing_icon: text printed when volume is not available (output device does not provide volume info. ex: TVs connected via HDMI)

License

MIT