Skip to content

Commit 655574c

Browse files
committed
README
1 parent 8f70d78 commit 655574c

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,19 @@ Please make sure you don't have an ancient version of these.
4444

4545
### Installation
4646

47-
#### AUR
48-
49-
```
50-
$ yay -S lightdm-webkit2-theme-glorious
51-
```
52-
53-
#### Manual
54-
5547
0. If you're using `systemd`, make sure that `lightdm.service` or `lightdm-plymouth.service` is enabled and running. There's a bunch of guides on the internet. [Archwiki](https://wiki.archlinux.org/index.php/LightDM) is recommended.
5648

57-
1. Clone it.
49+
1. Get the theme by cloning it or by installing it from `AUR`.
50+
51+
+ **If you're using Archlinux**, you can install it using `makepkg` or by using an `AUR helper` like `yay`.
5852

5953
```
60-
$ git clone --depth 1 https://github.com/manilarome/lightdm-webkit2-theme-glorious
54+
$ yay -S lightdm-webkit2-theme-glorious
6155
```
62-
63-
2. Copy the theme to the lightdm webkit theme folder.
56+
+ Clone the repository, then copy it to the `lightdm-webkit`'s `theme` folder.
6457

6558
```
59+
$ git clone --depth 1 https://github.com/manilarome/lightdm-webkit2-theme-glorious
6660
# cp lightdm-webkit2-theme-glorious /usr/share/lightdm-webkit/themes/glorious -r
6761
```
6862

@@ -73,11 +67,13 @@ $ yay -S lightdm-webkit2-theme-glorious
7367
# Find `greeter-session` under the `[Seat:*]` section, uncomment it, then set its value to `lightdm-webkit2-greeter`.
7468
```
7569

76-
4. Set as lightdm webkit2 theme.
70+
4. Set it as the lightdm webkit2 theme then enable `debug_mode` by setting it to `true`. Why do we need to enable it, you say? Sometimes you will be greeted by an error. And this error is due to a race condition. Where the theme is trying to access the `lightdm` object even though it doesn't exist *yet*. Debug mode will allow you to `right-click` and `reload` the greeter just like a webpage allowing you to log-in. I don't know how to fix this yet, so yeah, PRs welcome.
7771

7872
```
7973
$ sudoedit /etc/lightdm/lightdm-webkit2-greeter.conf
8074
# Find `webkit_theme` then set its value to `glorious`.
75+
# Find `debug-mode` then set it to true.
76+
# If you encountered an error, right-click then reload.
8177
```
8278

8379
### Features

0 commit comments

Comments
 (0)