From ff8c2fe4603ae26f31e8e49f5aa59fb4b973719e Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 28 Apr 2009 23:15:48 +0200 Subject: [PATCH] themes: simplify wallpaper_cmd Signed-off-by: Julien Danjou --- themes/default/theme.lua.in | 3 +-- themes/sky/theme.lua.in | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/themes/default/theme.lua.in b/themes/default/theme.lua.in index 692fb199..efc87b04 100644 --- a/themes/default/theme.lua.in +++ b/themes/default/theme.lua.in @@ -72,8 +72,7 @@ theme.titlebar_maximized_button_normal_active = "@AWESOME_THEMES_PATH@/default/t theme.titlebar_maximized_button_focus_active = "@AWESOME_THEMES_PATH@/default/titlebar/maximized_focus_active.png" -- You can use your own command to set your wallpaper -theme.wallpaper_cmd = { [1] = "awsetbg @AWESOME_THEMES_PATH@/default/background.png", - [2] = "awsetbg @AWESOME_THEMES_PATH@/default/background.png" } +theme.wallpaper_cmd = { "awsetbg @AWESOME_THEMES_PATH@/default/background.png" } -- You can use your own layout icons like this: theme.layout_fairh = "@AWESOME_THEMES_PATH@/default/layouts/fairhw.png" diff --git a/themes/sky/theme.lua.in b/themes/sky/theme.lua.in index e49b4d7a..bbd9033e 100644 --- a/themes/sky/theme.lua.in +++ b/themes/sky/theme.lua.in @@ -44,8 +44,7 @@ theme.taglist_squares_sel = "@AWESOME_THEMES_PATH@/default/taglist/squarefw.pn theme.taglist_squares_unsel = "@AWESOME_THEMES_PATH@/default/taglist/squarew.png" -- MISC -theme.wallpaper_cmd = { [1] = "awsetbg @AWESOME_THEMES_PATH@/sky/sky-background.png", - [2] = "awsetbg @AWESOME_THEMES_PATH@/sky/sky-background.png" } +theme.wallpaper_cmd = { "awsetbg @AWESOME_THEMES_PATH@/sky/sky-background.png" } theme.taglist_squares = "true" theme.titlebar_close_button = "true" theme.menu_height = "15"