Skip to content

Releases: hastinbe/i3-volume

v3.6.1

06 May 01:04
7ec03b8
Compare
Choose a tag to compare

Fixes issue #31 where if the -p option is provided it can cause i3-volume and the notification daemon (if supported) to both draw a progress bar

v3.6.0

05 Apr 01:22
eb23fe5
Compare
Choose a tag to compare

Replaces all uses of pacmd with pactl. The rationale for the change
is for compatibility with pipeware, specifically on Arch Linux. See
issue #29

v3.5.0

03 Nov 00:10
Compare
Choose a tag to compare

Added

  • Support for notify-send.py via the USE_NOTIFY_SEND_PY environment
    variable.
  • Support for deadd-notification-center
  • Support for volume colors when using dunst
  • NO_NOTIFY_COLOR environment variable to disable colors in notifications

v3.4.0

01 Nov 03:33
Compare
Choose a tag to compare

Added

Auto-detect notification method (requires DBus)
Ability to play an event sound when volume changed
Support for libcanberra for playing event sounds
Repects server capabilities of your notification server

Auto-detect notification method

i3-volume use to default to libnotify when a notification method was not
specified. When using a libnotify compatible notification daemon like
notify-osd or dunst, this is a non-issue. Now if DBus is available this is no longer the case. When available, i3-volume will ask what your notification server is, if supported it will send notifications to that server, if not supported it will fallback to libnotify and try anyway.

Customize notification sound

The sound played during volume change events can be set by the
SOUND_VOLUME_CHANGED environment variable. It currently defaults to the
freedesktop sound theme (sound-theme-freedesktop package). If you wish
to use a custom sound, you can specify it like so:

env SOUND_VOLUME_CHANGED=/path/to/soundfile.oga ~/i3-volume/volume -P up 5

Currently i3-volume does not support XDG sound theming spec and requires path
to the full sound file. The exception of this is when using libcanberra
(-C) which does support XDG. However, by default i3-volume tells
libcanberra to play the sound file instead of a sound event id. To get
libcanberra to use the sound event id instead, we need to set
SOUND_VOLUME_CHANGED to a non-existent file like so:

env SOUND_VOLUME_CHANGED= ~/i3-volume/volume -CP up 5

Capabilities

When discoverable the capabilities of the notification server is
requested. Currently this is limited to libnotify compatible servers. If
icons are supported, i3-volume will display a volume icon. If the
notification server can handle sound, i3-volume will play volume change
sound events if enabled (-P) through the notification server instead of
externally.

v3.0.0

20 Oct 05:19
Compare
Choose a tag to compare

Features & Changes

  • Colored usage/help if the terminal supports 8 colors.
  • Error feedback for missing required function arguments.
  • PA and amixer functions are only defined when enabled.
  • Removed all global variables.
  • PA functions renamed with a pa_ prefix, likewise amixer_ for amixer.
  • Immutable and/or integer variables are now declared as such.
  • Cache pacmd list-sinks during the script's execution, except for listen.
  • Support for volnoti notifications

Commands

Commands are used to perform an operation, such as muting or changing the volume. In versions prior to 3.x they were command-line options. This change frees up and slims down the amount of options, and makes the script straight-forward to use.

Commands include: up, down, set, mute, listen, output, outputs, notifications, help

Options

Removed options

  • -d is now the down command
  • -i is now the up command
  • -m is now the mute command
  • -o is now the output command
  • -v is now the set command

Renamed options

  • -M is now -m

Fixes

  • Custom output format not working with more than 1 argument.
  • A few cases where word splitting was not desired.

v2.7.0

13 Oct 07:31
Compare
Choose a tag to compare

Added

Listen mode for PulseAudio (-L)

- Subscribes to and listens for changes on the provided, or default, PulseAudio sink.
- When notifications (-n) are enabled, they will be triggered for these events.
- When the status bar (-t) and signal (-s) are set, the status bar will be signaled to update.

v2.6.1

11 Oct 06:59
Compare
Choose a tag to compare

Fixes

  • Muted updating the status bar being delayed when using XOSD

v2.6.0

11 Oct 03:33
Compare
Choose a tag to compare

Added

  • Support for herbe notifications (-N herbe)

v2.5.1

11 Oct 02:08
Compare
Choose a tag to compare

Fixes

  • Volume reflected in status bar is delayed when using XOSD

v2.5.0

10 Oct 13:39
Compare
Choose a tag to compare

Added

  • Support for XOSD notifications
  • Add -N option to specify notification method