From 7d31aa93dba84bfe6a73182255ccbc7271da3a6d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 12 Nov 2021 09:40:37 +0100 Subject: [PATCH] pkgs: change-audio: 0.1.0 -> 0.1.1 Fix issue with not showing notification at 0% volume. --- pkgs/change-audio/change-audio | 2 +- pkgs/change-audio/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/change-audio/change-audio b/pkgs/change-audio/change-audio index 9f7f1d2..22479d4 100755 --- a/pkgs/change-audio/change-audio +++ b/pkgs/change-audio/change-audio @@ -9,7 +9,7 @@ else fi pamixer --allow-boost "$upDown" "$2" -newVolume="$(pamixer --get-volume)" +newVolume="$(pamixer --get-volume || true)" notify-send -u low \ -h string:x-canonical-private-synchronous:change-audio \ diff --git a/pkgs/change-audio/default.nix b/pkgs/change-audio/default.nix index 5027826..c931ee6 100644 --- a/pkgs/change-audio/default.nix +++ b/pkgs/change-audio/default.nix @@ -1,7 +1,7 @@ { lib, libnotify, makeWrapper, pamixer, shellcheck, stdenvNoCC }: stdenvNoCC.mkDerivation rec { pname = "change-audio"; - version = "0.1.0"; + version = "0.1.1"; src = ./change-audio;