summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c089750)
pactl is much more likely to be installed on systems.
end
function utils.get_default_sink()
end
function utils.get_default_sink()
- local f = io.popen('ponymix defaults --short')
+ local f = io.popen('pactl get-default-sink')
line = f:read('*l')
f:close()
return string.match(line, "^sink%s*%d*%s*(.-)%s")
line = f:read('*l')
f:close()
return string.match(line, "^sink%s*%d*%s*(.-)%s")