Merge pull request #3012 from mwild1/patch-1

doc: Update wallaper example in tutorial
This commit is contained in:
mergify[bot] 2020-02-29 21:56:08 +00:00 committed by GitHub
commit 2cf64c5afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -87,7 +87,11 @@ user name):
Your desktop background image is handled in your theme file. To change it, edit Your desktop background image is handled in your theme file. To change it, edit
this line in your theme file: 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 ## Personalize your layouts