From cfaf87df511397064e5ffe8f3628b1fba55a3582 Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Tue, 28 Feb 2017 18:27:53 +0100 Subject: [PATCH] lain: new commit --- lain | 2 +- themes/blackburn/theme.lua | 2 +- themes/copland/theme.lua | 2 +- themes/dremora/theme.lua | 2 +- themes/holo/theme.lua | 2 +- themes/multicolor/theme.lua | 2 +- themes/powerarrow-dark/theme.lua | 2 +- themes/rainbow/theme.lua | 2 +- themes/steamburn/theme.lua | 2 +- themes/vertex/theme.lua | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lain b/lain index a5d6806..cc8de6a 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit a5d68067cfa5759bf55576784563092b5ca5629f +Subproject commit cc8de6a059757bc5ea3f8f7013db55ab3af924a5 diff --git a/themes/blackburn/theme.lua b/themes/blackburn/theme.lua index fc6c3eb..9166ee2 100644 --- a/themes/blackburn/theme.lua +++ b/themes/blackburn/theme.lua @@ -209,7 +209,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/copland/theme.lua b/themes/copland/theme.lua index 8dcba18..6192277 100644 --- a/themes/copland/theme.lua +++ b/themes/copland/theme.lua @@ -293,7 +293,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/dremora/theme.lua b/themes/dremora/theme.lua index aae73cb..570a165 100644 --- a/themes/dremora/theme.lua +++ b/themes/dremora/theme.lua @@ -191,7 +191,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/holo/theme.lua b/themes/holo/theme.lua index 61fa26d..e011543 100644 --- a/themes/holo/theme.lua +++ b/themes/holo/theme.lua @@ -290,7 +290,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/multicolor/theme.lua b/themes/multicolor/theme.lua index 3c5393c..ae63b71 100644 --- a/themes/multicolor/theme.lua +++ b/themes/multicolor/theme.lua @@ -256,7 +256,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/powerarrow-dark/theme.lua b/themes/powerarrow-dark/theme.lua index 4e3448b..c8e5b74 100644 --- a/themes/powerarrow-dark/theme.lua +++ b/themes/powerarrow-dark/theme.lua @@ -250,7 +250,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/rainbow/theme.lua b/themes/rainbow/theme.lua index f369ea9..1efb073 100644 --- a/themes/rainbow/theme.lua +++ b/themes/rainbow/theme.lua @@ -213,7 +213,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/steamburn/theme.lua b/themes/steamburn/theme.lua index e3e0c22..c97e420 100644 --- a/themes/steamburn/theme.lua +++ b/themes/steamburn/theme.lua @@ -207,7 +207,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true) diff --git a/themes/vertex/theme.lua b/themes/vertex/theme.lua index a058611..02db31c 100644 --- a/themes/vertex/theme.lua +++ b/themes/vertex/theme.lua @@ -387,7 +387,7 @@ function theme.at_screen_connect(s) s.quake = lain.util.quake({ app = awful.util.terminal, border = theme.border_width }) -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then + if type(theme.wallpaper) == "function" then theme.wallpaper = theme.wallpaper(s) end gears.wallpaper.maximized(theme.wallpaper, s, true)