From 825c7fbe45ac77bcec7ae1afcbfa9f3f601ef05a Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 8 Aug 2022 15:00:07 -0400 Subject: [PATCH] FIX depend on pulseaudio and not libpulse --- lib/XMonad/Internal/Command/Desktop.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/XMonad/Internal/Command/Desktop.hs b/lib/XMonad/Internal/Command/Desktop.hs index c833cc8..4ec10e4 100644 --- a/lib/XMonad/Internal/Command/Desktop.hs +++ b/lib/XMonad/Internal/Command/Desktop.hs @@ -202,7 +202,9 @@ featureSound n file pre post = sometimesIO_ ("volume " ++ n ++ " control") "paplay" tree $ pre >> playSound file >> post where - tree = Only_ $ sysExe [Package Official "libpulse"] "paplay" + -- ASSUME pulseaudio pulls in libpulse as a dep; pulseaudio itself is needed + -- to play sound (duh) but libpulse is the package with the paplay binary + tree = Only_ $ sysExe [Package Official "pulseaudio"] "paplay" runVolumeDown :: SometimesX runVolumeDown = featureSound "up" volumeChangeSound (return ()) $ void (lowerVolume 2)