summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Davenport <DaveDavenport@users.noreply.github.com>2017-01-10 11:23:50 +0100
committerGitHub <noreply@github.com>2017-01-10 11:23:50 +0100
commit15cc7c5fb4fefe06f7274266c275e20207ffdeee (patch)
tree53b6c1e90aaa3f89f3343118d1ba2dc10a9db734 /doc
parent17155867a197ee296205770d7fff15185efd6172 (diff)
Update theme3-tutorial.md
Fix images.
Diffstat (limited to 'doc')
-rw-r--r--doc/theme3-tutorial.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/theme3-tutorial.md b/doc/theme3-tutorial.md
index 2dfac33f..fc00d352 100644
--- a/doc/theme3-tutorial.md
+++ b/doc/theme3-tutorial.md
@@ -10,7 +10,7 @@ We first create an empty theme file: **arthur.rasi**
```
We can preview this with `rofi -theme arthur.rasi -show run`. At this stage we see a black and white window.
-[theme empty](./rofi-theme3-empty.png)
+![theme empty](./rofi-theme3-empty.png)
Lets add the different colors to the global properties:
@@ -64,7 +64,7 @@ As shown in this example, both C and C++ style comments are allows.
We set the default foreground and background color, and add some aliases for other colors we can use.
-[theme empty](./rofi-theme3-empty.png)
+![theme empty](./rofi-theme3-global.png)
As you can seen in the screenshot each widget takes the global background and foreground color.
@@ -91,7 +91,7 @@ We want to give the window, and each child, a padding of 10 pixels and a 1 pixel
}
```
-[theme padding border](./rofi-theme3-padbor.png)
+![theme padding border](./rofi-theme3-padbor.png)
This clearly shows how inheritance works, each child widget inherits the properties of its parents.
So if we want to only set padding and border on the window, we need to specify the window box:
@@ -108,7 +108,7 @@ So if we want to only set padding and border on the window, we need to specify t
}
```
-[theme padding border box](./rofi-theme3-padbor-box.png)
+![theme padding border box](./rofi-theme3-padbor-box.png)
This example also shows how you can override the foreground color and refer to the global property `magenta`.
@@ -180,7 +180,7 @@ Now that we have this, lets extend the example a little:
}
```
-[theme extend](./rofi-theme3-extend.png)
+![theme extend](./rofi-theme3-extend.png)
In this example we see a few new things.
@@ -199,7 +199,7 @@ For this we add:
}
```
-[theme extend](./rofi-theme3-extend-selected.png)
+![theme extend](./rofi-theme3-extend-selected.png)
This already gives us a usable theme.
Lets extend it, so urgent and active rows are visible:
@@ -219,7 +219,7 @@ Lets extend it, so urgent and active rows are visible:
}
```
-[theme extend](./rofi-theme3-extend-colors.png)
+![theme extend](./rofi-theme3-extend-colors.png)
So why does this require so many options (and we are not there yet)?