Skip to content

Commit 75583a7

Browse files
authored
v.1.4.2 (#19)
1 parent 409ebec commit 75583a7

File tree

4 files changed

+37
-39
lines changed

4 files changed

+37
-39
lines changed

README.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,56 @@
1-
## the glorious lightdm webkit2 theme
1+
## The glorious lightdm webkit2 theme
22

33
[![maintained](https://img.shields.io/maintenance/yes/2020?label=maintained&style=flat-square)](https://github.com/manilarome/the-glorious-lightdm-webkit2-theme/commits/master) [![contributions](https://img.shields.io/badge/contribution-welcome-brightgreen&?style=flat-square)](https://github.com/manilarome/the-glorious-lightdm-webkit2-theme/pulls) [![HitCount](http://hits.dwyl.com/manilarome/the-glorious-lightdm-webkit2-theme.svg)](http://hits.dwyl.com/manilarome/the-glorious-lightdm-webkit2-theme) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0812167ef9954b74ac23f7c1bfeb3764)](https://www.codacy.com?utm_source=github.com&utm_medium=referral&utm_content=manilarome/the-glorious-lightdm-webkit2-theme&utm_campaign=Badge_Grade)
44

5-
a modern, glorified lightdm webkit2 theme
5+
A sleek, modern, and glorified lightdm webkit2 theme
66

7-
## [live demo here](https://manilarome.github.io/lightdm-webkit2-theme-glorious)
7+
## [Live Demo](https://manilarome.github.io/lightdm-webkit2-theme-glorious)
8+
#### Demo password: `toor`
89

9-
### gallery
10+
### Gallery
1011

11-
| login screen |
12+
| Login Screen |
1213
| --- |
1314
| ![screenshot](scrots/login.webp) |
1415

15-
| sessions screen |
16+
| Sessions Screen |
1617
| --- |
1718
| ![screenshot](scrots/sessions.webp) |
1819

19-
| users screen |
20+
| Users Screen |
2021
| --- |
2122
| ![screenshot](scrots/users.webp) |
2223

23-
| power screen |
24+
| Power Screen |
2425
| --- |
2526
| ![screenshot](scrots/power.webp) |
2627

27-
| settings screen |
28+
| Settings Screen |
2829
| --- |
2930
| ![screenshot](scrots/settings.webp) |
3031

31-
| settings background | settings theme | settings keybinds |
32+
| Settings background | Settings Theme | Settings Keybinds |
3233
| --- | --- | --- |
3334
| ![screenshot](scrots/settings-bg.webp) | ![screenshot](scrots/settings-theme.webp) | ![screenshot](scrots/settings-keybinds.webp) |
3435

3536

36-
### dependencies
37+
### Dependencies
3738

38-
Make sure you have the latest version.
39+
Please make sure you don't have an ancient version of these.
3940

4041
+ lightdm
4142
+ lightdm-webkit2-greeter
4243
+ an environment, a desktop environment or a window manager
4344

44-
### installation
45+
### Installation
4546

46-
#### aur
47+
#### AUR
4748

48-
```bash
49+
```
4950
$ yay -S lightdm-webkit2-theme-glorious
5051
```
5152

52-
#### manual
53+
#### Manual
5354

5455
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.
5556

@@ -79,25 +80,27 @@ $ yay -S lightdm-webkit2-theme-glorious
7980
# Find `webkit_theme` then set its value to `glorious`.
8081
```
8182

82-
### features
83+
### Features
8384

8485
+ Multi-user support
8586
+ Customization and Settings
86-
+ Keybindings navigation
87+
+ Keyboard navigation
8788
+ Remappable keybindings
8889
+ Change color schemes and background image on-the-fly
8990
+ Swipe gestures
9091
+ Vanilla Javascript <sup>(not sure if this is a feature tho)</sup>
9192

92-
### swipe gestures
93+
### Swipe gestures
94+
95+
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.
9396

9497
+ Swiping down on the login screen will open the greeter screen.
9598
+ Swiping right on the login screen will open the session screen.
9699
+ Swiping left on the login screen will open the users screen.
97100
+ Swiping up on the login screen will open the power screen.
98101
+ Swiping up on the greeter, user, power,and session screens will close them.
99102

100-
### keybinding
103+
### Keybinding
101104

102105
The default modifier is <kbd>Alt</kbd> and you can change it in the settings.
103106

@@ -125,8 +128,6 @@ The default modifier is <kbd>Alt</kbd> and you can change it in the settings.
125128
+ 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`.
126129
+ 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)!
127130

128-
### credits
131+
### Credits
129132

130133
<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>
131-
132-
<span>Old background image by <a href="https://unsplash.com/@wilstewart3?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Wil Stewart</a> on <a href="/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>

css/mainscreen/main-form.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ label#userName {
9595
}
9696

9797
20% {
98-
transform: translate(3em);
98+
transform: translate(0.5em);
9999
}
100100

101101
40% {
102-
transform: translate(-3em);
102+
transform: translate(-0.5em);
103103
}
104104

105105
60% {
106-
transform: translate(3em);
106+
transform: translate(0.5em);
107107
}
108108

109109
80% {
110-
transform: translate(-3em);
110+
transform: translate(-0.5em);
111111
}
112112

113113
100% {
@@ -116,7 +116,7 @@ label#userName {
116116
}
117117

118118
#passwordInputContainer.shake {
119-
animation: shake 0.5s infinite;
119+
animation: shake 0.25s infinite;
120120
}
121121

122122
#passwordInputBox {

js/authentication.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ class Authentication {
160160
if (this._password.length < 1) {
161161
return;
162162
}
163-
// Prevent login spamming
164-
if (profilePictureRotate.getProfileAnimationStatus()) return;
165-
// Rotate profile picture
166-
profilePictureRotate.rotateProfilePicture();
167163

168164
// Validation
169165
lightdm.respond(String(this._password));

js/debug-mode.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,31 +99,32 @@ class DebugMode {
9999
},
100100
respond: password => {
101101
console.log(`Password provided: '${password}'`);
102-
if (password === this._debugModePass)
103-
{
102+
if (password === this._debugModePass) {
104103
lightdm.is_authenticated = true;
105104
}
106-
else
107-
{
105+
else {
108106
let now = new Date().getTime();
109107
while (new Date().getTime() < now + 2000);
110108
}
111109
authentication_complete();
112110
},
113111
start_session_sync: session => {
114112
alert(`Logged with session: '${session}'!`);
113+
location.reload();
115114
},
116115
shutdown: () => {
117116
alert('System is shutting down...');
117+
location.reload();
118+
},
119+
restart: () => {
120+
alert('System is rebooting...');
121+
location.reload();
118122
},
119123
hibernate: () => {
120124
alert('System is hibernating...');
121125
},
122126
suspend: () => {
123127
alert('System is suspending...');
124-
},
125-
restart: () => {
126-
alert('System is rebooting...');
127128
}
128129
};
129130
}

0 commit comments

Comments
 (0)