diff options
Diffstat (limited to 'awesome')
| -rw-r--r-- | awesome/rc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index 0e4cbb3..b7d803f 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -52,7 +52,10 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") -beautiful.wallpaper = awful.util.get_configuration_dir() .. "wallpaper.png" +beautiful.wallpaper = function(s) + local dim = tostring(s.geometry.width) .. "x" .. tostring(s.geometry.height) + return "/etc/alternatives/desktop-theme/wallpaper/contents/images/" .. dim .. ".svg" +end -- This is used later as the default terminal and editor to run. terminal = "x-terminal-emulator" |
