You are not logged in.
Pages: 1
Hello,
I am trying to create a keybind for my volumes on awesome wm and i cant get to work for pulseaudio
here is the code:
awful.key({ altkey }, "Up",
412 function ()
413 os.execute(string.format("pactl -- set-sink-volume 0 +1", beautiful.volume.channel))
414 beautiful.volume.update()
415 end,
416 {description = "volume up", group = "hotkeys"}),
I have an idea for how to do it for amixer but cant find any google link for pulseaudio
Thank you
Sameed Baqai
PS I AM NEW TO AWESOME AND STILL LEARNING![]()
Last edited by SamBaqai94 (2018-10-02 20:27:18)
Offline
Welcome to the BBS.
Please use code tags when posting code (and do not include line numbers).
More substantively, what is the error you are running into with this code? Also, note that you are using string.format() but have no format specifiers in that string.
All the best,
-HG
Offline
Pages: 1