From c4bc88282598b916894bda94373e2021ff4b415d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 28 Feb 2020 08:53:02 +0000 Subject: [PATCH] doc: Update wallaper example in tutorial Reported by elbuggito in IRC that this the example line is no longer present in the default theme.lua. --- docs/07-my-first-awesome.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/07-my-first-awesome.md b/docs/07-my-first-awesome.md index d7e2de44..b9113ceb 100644 --- a/docs/07-my-first-awesome.md +++ b/docs/07-my-first-awesome.md @@ -87,7 +87,11 @@ user name): Your desktop background image is handled in your theme file. To change it, edit this line in your theme file: - beautiful.get().wallpaper = "/usr/share/awesome/themes/default/background.png" + theme.wallpaper = themes_path.."default/background.png" + +The default uses a path relative to `themes_path` by using the `..` operator to join two strings together. To just set it to an absolute path for example, you could do: + + theme.wallpaper = "/usr/share/backgrounds/my-awesome-wallpaper.png" ## Personalize your layouts