Awesome sound effects

I come from cinnamon and I got quite used to sound effects, like startup sounds or sounds when changing the volume.

Does awesome wm offer any method to produce sound effects or do I need to call a bash script to play sounds when I want them?

Posted Jun 21, 2020, 8:28 PM UTC

31
theonikos•

Sure, you should be able to add something like this into any function, so you could get pretty creative with sound effects for unlimited actions if desired

awful.spawn( "paplay /path/to/sound.wav" )

For a startup sound it would suffice just to add such a line all by itself to your rc.lua. If you don't mind it playing every time the window manager is restarted

5