You are not logged in.

#1 2010-10-18 19:37:47

Yes
Member
Registered: 2008-03-29
Posts: 163

Awesome - Multimedia keys and a visual display

I'm confident I can get Awesome to work with my multimedia keys, but I'd like to go one step further:  In Gnome when you press a multimedia key to lower the volume, a little box appears in the middle of the screen and it shows the current volume level.  Is there anyway to get something similar to happen in Awesome?  I know I can put a graph on one of my wiboxes, but I'd really like to know if it's possible to do what Gnome does.  So if anyone has any ideas, please let me know!

Thanks!

Last edited by Yes (2010-10-18 21:53:19)

Offline

#2 2010-10-18 20:53:53

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Awesome - Multimedia keys and a visual display

I wrote the pvol script for the same purpose.

Edit: here are the sample bindings

awful.key({}, "#121", function () awful.util.spawn("pvol.py -m") end),
awful.key({}, "#122", function () awful.util.spawn("pvol.py -p -c -2") end),
awful.key({}, "#123", function () awful.util.spawn("pvol.py -p -c 2")  end),

Last edited by anrxc (2010-10-18 20:57:54)


You need to install an RTFM interface.

Offline

#3 2010-10-19 16:41:18

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: Awesome - Multimedia keys and a visual display

Awesome, this is exactly what I was looking for!  I'll play around with it, thanks.

Offline

Board footer

Powered by FluxBB