Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonstrandum committed Jan 27, 2020
1 parent 033274d commit 337e034
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 23 deletions.
Empty file modified .gitignore
100755 → 100644
Empty file.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# eh8's Litarvan's LightDM WebKit2 theme
# Saluto

## Litarvan `lightdm-webkit2-greeter` fork

[toc]

![](demo.png)

Expand Down
Binary file removed demo.png
Binary file not shown.
6 changes: 3 additions & 3 deletions index.theme
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[theme]
name=lightdm-eh8
description=eh8
name=saluto
description=lightdm-theme
engine=lightdm-webkit-greeter
url=index.html
url=index.html
14 changes: 7 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

ARROW="$(tput setaf 4)$(tput bold)->$(tput sgr0)"

echo "$(tput bold)Building lightdm-eh8"
echo "$(tput bold)Building Saluto"
tput sgr0

# Removes old installs.
THEME_INSTALL_DIR="/usr/share/lightdm-webkit/themes/eh8"
THEME_INSTALL_DIR="/usr/share/lightdm-webkit/themes/saluto"

if [ -d "$THEME_INSTALL_DIR" ]; then
echo "$ARROW Removing old copy of LightDM theme..."
Expand Down Expand Up @@ -111,16 +111,16 @@ echo "Done"
# Build archive.
echo "$ARROW Building directory..."
cd ./dist || exit 1
tar zcvf ../lightdm-eh8.tar.gz ./*
tar zcvf ../lightdm-saluto.tar.gz ./*
cd ../ || exit 1
sudo mkdir -p "$THEME_INSTALL_DIR"
sudo mv ./lightdm-eh8.tar.gz "$THEME_INSTALL_DIR"
sudo mv ./lightdm-saluto.tar.gz "$THEME_INSTALL_DIR"
echo "Done"

# Decompressing.
echo "$ARROW Entering directory and running final decompression..."
cd "$THEME_INSTALL_DIR" || exit 1
sudo tar xvf lightdm-eh8.tar.gz
sudo tar xvf lightdm-saluto.tar.gz
echo "Done"

echo
Expand All @@ -132,8 +132,8 @@ echo " greeter-session=lightdm-webkit2-greeter"
tput sgr0
echo " - In \`/etc/lightdm/lightdm-webkit2-greeter.conf\`:$(tput setaf 3)"
echo " [greeter]"
echo " webkit_theme=eh8"
echo " webkit_theme=saluto"
tput sgr0
echo "$(tput bold)------------$(tput sgr0)"
echo
echo
echo "All done!"
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "lightdm-eh8",
"name": "lightdm-saluto",
"version": "1.0.0",
"license": "MIT",
"author": "Eric Cheng",
"homepage": "https://github.com/eh8/lightdm-eh8",
"repository": "https://github.com/eh8/lightdm-eh8",
"author": "Demonstrandum",
"homepage": "https://github.com/Demonstrandum/Saluto",
"repository": "https://github.com/Demonstrandum/Saluto",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LightDM - eh8</title>
<title>Saluto &mdash; LightDM</title>

<style>
html {
Expand Down
4 changes: 2 additions & 2 deletions public/index.theme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[theme]
name=eh8
name=saluto
engine=lightdm-webkit-greeter
url=index.html
url=index.html
Binary file added src/assets/default_images/cicero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/lightdm.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ if (window.lightdm_debug) {
}
],
users: [{
display_name: 'Marcus Tullius Cicero',
username: 'cicero',
image: 'cicero'
}, {
display_name: 'John Doe',
username: 'johnd'
}, {
display_name: 'eh8',
username: 'eh8',
image: 'eh8'
}],
languages: [{
name: 'American English',
Expand Down
4 changes: 4 additions & 0 deletions src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export function avatar(avi) {
return require("./assets/images/eh8.png");
}

if (avi === "cicero") {
return require("./assets/images/cicero.png")
}

if (avi === "eh8") {
return require("./assets/images/eh8.png");
}
Expand Down

0 comments on commit 337e034

Please sign in to comment.