Skip to content

Commit c95c2b8

Browse files
authored
V2 (#21)
* v2 * fixes * cleanup * key events * README.md * cleanup * background: cleanup * 24hour: append zero
1 parent 655574c commit c95c2b8

File tree

116 files changed

+3663
-5058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+3663
-5058
lines changed

README.md

Lines changed: 35 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,10 @@
55
A sleek, modern, and glorified lightdm webkit2 theme
66

77
## [Live Demo](https://manilarome.github.io/lightdm-webkit2-theme-glorious)
8-
#### Demo password: `toor`
9-
10-
### Gallery
11-
12-
| Login Screen |
13-
| --- |
14-
| ![screenshot](scrots/login.webp) |
15-
16-
| Sessions Screen |
17-
| --- |
18-
| ![screenshot](scrots/sessions.webp) |
19-
20-
| Users Screen |
21-
| --- |
22-
| ![screenshot](scrots/users.webp) |
23-
24-
| Power Screen |
25-
| --- |
26-
| ![screenshot](scrots/power.webp) |
27-
28-
| Settings Screen |
29-
| --- |
30-
| ![screenshot](scrots/settings.webp) |
318

32-
| Settings background | Settings Theme | Settings Keybinds |
33-
| --- | --- | --- |
34-
| ![screenshot](scrots/settings-bg.webp) | ![screenshot](scrots/settings-theme.webp) | ![screenshot](scrots/settings-keybinds.webp) |
9+
#### Demo password: `toor`
3510

11+
<p align='center'><img alt='glorious' src='glorious.gif'/><br/><i>glorious - a lightdm webkit 2 theme</i></p>
3612

3713
### Dependencies
3814

@@ -46,14 +22,21 @@ Please make sure you don't have an ancient version of these.
4622

4723
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.
4824

49-
1. Get the theme by cloning it or by installing it from `AUR`.
25+
1. Install it. You can get the theme by cloning this repo or by installing it from `AUR` using `makepkg` or an AUR helper like `yay`.
5026

51-
+ **If you're using Archlinux**, you can install it using `makepkg` or by using an `AUR helper` like `yay`.
27+
+ AUR route.
5228

5329
```
54-
$ yay -S lightdm-webkit2-theme-glorious
30+
# AUR Helper
31+
$ yay -Syu lightdm-webkit2-theme-glorious
32+
33+
# Makepkg route
34+
$ git clone https://aur.archlinux.org/lightdm-webkit2-theme-glorious.git
35+
$ cd lightdm-webkit2-theme-glorious
36+
$ makepkg -sri
5537
```
56-
+ Clone the repository, then copy it to the `lightdm-webkit`'s `theme` folder.
38+
39+
+ Clone the repo route.
5740

5841
```
5942
$ git clone --depth 1 https://github.com/manilarome/lightdm-webkit2-theme-glorious
@@ -67,12 +50,12 @@ Please make sure you don't have an ancient version of these.
6750
# Find `greeter-session` under the `[Seat:*]` section, uncomment it, then set its value to `lightdm-webkit2-greeter`.
6851
```
6952

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.
53+
4. Set it as the lightdm webkit2 theme then enable `debug_mode` by setting it to `true`. Why do we need to enable `debug_mode`? 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.
7154

7255
```
7356
$ sudoedit /etc/lightdm/lightdm-webkit2-greeter.conf
7457
# Find `webkit_theme` then set its value to `glorious`.
75-
# Find `debug-mode` then set it to true.
58+
# Find `debug_mode` then set it to true.
7659
# If you encountered an error, right-click then reload.
7760
```
7861

@@ -82,48 +65,47 @@ Please make sure you don't have an ancient version of these.
8265
+ Customization and Settings
8366
+ Keyboard navigation
8467
+ Remappable keybindings
85-
+ Change color schemes and background image on-the-fly
8668
+ Swipe gestures
87-
+ Vanilla Javascript <sup>(not sure if this is a feature tho)</sup>
69+
+ Vanilla Javascript!
8870

8971
### Swipe gestures
9072

91-
Why do we have this? Linux can be installed on almost anything. Yes, even on a potato. So swipe gestures exist to save myself some time if someone decided to use this theme on a touch screen device.
73+
Why do we have this? Linux can be installed on almost anything. Yes, even on a potato. So it exists to save myself some time if someone (including myself) decided to use this theme on a touch screen device (like touch screen potato? Who knows).
9274

75+
+ Swiping up on the greeter screen will close it.
9376
+ Swiping down on the login screen will open the greeter screen.
94-
+ Swiping right on the login screen will open the session screen.
95-
+ Swiping left on the login screen will open the users screen.
96-
+ Swiping up on the login screen will open the power screen.
97-
+ Swiping up on the greeter, user, power,and session screens will close them.
77+
+ Swiping left will open the dashboard.
78+
+ Swiping right will close the dashboard.
9879

99-
### Keybinding
80+
### Keybinds
10081

101-
The default modifier is <kbd>Alt</kbd> and you can change it in the settings.
82+
The default modifier is <kbd>Alt</kbd>. You can change it in the settings.
10283

103-
+ <kbd>Modifier + s</kbd> toggle session screen
104-
+ <kbd>Modifier + e</kbd> toggle power screen
105-
+ <kbd>Modifier + x</kbd> toggle settings screen
106-
+ <kbd>Modifier + y</kbd> toggle users screen
107-
+ <kbd>Escape</kbd> to close the screens
84+
+ <kbd>Modifier + s</kbd> opens the dashboard.
85+
+ <kbd>Modifier + e</kbd> opens the session selection.
86+
+ <kbd>Modifier + x</kbd> opens the power selection.
87+
+ <kbd>Modifier + y</kbd> opens the account selection.
88+
+ <kbd>Escape</kbd> to close or go back.
10889

10990
### Customization and Settings
11091

111-
#### Changing the colors, blur strength, animation speed, and background image on-the-fly
112-
113-
+ Open the dashboard by clicking the settings button on the dock.
114-
+ Change the color and blur strength by setting it on the `Theme Engine` section.
11592
+ Color settings supports `#RGB`, `#RRGGBB`, and `#RRGGBBAA`.
11693
+ Blur strength settings only allows integer with `px` suffix.
11794
+ Animation speed supports `s` and `ms`.
118-
+ Background image selection.
119-
+ Background image random selection.
95+
+ Background image selection. Selection supports randomness.
96+
97+
### Changing clock mode
98+
99+
There are two clock modes available - `24-hour` and `12-hour`. Switch between clock modes by just clicking on the clock. Simple.
120100

121101
### Notes
122102

123103
+ You can add more background images by putting your wallpapers/images in `/usr/share/backgrounds/`.
104+
+ Make sure that you only have image files and directories inside `/usr/share/backgrounds/` or it will cause an error!
124105
+ If you're on a desktop environment like KDE Plasma and GNOME3, you can set your profile picture and real name in the settings. While if you're on a more minimal environment like window managers, you can install and use the program called `mugshot`.
125106
+ If your desktop environment or window manager's logo is not in the sessions screen, feel free to submit a [pull request](https://github.com/manilarome/lightdm-webkit2-theme-glorious/pulls)!
107+
+ Translations are not yet supported. PR's are welcome!
126108

127109
### Credits
128110

129-
<span>Background image by <a href="https://unsplash.com/@johnonolan?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">John O'Nolan</a> on <a href="https://unsplash.com/s/photos/waves?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>
111+
<span>Background image by <a href="https://unsplash.com/@korpa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jr Korpa</a> on <a href="https://unsplash.com/s/photos/cherry-blossoms-purple?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>

assets/bg.jpg

-2 MB
Loading

assets/power.svg

Lines changed: 57 additions & 0 deletions
Loading

assets/profiles/gyroz.jpg

29.1 KB
Loading

assets/profiles/johnnyj.jpg

80.4 KB
Loading

assets/profiles/josukeh.jpg

78.4 KB
Loading

assets/profiles/yasuhoh.jpg

80.2 KB
Loading

assets/random.jpg

20.7 KB
Loading

assets/next.svg renamed to assets/session.svg

Lines changed: 45 additions & 38 deletions
Loading

assets/sessions/bspwm.png

-2.74 KB
Loading

0 commit comments

Comments
 (0)