Skip to content

Commit

Permalink
undo 'set card' from projektile/master
Browse files Browse the repository at this point in the history
  • Loading branch information
luke bonham committed Sep 26, 2014
1 parent eac8845 commit c4c149d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widgets/alsa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ local alsa = {}
local function worker(args)
local args = args or {}
local timeout = args.timeout or 5
local channel = args.channel or "Master -c 1"
local channel = args.channel or "Master"
local settings = args.settings or function() end

alsa.widget = wibox.widget.textbox('')

function alsa.update()
local f = assert(io.popen('amixer get ' .. channel))
local mixer = f:read("*all")
local f = assert(io.popen('amixer -M get ' .. channel))
local mixer = f:read("*a")
f:close()

volume_now = {}
Expand Down

0 comments on commit c4c149d

Please sign in to comment.