pkgs: change-audio: 0.1.0 -> 0.1.1
Fix issue with not showing notification at 0% volume.
This commit is contained in:
parent
f020338056
commit
d0e6e03c23
|
@ -9,7 +9,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pamixer --allow-boost "$upDown" "$2"
|
pamixer --allow-boost "$upDown" "$2"
|
||||||
newVolume="$(pamixer --get-volume)"
|
newVolume="$(pamixer --get-volume || true)"
|
||||||
|
|
||||||
notify-send -u low \
|
notify-send -u low \
|
||||||
-h string:x-canonical-private-synchronous:change-audio \
|
-h string:x-canonical-private-synchronous:change-audio \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, libnotify, makeWrapper, pamixer, shellcheck, stdenvNoCC }:
|
{ lib, libnotify, makeWrapper, pamixer, shellcheck, stdenvNoCC }:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "change-audio";
|
pname = "change-audio";
|
||||||
version = "0.1.0";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = ./change-audio;
|
src = ./change-audio;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue