From a2b49474f7334bd3b17cb47c73c12f8b2eac28e5 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Fri, 13 Sep 2013 23:08:18 +0200 Subject: [PATCH] some oversights fixed --- rc.lua.multicolor | 1 + rc.lua.rainbow | 15 ++++++++------- rc.lua.steamburn | 1 - 3 files changed, 9 insertions(+), 8 deletions(-) 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