Adding lots of changes
This commit is contained in:
parent
d4f511d8ce
commit
3488174a83
19 changed files with 462 additions and 98 deletions
|
@ -39,7 +39,7 @@ volume_slider:connect_signal(
|
|||
|
||||
local volume_level = volume_slider:get_value()
|
||||
|
||||
spawn('amixer -D pulse sset Master ' ..
|
||||
spawn('amixer set Master ' ..
|
||||
volume_level .. '%',
|
||||
false
|
||||
)
|
||||
|
@ -85,7 +85,7 @@ volume_slider:buttons(
|
|||
|
||||
local update_slider = function()
|
||||
awful.spawn.easy_async_with_shell(
|
||||
[[bash -c "amixer -D pulse sget Master"]],
|
||||
[[bash -c "amixer sget Master"]],
|
||||
function(stdout)
|
||||
|
||||
local volume = string.match(stdout, '(%d?%d?%d)%%')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue