FIX depend on pulseaudio and not libpulse
This commit is contained in:
parent
aef5983e30
commit
825c7fbe45
|
@ -202,7 +202,9 @@ featureSound n file pre post =
|
||||||
sometimesIO_ ("volume " ++ n ++ " control") "paplay" tree
|
sometimesIO_ ("volume " ++ n ++ " control") "paplay" tree
|
||||||
$ pre >> playSound file >> post
|
$ pre >> playSound file >> post
|
||||||
where
|
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 :: SometimesX
|
||||||
runVolumeDown = featureSound "up" volumeChangeSound (return ()) $ void (lowerVolume 2)
|
runVolumeDown = featureSound "up" volumeChangeSound (return ()) $ void (lowerVolume 2)
|
||||||
|
|
Loading…
Reference in New Issue