Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 6faba25

Browse files
committed
Unfork
0 parents  commit 6faba25

99 files changed

Lines changed: 2693 additions & 0 deletions

Some content is hidden

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

.babelrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"sourceMaps": true,
3+
"presets": [
4+
"es2015-minimal",
5+
"stage-0"
6+
],
7+
"plugins": [
8+
["transform-react-jsx-source"],
9+
["transform-decorators-legacy"],
10+
["transform-react-jsx"]
11+
]
12+
}

.eslintrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaFeatures": {
10+
"experimentalObjectRestSpread": true,
11+
"jsx": true
12+
},
13+
"sourceType": "module"
14+
},
15+
"plugins": [
16+
"react"
17+
],
18+
"rules": {
19+
"indent": [
20+
"error",
21+
"tab"
22+
],
23+
"linebreak-style": [
24+
"error",
25+
"unix"
26+
],
27+
"quotes": [
28+
"error",
29+
"double"
30+
],
31+
"semi": [
32+
"error",
33+
"always"
34+
]
35+
}
36+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
build/
3+
tools/settings.json

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "LightDMMock"]
2+
path = LightDMMock
3+
url = https://github.com/FallingSnow/LightDMMock.git

LightDMMock

Submodule LightDMMock added at 12bacd3

PKGBUILD

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Maintainer: Ayrton Sparling <ayrton@sparling.us>
2+
pkgname=lightdm-webkit2-theme-material
3+
pkgver=0.0.2
4+
pkgrel=1
5+
pkgdesc="A material design LightDM theme"
6+
7+
arch=('any')
8+
url="https://github.com/FallingSnow/lightdm-webkit-material"
9+
license=('WTFPL')
10+
depends=('lightdm-webkit2-greeter')
11+
conflicts=('lightdm-webkit-theme-material-git')
12+
source=('')
13+
14+
pkgver() {
15+
cd "$srcdir/lightdm-webkit-material/"
16+
}
17+
18+
package() {
19+
install -dm755 "$pkgdir/usr/share/lightdm-webkit/themes/material"
20+
cp -r "$srcdir/lightdm-webkit2-material/"* \
21+
"$pkgdir/usr/share/lightdm-webkit/themes/material/"
22+
}

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
## A Material design LightDM Webkit2 greeter theme
2+
3+
This is a theme for LightDM Webkit2 (`lightdm-webkit2-greeter`).
4+
5+
Arch Linux users can find it in the AUR: [`lightdm-webkit2-theme-material`](https://aur.archlinux.org/packages/lightdm-webkit-theme-material-git/).
6+
7+
### Screenshots
8+
9+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/default.png)
10+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/shutdown.png)
11+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/settings.png)
12+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/zodiac.png)
13+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/image.png)
14+
![](https://cdn.rawgit.com/FallingSnow/lightdm-webkit-material/master/screenshots/image-random.png)
15+
16+
### Features
17+
18+
I created this for use on Arch Linux, so it only has the basic features of:
19+
20+
- Selecting an available user from a dropdown
21+
- Entering their password
22+
- Seeing their profile picture
23+
- Restart, shutdown, suspend, and hibernate the computer
24+
- Select session (GNOME, KDE, Xfce or other installed DE)
25+
- Select your language
26+
- 4 different types of background (trianglify, image, random-image, and zodiac)
27+
- HiDpi screen support via UI scaling
28+
- Full i18n localization
29+
- And the most important thing, A CLOCK WITH SECONDS!!!
30+
31+
### How to install
32+
33+
[Check our wiki](https://github.com/FallingSnow/lightdm-webkit-material/wiki/Installation)
34+
35+
### Setting your own user picture
36+
37+
- Add `Icon=/var/lib/AccountsService/icons/<youraccountname>` to the bottom of `/var/lib/AccountsService/users/<youraccountname>` and place a profile image at `/var/lib/AccountsService/icons/<youraccountname>`
38+
39+
### Setting a custom background image
40+
41+
- Put a `jpg` at `/var/lib/AccountsService/wallpapers/lightdm-webkit.jpg` (*You may need to create the wallpapers directory*) and set background engine to image in the settings
42+
43+
### Setting multiple custom background images to pick from
44+
45+
- Put a `jpg` or a `png` in `/var/lib/AccountsService/wallpapers` or in a directory specified by the `background_images` variable in your `/etc/lightdm/lightdm-webkit2-greeter.conf` (either the `greeter` or the `branding` section) and set the background engine to random image in the settings.
46+
47+
### Tips
48+
#### Lock screen
49+
- Type `dm-tool lock`
50+
51+
### License
52+
This work is free. You can redistribute it and/or modify it under the terms of the WTFPL (Do What The Fuck You Want To Public License), Version 2, as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.<br>
53+
Default avatar: http://www.designshock.com/flat_character/<br>
54+
Fallback image background: No Man's Sky

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<script>
2+
window.location = "http://localhost:8080";
3+
</script>

package.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"name": "lightdm-webkit-material",
3+
"version": "0.0.1",
4+
"description": "A material design theme for use with lightdm-webkit2-greeter.",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"dev": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --progress",
9+
"build": "cross-env NODE_ENV=production webpack -p --progress",
10+
"translate": "node tools/translate"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/FallingSnow/lightdm-webkit-material.git"
15+
},
16+
"author": "Ayrton Sparling",
17+
"license": "WTFPL",
18+
"bugs": {
19+
"url": "https://github.com/FallingSnow/lightdm-webkit-material/issues"
20+
},
21+
"homepage": "https://github.com/FallingSnow/lightdm-webkit-material#readme",
22+
"dependencies": {
23+
"animate.css": "^3.5.2",
24+
"color-scheme": "0.0.5",
25+
"font-awesome": "^4.7.0",
26+
"font-awesome-webpack2": "0.0.6",
27+
"history": "^4.5.0",
28+
"json-loader": "^0.5.4",
29+
"lodash.debounce": "^4.0.8",
30+
"material-ui": "^0.16.5",
31+
"moment": "^2.17.1",
32+
"moment-timezone": "^0.5.10",
33+
"preact": "^7.1.0",
34+
"react": "^15.4.1",
35+
"react-addons-css-transition-group": "^15.4.1",
36+
"react-clockwall": "github:fallingsnow/react-clockwall",
37+
"react-fontawesome": "^1.5.0",
38+
"react-redux": "^5.0.1",
39+
"react-router": "^3.0.0",
40+
"react-router-redux": "^4.0.7",
41+
"react-tap-event-plugin": "^2.0.1",
42+
"redux": "^3.6.0",
43+
"trianglify": "^1.0.1",
44+
"zodiac": "github:fallingsnow/Zodiac"
45+
},
46+
"devDependencies": {
47+
"babel": "^6.5.2",
48+
"babel-core": "^6.21.0",
49+
"babel-eslint": "^7.1.1",
50+
"babel-loader": "^6.2.10",
51+
"babel-plugin-module-resolver": "^2.4.0",
52+
"babel-plugin-transform-decorators-legacy": "^1.3.4",
53+
"babel-plugin-transform-react-jsx": "^6.8.0",
54+
"babel-plugin-transform-react-jsx-source": "^6.9.0",
55+
"babel-preset-es2015": "^6.18.0",
56+
"babel-preset-es2015-minimal": "^2.1.0",
57+
"babel-preset-react": "^6.16.0",
58+
"babel-preset-stage-0": "^6.16.0",
59+
"babel-register": "^6.18.0",
60+
"babel-runtime": "^6.20.0",
61+
"cross-env": "^3.1.3",
62+
"denque": "^1.1.0",
63+
"eslint": "^3.12.2",
64+
"eslint-plugin-react": "^6.8.0",
65+
"file-loader": "^0.9.0",
66+
"html-webpack-plugin": "^2.24.1",
67+
"image-webpack-loader": "^3.1.0",
68+
"import-glob": "^1.5.0",
69+
"jsonfile": "^2.4.0",
70+
"less": "^2.7.1",
71+
"less-loader": "^2.2.3",
72+
"mstranslator": "^2.1.0",
73+
"raw-loader": "^0.5.1",
74+
"rc-animate": "^2.3.1",
75+
"rc-slider": "github:fallingsnow/slider",
76+
"react-css-transition-replace": "^2.1.0",
77+
"react-intl": "^2.2.0",
78+
"redux-devtools": "^3.3.1",
79+
"redux-devtools-dock-monitor": "^1.1.1",
80+
"redux-devtools-log-monitor": "^1.1.1",
81+
"request": "^2.79.0",
82+
"source-map-loader": "^0.1.5",
83+
"url-loader": "^0.5.7",
84+
"webpack": "^1.14.0",
85+
"webpack-dev-server": "^1.16.2"
86+
}
87+
}

screenshots/default.png

1.1 MB
Loading

0 commit comments

Comments
 (0)