diff --git a/rc.lua b/rc.lua index 13b1eb6..8bb669a 100644 --- a/rc.lua +++ b/rc.lua @@ -373,24 +373,24 @@ local tasklist_buttons = gears.table.join( awful.client.focus.byidx(1) end)) -local function set_wallpaper(s) - -- Wallpaper - if beautiful.wallpaper then - local wallpaper = beautiful.wallpaper - -- If wallpaper is a function, call it with the screen - if type(wallpaper) == "function" then - wallpaper = wallpaper(s) - end - gears.wallpaper.maximized(wallpaper, s, true) - end -end +--local function set_wallpaper(s) +-- -- Wallpaper +-- if beautiful.wallpaper then +-- local wallpaper = beautiful.wallpaper +-- -- If wallpaper is a function, call it with the screen +-- if type(wallpaper) == "function" then +-- wallpaper = wallpaper(s) +-- end +-- gears.wallpaper.maximized(wallpaper, s, true) +-- end +--end -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) -screen.connect_signal("property::geometry", set_wallpaper) +--screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function(s) -- Wallpaper - set_wallpaper(s) + -- set_wallpaper(s) -- Each screen has its own tag table. awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-" }, s, awful.layout.layouts[4]) diff --git a/themes/zenburn/theme.lua b/themes/zenburn/theme.lua index 4bfd3c7..dc36fea 100644 --- a/themes/zenburn/theme.lua +++ b/themes/zenburn/theme.lua @@ -4,10 +4,13 @@ ------------------------------- local themes_path = require("gears.filesystem").get_themes_dir() +local home = os.getenv("HOME") +local cfgpath = home.."/.config/awesome" -- {{{ Main local theme = {} -theme.wallpaper = themes_path .. "zenburn/zenburn-background.png" +--theme.wallpaper = themes_path .. "zenburn/zenburn-background.png" +theme.wallpaper = cfgpath .. "/wallpaper.slink" -- }}} -- {{{ Styles @@ -131,9 +134,6 @@ theme.titlebar_maximized_button_normal_inactive = themes_path .. "zenburn/titleb -- }}} -- {{{ Widgets -local home = os.getenv("HOME") -local cfgpath = home.."/.config/awesome" - theme.widget_disk = cfgpath .. "/Icons/16x16/hdd_clear.png" theme.widget_cpu = cfgpath .. "/themes/default/widgets/cpu.png" theme.widget_ac = cfgpath .. "/themes/default/widgets/ac.png"