-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed volume buttons, mute, and brightness #61
base: master
Are you sure you want to change the base?
Conversation
Also make sure to add |
Thanks! Ill be taking a closer look at this when I have time this weekend |
Hello, have you took a look at the pull request yet? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment :)
awesome.emit_signal("volume_change") | ||
end, | ||
{description = "volume down", group = "hotkeys"} | ||
), | ||
awful.key({}, "XF86AudioMute", | ||
function() | ||
awful.spawn("amixer -D pulse set Master 1+ toggle", false) | ||
os.execute("/home/$USER/.config/awesome/components/toggle_mute.sh") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we instead call awful.spawn to run each command in the toggle_mute script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that should cause any problems, so it's probably good.
This should work for newer versions of alsa/Linux kernel.