From 8907f5bfbb89156ceef4ec4bd05f35b46b926f61 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Wed, 31 Mar 2021 08:17:46 +0200 Subject: [PATCH] docs(tutorial): Improve instructions to edit theme Fixes #3306. Signed-off-by: Lucas Schwiderski --- docs/07-my-first-awesome.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/07-my-first-awesome.md b/docs/07-my-first-awesome.md index b9113ceb..5b6129a1 100644 --- a/docs/07-my-first-awesome.md +++ b/docs/07-my-first-awesome.md @@ -65,20 +65,18 @@ overview now also provides a cheat sheet for controlling Vim. ## Change the theme -Awesome has four themes you can choose from: *default*, *sky*, *xresources*, and -*zenburn*. +Awesome has four builtin themes you can choose from: *default*, *sky*, +*xresources*, and *zenburn*. -To change the theme, open your rc.lua and edit this line near the beginning of -the file: +To change the theme, open your `rc.lua`, find this line near the beginning of +the file, and change `default` to one of the other values mentioned: beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") -For this tutorial we will stick with the default theme. - -Now we will customize the theme. Copy -`/usr/share/awesome/themes/default/theme.lua` to `~/.config/awesome/` and change -the above line in your theme like this (remember to replace `USER` with your -user name): +However, for this tutorial we will copy and customize the default theme. +Copy `/usr/share/awesome/themes/default/theme.lua` to `~/.config/awesome/` +and change the line shown above in `rc.lua` like this. Make sure to replace +`USER` with your user name. beautiful.init("/home/USER/.config/awesome/theme.lua")