X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bcd37ae4ae4f0e5d11ab6d8f6a9580e840447327..5383f3db0dbb7e06f09a61e1db803a656abe252e:/widgets/pulsebar.lua?ds=inline diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index 6818a5c..b7fb1e9 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -9,22 +9,19 @@ local newtimer = require("lain.helpers").newtimer local read_pipe = require("lain.helpers").read_pipe - local awful = require("awful") local beautiful = require("beautiful") local naughty = require("naughty") local wibox = require("wibox") - local math = { modf = math.modf } local mouse = mouse local string = { format = string.format, match = string.match, rep = string.rep } local tonumber = tonumber - local setmetatable = setmetatable --- ALSA volume bar +-- Pulseaudio volume bar -- lain.widgets.pulsebar local pulsebar = { sink = 0, @@ -55,8 +52,8 @@ function pulsebar.notify() title = "", text = "", timeout = 5, - font = string.format("%s %s", alsabar.notifications.font, - alsabar.notifications.font_size), + font = string.format("%s %s", pulsebar.notifications.font, + pulsebar.notifications.font_size), fg = pulsebar.notifications.color }