Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

RedstonerCKZ
Copy link

This should work for newer versions of alsa/Linux kernel.

@RedstonerCKZ
Copy link
Author

Also make sure to add brightnessctl as a dependency (for controlling backlight.)

@WillPower3309
Copy link
Owner

Thanks! Ill be taking a closer look at this when I have time this weekend

@RedstonerCKZ
Copy link
Author

Hello, have you took a look at the pull request yet? Thanks.

Copy link
Owner

@WillPower3309 WillPower3309 left a 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")
Copy link
Owner

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?

Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants