From c86a1c3f27eaebe03fc3e1fe4d390c8735e0a2e4 Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Thu, 12 Jan 2017 18:55:39 +0100 Subject: [PATCH] small fixes --- rc.lua.blackburn | 8 +++----- rc.lua.copland | 15 ++++----------- rc.lua.dremora | 9 +++------ rc.lua.holo | 32 +++++++++++--------------------- rc.lua.multicolor | 9 +++------ 5 files changed, 24 insertions(+), 49 deletions(-) diff --git a/rc.lua.blackburn b/rc.lua.blackburn index 32a4ab6..0b7a9af 100644 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -74,11 +74,6 @@ lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.centerfair.nmaster = 3 lain.layout.centerfair.ncol = 1 - --- quake application -for s in screen do - s.quake = lain.util.quake({ app = terminal }) -end -- }}} -- {{{ Helper functions @@ -289,6 +284,9 @@ local barcolor = gears.color({ screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) + -- Quake application + s.quake = lain.util.quake({ app = terminal }) + -- Wallpaper set_wallpaper(s) diff --git a/rc.lua.copland b/rc.lua.copland index ff85e23..de45e1e 100644 --- a/rc.lua.copland +++ b/rc.lua.copland @@ -57,7 +57,6 @@ run_once("unclutter -root") -- }}} -- {{{ Variable definitions - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/copland/theme.lua") @@ -77,11 +76,6 @@ lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.centerfair.nmaster = 3 lain.layout.centerfair.ncol = 1 - --- quake application -for s in screen do - s.quake = lain.util.quake({ app = terminal }) -end -- }}} -- {{{ Helper functions @@ -349,6 +343,9 @@ end screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) + -- Quake application + s.quake = lain.util.quake({ app = terminal }) + -- Wallpaper set_wallpaper(s) @@ -356,12 +353,8 @@ awful.screen.connect_for_each_screen(function(s) awful.layout.suit.floating, awful.layout.suit.fair, awful.layout.suit.tile, - lain.layout.uselessfair.horizontal, - lain.layout.uselesstile, - lain.layout.uselessfair, lain.layout.termfair, - lain.layout.centerfair, - lain.layout.uselesspiral.dwindle + lain.layout.centerfair }) -- Create a promptbox for each screen diff --git a/rc.lua.dremora b/rc.lua.dremora index 451ef20..98278fd 100644 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -55,7 +55,6 @@ run_once("unclutter -root") -- }}} -- {{{ Variable definitions - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/dremora/theme.lua") @@ -75,11 +74,6 @@ lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.centerfair.nmaster = 3 lain.layout.centerfair.ncol = 1 - --- quake application -for s in screen do - s.quake = lain.util.quake({ app = terminal }) -end -- }}} -- {{{ Helper functions @@ -286,6 +280,9 @@ end screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) + -- Quake application + s.quake = lain.util.quake({ app = terminal }) + -- Wallpaper set_wallpaper(s) diff --git a/rc.lua.holo b/rc.lua.holo index 4fb698f..f7ae4e5 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -56,7 +56,6 @@ run_once("unclutter -root") -- }}} -- {{{ Variable definitions - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/holo/theme.lua") @@ -77,11 +76,6 @@ lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.centerfair.nmaster = 3 lain.layout.centerfair.ncol = 1 - --- quake application -for s in screen do - s.quake = lain.util.quake({ app = terminal }) -end -- }}} -- {{{ Helper functions @@ -285,20 +279,13 @@ myweather = lain.widgets.weather({ -- Separators first = wibox.widget.textbox(' ') -spr_small = wibox.widget.imagebox() -spr_small:set_image(beautiful.spr_small) -spr_very_small = wibox.widget.imagebox() -spr_very_small:set_image(beautiful.spr_very_small) -spr_right = wibox.widget.imagebox() -spr_right:set_image(beautiful.spr_right) -spr_bottom_right = wibox.widget.imagebox() -spr_bottom_right:set_image(beautiful.spr_bottom_right) -spr_left = wibox.widget.imagebox() -spr_left:set_image(beautiful.spr_left) -bar = wibox.widget.imagebox() -bar:set_image(beautiful.bar) -bottom_bar = wibox.widget.imagebox() -bottom_bar:set_image(beautiful.bottom_bar) +spr_small = wibox.widget.imagebox(beautiful.spr_small) +spr_very_small = wibox.widget.imagebox(beautiful.spr_very_small) +spr_right = wibox.widget.imagebox(beautiful.spr_right) +spr_bottom_right = wibox.widget.imagebox(beautiful.spr_bottom_right) +spr_left = wibox.widget.imagebox(beautiful.spr_left) +bar = wibox.widget.imagebox(beautiful.bar) +bottom_bar = wibox.widget.imagebox(beautiful.bottom_bar) -- Create a wibox for each screen and add it local taglist_buttons = awful.util.table.join( @@ -366,6 +353,9 @@ local barcolor = gears.color({ screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) + -- Quake application + s.quake = lain.util.quake({ app = terminal }) + -- Wallpaper set_wallpaper(s) @@ -374,7 +364,7 @@ awful.screen.connect_for_each_screen(function(s) awful.layout.suit.fair, awful.layout.suit.tile, awful.layout.suit.tile.left, - awful.layout.suit.tile.top, + awful.layout.suit.tile.top }) -- Create a promptbox for each screen diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 5046968..9d9729f 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -55,7 +55,6 @@ run_once("unclutter -root") -- }}} -- {{{ Variable definitions - -- beautiful init beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/multicolor/theme.lua") @@ -75,11 +74,6 @@ lain.layout.termfair.nmaster = 3 lain.layout.termfair.ncol = 1 lain.layout.centerfair.nmaster = 3 lain.layout.centerfair.ncol = 1 - --- quake application -for s in screen do - s.quake = lain.util.quake({ app = terminal }) -end -- }}} -- {{{ Helper functions @@ -345,6 +339,9 @@ end screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) + -- Quake application + s.quake = lain.util.quake({ app = terminal }) + -- Wallpaper set_wallpaper(s)