mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +02:00
volume: implement mic toggle as well
This commit is contained in:
parent
13c4698c5b
commit
02e16874c9
2 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,10 @@ function toggle()
|
|||
change("toggle")
|
||||
end
|
||||
|
||||
function mictoggle()
|
||||
os.execute("amixer -q -D pulse sset Capture toggle", false)
|
||||
end
|
||||
|
||||
-- run pavucontrol
|
||||
function mixer()
|
||||
awful.util.spawn("pavucontrol", false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue