mirror of https://github.com/lcpz/lain.git
alsabar: fixed 'ticks' boolean issue; wiki updated
This commit is contained in:
parent
a71b796ac8
commit
0ef9d8c78f
|
@ -95,7 +95,7 @@ local function worker(args)
|
||||||
local settings = args.settings or function() end
|
local settings = args.settings or function() end
|
||||||
local width = args.width or 63
|
local width = args.width or 63
|
||||||
local height = args.heigth or 1
|
local height = args.heigth or 1
|
||||||
local ticks = args.ticks or true
|
local ticks = args.ticks or false
|
||||||
local ticks_size = args.ticks_size or 7
|
local ticks_size = args.ticks_size or 7
|
||||||
local vertical = args.vertical or false
|
local vertical = args.vertical or false
|
||||||
|
|
||||||
|
@ -113,8 +113,7 @@ local function worker(args)
|
||||||
alsabar.bar:set_height(height)
|
alsabar.bar:set_height(height)
|
||||||
alsabar.bar:set_ticks(ticks)
|
alsabar.bar:set_ticks(ticks)
|
||||||
alsabar.bar:set_ticks_size(ticks_size)
|
alsabar.bar:set_ticks_size(ticks_size)
|
||||||
|
alsabar.bar:set_vertical(vertical)
|
||||||
if vertical then alsabar.bar:set_vertical(true) end
|
|
||||||
|
|
||||||
function alsabar.update()
|
function alsabar.update()
|
||||||
-- Get mixer control contents
|
-- Get mixer control contents
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 780ce12033c8aa90c5060280cfbdfd6fddc7584f
|
Subproject commit 41d28b93ebbeb7e51584032e88c748426ea6cd82
|
Loading…
Reference in New Issue