Update 07-my-first-awesome.md (#3760)

The original documentation told me to just copy the `theme.lua` file, but that would yield the error:
![Error](https://i.imgur.com/nZVedGA.png)
I realized that the `theme.lua` by itself would call the surrounding files like so: `themes_path.. "default/example.png"

Would this change be possible?
This commit is contained in:
Hoid 2023-01-12 02:53:48 -05:00 committed by GitHub
parent ee06634599
commit d5a987d9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -79,11 +79,11 @@ the file, and change `default` to one of the other values mentioned:
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
However, for this tutorial we will copy and customize the default theme. However, for this tutorial we will copy and customize the default theme.
Copy `/usr/share/awesome/themes/default/theme.lua` to `~/.config/awesome/` Copy the folder `/usr/share/awesome/themes/default/` to `~/.config/awesome/`
and change the line shown above in `rc.lua` like this. Make sure to replace and change the line shown above in `rc.lua` like this. Make sure to replace
`USER` with your user name. `USER` with your user name.
beautiful.init("/home/USER/.config/awesome/theme.lua") beautiful.init("/home/USER/.config/awesome/default/theme.lua")
### Change the background image ### Change the background image