TheWisker / Shikai

Modern lightdm webkit2 theme
https://thewisker.github.io/Shikai/
GNU General Public License v3.0
104 stars 6 forks source link
archy lightdm lightdm-webkit2-greeter-theme linux nody-greeter theme web-greeter web-greeter-theme

Shikai

Modern lightdm webkit2 theme

Index

[Description][description] [Features][features] [Live Demo][livedemo] [Screenshots][screenshots] [Installation][installation] [Updating][updating] [Dependencies][dependencies] [Configuration][configuration] [Discussions][discussions] [Troubleshooting][troubleshooting] [Contributions][contributions] [Translations][translations] [Metrics][metrics] [Notes][notes] [License][license] [Code of Conduct][coc] [Author][author]

Description []

This is a sleek lightdm webkit2 theme that focuses on it's looks with performance in mind.

Features []

The theme features:

Live Demo []

https://thewisker.github.io/Shikai

Screenshots []

Main theme screenshot

Behaviour settings screenshot

Style settings screenshot

Themes settings screenshot

Second main screenshot

Installation []

If not installing through the AUR you need to: Once all dependencies are installed, download a release. Then, uncompress said release into a resulting folder.

Arch Linux

You can install Shikai from the AUR repository:

Then you should edit /etc/lightdm/web-greeter.yml to your liking focusing on the following lines:

Then, to set up a user profile image, copy the desired image to the user's home directory renaming it to .face.

Script

To install using the scripts just execute the following bash files under ./scripts from the release root directory.

Then, to set up a user profile image, copy the desired image to the user's home directory renaming it to .face.

Manually

First, go to the dist directory located on the release folder and open the index.html and monitor.htmlfiles. Search in both files for window.__is_debug = true; and change it to window.__is_debug = false;. Then, copy the dist folder to /usr/share/web-greeter/themes/, renaming it from dist to shikai. Then, you need to change the line starting with greeter-session= in /etc/lightdm/lightdm.conf to greeter-session=web-greeter or greeter-session=nody-greeter, depending on which you have installed. Finally, you should edit /etc/lightdm/web-greeter.yml to your liking focusing on the following lines:

Also, to set up a user profile image, copy the desired image to the user's home directory renaming it to .face.

Updating []

When updating Shikai just keep in mind that if the new version contains breaking changes you must delete localStorage with the button in the settings panel before making the update. Apart from that, just update it as if you were installing it overwriting in the case of a manual install.

Dependencies []

Buildtime

The Shikai theme has no buildtime dependencies.

Runtime

The theme depends on web-greeter or nody-greeter and their respective dependencies, plus lightdm.

Configuration []

The configuration button becomes avaiable by hovering over the top-left corner of the window. The behaviour and style settings are saved locally only when the configuration panel gets closed. The themes configuration gets saved on theme creation, deletion and activation.

Discussions []

Feel free to give any ideas for future improvements here, ask any questions you have here and post screenshots of your theme designs here.

Troubleshooting []

If you have added a .face image to you home folder and it does not load on theme it is probably due to the access permisions of the .face file. To fix this issue, copy the .face image to /var/lib/AccountsService/icons/ renaming it to your user's name. Once done, change its permisions with chmod 644 /var/lib/AccountsService/icons and chmod 644 /var/lib/AccountsService/icons/username. Lastly, create/modify the following configuration file /var/lib/AccountsService/users/username including the following line: Icon=/var/lib/AccountsService/icons/username

On the odd case that the demo or the theme itself only loads the backgrounds or does not load the settings, it is most probably due to a recent update that contains changes to the settings JSON structure. This can be fixed manually, looking at the errors in the developer console, and manually adding the missing keys and values, or easier by deleting the page's localStorage.

Contributions []

First and foremost, all contributions are welcome! The steps involved when making a contribution are explained in the CONTRIBUTING.md file. We look forward to your contributions!

Translations []

Secondly, all translations are also welcome! The steps involved when making a translation are explained in the CONTRIBUTING.md file. More specific steps can be found in the CONTRIBUTING.md file in the /src/lang folder. We look forward to your translations!

Metrics []

Notes []

License []

Code of Conduct []

This project follows the Contributor Covenant Code of Conduct.

Author []

TheWisker