diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 4b90157..e06de4e 100755 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -462,6 +462,7 @@ globalkeys = awful.util.table.join( -- Show/Hide Wibox awful.key({ modkey }, "b", function () mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible + mybottomwibox[mouse.screen].visible = not mybottomwibox[mouse.screen].visible end), -- Layout manipulation diff --git a/rc.lua.rainbow b/rc.lua.rainbow index d188369..c3c3cf0 100755 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -190,11 +190,12 @@ fshome = lain.widgets.fs({ }) -- ALSA volume bar -myvolumebar = lain.widgets.alsabar() -volmargin = wibox.layout.margin(myvolumebar.widget, 5, 8, 80) +volume = lain.widgets.alsabar() +volmargin = wibox.layout.margin(volume.bar, 5, 8, 80) volmargin:set_top(7) volmargin:set_bottom(7) -volumewidget = wibox.widget.background(volmargin, beautiful.vol_bg) +volumewidget = wibox.widget.background(volmargin) +volumewidget:set_bgimage(beautiful.vol_bg) -- Weather yawn = lain.widgets.yawn(123456, @@ -435,22 +436,22 @@ globalkeys = awful.util.table.join( awful.key({ altkey }, "Up", function () awful.util.spawn("amixer -q set " .. volume.channel .. " " .. volume.step .. "+") - myvolumebar.notify() + volume.notify() end), awful.key({ altkey }, "Down", function () awful.util.spawn("amixer -q set " .. volume.channel .. " " .. volume.step .. "-") - myvolumebar.notify() + volume.notify() end), awful.key({ altkey }, "m", function () awful.util.spawn("amixer -q set " .. volume.channel .. " playback toggle") - myvolumebar.notify() + volume.notify() end), awful.key({ altkey, "Control" }, "m", function () awful.util.spawn("amixer -q set " .. volume.channel .. " playback 100%") - myvolumebar.notify() + volume.notify() end), -- MPD control diff --git a/rc.lua.steamburn b/rc.lua.steamburn index 9f3f079..ac322f4 100755 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -434,7 +434,6 @@ globalkeys = awful.util.table.join( -- Widgets popups awful.key({ altkey, }, "c", function () lain.widgets.calendar:show(7) end), - awful.key({ altkey, }, "h", function () fshome.show(7) end), awful.key({ altkey, }, "w", function () yawn.show(7) end), -- ALSA volume control