Skip to content

Commit

Permalink
Some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JezerM committed Jul 10, 2021
1 parent b98c1a6 commit da55488
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 63 deletions.
51 changes: 18 additions & 33 deletions dist/web-greeter.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "web-greeter" "1" "2020.6.14" GNU
.TH "web-greeter" "1" "2020.7.6" GNU
.nh
.ad l
.SH "NAME"
Expand Down Expand Up @@ -41,6 +41,8 @@ deprecated properties and/or functions to ensure continued proper functionality\
.PP
The following functions \fBmust\fR be provided by the greeter theme and callable on the global "window" object\&.
.PP
See full documentation on https://jezerm\&.github\&.io/web-greeter/
.PP
\fBshow_prompt(text, type)\fR
.RS 4
This will be called when LightDM needs to prompt the user for some reason, such
Expand Down Expand Up @@ -96,11 +98,6 @@ Cancels the authentication of the autologin user\&. The older function
lightdm\&.cancel_timed_login() has been deprecated.
.RE
.PP
\fBlightdm\&.get_hint(hint_name)\fR
.RS 4
Returns the value of a named hint provided by LightDM\&.
.RE
.PP
\fBlightdm\&.suspend()\fR
.RS 4
Suspends the system, if the greeter has the authority to do so\&.
Expand All @@ -123,9 +120,7 @@ deprecated\&.
\fBlightdm\&.respond(text)\fR
.RS 4
When LightDM has prompted for input, provide the response to LightDM\&.
The deprecated function was "provide_secret"\&. This is still available for
backwards compatibility, but authors of greeters should move to using
lightdm.respond()\&.
The deprecated function was "provide_secret"\&.
.RE
.PP
\fBlightdm\&.restart()\fR
Expand Down Expand Up @@ -199,7 +194,7 @@ String\&. The name of the default session (as configured in lightdm.conf)\&.
Boolean\&. A guest account is available for login\&.
.RE
.PP
\fBlightdm\&.hide_users\fR
\fBlightdm\&.hide_users_hint\fR
.RS 4
Boolean\&. The whole list of users should not be displayed\&.
.RE
Expand Down Expand Up @@ -265,24 +260,6 @@ Array\&. The users that are able to log in\&. Returns an Array of LightDMUser
objects\&.
.RE
.PP
The following calls can be made to read configuration keys out of the
web-greeter configuration file\&.
.PP
\fBgreeter_config\&.get_str(section, key)\fR
.RS 4
Returns the string value associated with key under the "section" in the configuration file\&.
.RE
.PP
\fBgreeter_config\&.get_num(section, key)\fR
.RS 4
Returns the numeric value associated with key under the "section" in the configuration file\&.
.RE
.PP
\fBgreeter_config\&.get_bool(section, key)\fR
.RS 4
Returns the boolean value associated with key under the "section" in the configuration file\&.
.RE
.PP
The theme_utils object has some utility functions associated with it which
are intended to make a theme author's work easier\&.
.PP
Expand All @@ -299,12 +276,17 @@ Binds this to class, context, for all of the class's methods\&.
.PP
\fBtheme_utils\&.get_current_localized_time()\fR
.RS 4
Get the current time in a localized format\&. Time format and language are
auto-detected by default, but can be set manually in the greeter config file\&.
Get the current time in a localized format\&. Language is auto-detected by default,
but can be set manually in the greeter config file\&.
.RE
\fBtheme_utils\&.get_current_localized_date()\fR
.RS 4
Get the current date in a localized format\&. Language is auto-detected by default,
but can be set manually in the greeter config file\&.
.RE
.PP
Please see the LightDM API documentation for the complete list of calls
available\&. The web-greeter implements all of the LightDM API\&.
available\&. The web-greeter implements all of the LightDM API\&.
.PP
.SH "CONFIGURATION"
.PP
Expand All @@ -321,7 +303,7 @@ Directory where themes should be stored\&.
.RE
.SH "EXAMPLES"
.PP
Please see the "default" and "simple" themes that are shipped with web-greeter\&.
Please see the "dracula", "gruvbox" and "simple" themes that are shipped with web-greeter\&.
.TP
\fBCommand Line\fR
.RS 4
Expand All @@ -331,9 +313,12 @@ web-greeter --normal
.SH "SEE ALSO"
.PP
http://people\&.ubuntu\&.com/~robert-ancell/lightdm/reference/
.PP
https://lazka\&.github\&.io/pgi-docs/#LightDM-1
.PP
https://jezerm\&.github\&.io/web-greeter/
.SH "AUTHOR"
.PP
The legacy lightdm-webkit-greeter was written by Robert Ancell <robert\&.ancell\&@canonical\&.com\&>\&.
It was ported to webkit2 by the Antergos Developers <dev@antergos\&.com>\&. Also includes code improvements
contributed by Scott Balneaves <sbalneav@ltsp\&.org>\&.
contributed by Scott Balneaves <sbalneav@ltsp\&.org>\&. Mantained by JezerM <amyuki4@gmail\&.com>\&.
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2017 Dustin Falgout <[email protected]> -->
<component type="desktop">
<id>com.antergos.web-greeter</id>
<id>web-greeter</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Web Greeter</name>
<summary>A modern, visually appealing greeter for LightDM.</summary>
<summary>A modern, visually appealing greeter for LightDM</summary>
<description>
<p>
Web Greeter for LightDM utilizes themes built with HTML/CSS/JavaScript for it's login screen.
</p>
<p>
Web Greeter themes provide modern, visually appealing, and feature-rich
login screens. Two themes are included by default. There is also a growing number of
login screens. Three themes are included by default. There is also a growing number of
3rd-Party themes available online.
</p>
</description>
<screenshots>
<screenshot height="412" width="800" type="default">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot1.jpg</image>
<caption>Login screen (default theme)</caption>
<screenshot height="768" width="1366" type="default">
<image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-1.png</image>
<caption>Login screen (gruvbox theme)</caption>
</screenshot>
<screenshot height="412" width="800">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot2.jpg</image>
<caption>Login screen background switcher (default theme)</caption>
</screenshot>
<screenshot height="412" width="800">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot3.jpg</image>
<caption>Login screen user selection (default theme)</caption>
<screenshot height="768" width="1366" type="default">
<image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-2.png</image>
<caption>Login screen shutting down (gruvbox theme)</caption>
</screenshot>
</screenshots>

Expand Down Expand Up @@ -104,22 +100,17 @@
</description>
</release>
</releases>
<kudos>
<kudo>ModernToolkit</kudo>
</kudos>
<url type="bugtracker">https://github.com/Antergos/web-greeter/issues</url>
<url type="donation">https://antergos.com/donate</url>
<url type="help"/>
<url type="homepage">https://github.com/Antergos/web-greeter</url>
<url type="translate">https://www.transifex.com/faidoc/antergos/lightdm-webkit2-greeter</url>
<url type="bugtracker">https://github.com/JezerM/web-greeter/issues</url>
<url type="help">https://jezerm.github.io/web-greeter/</url>
<url type="homepage">https://github.com/JezerM/web-greeter</url>
<suggests>
<id>apps.light-locker</id>
</suggests>
<provides>
<binary>web-greeter</binary>
</provides>
<update_contact>dustin_at_antergos.com</update_contact>
<update_contact>amyuki4@gmail.com</update_contact>
<translation type="gettext">web-greeter</translation>
<developer_name>Antergos Linux Project</developer_name>
<developer_name>JezerM</developer_name>
</component>

13 changes: 6 additions & 7 deletions web-greeter.doap
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
<shortdesc xml:lang="en">Web Greeter for LightDM</shortdesc>
<programming-language>Python</programming-language>
<programming-language>JavaScript</programming-language>
<homepage rdf:resource="https://github.com/Antergos/web-greeter" />
<download-page rdf:resource="https://github.com/Antergos/web-greeter/release" />
<bug-database rdf:resource="https://github.com/Antergos/web-greeter/issues" />
<homepage rdf:resource="https://github.com/JezerM/web-greeter" />
<download-page rdf:resource="https://github.com/JezerM/web-greeter/release" />
<bug-database rdf:resource="https://github.com/JezerM/web-greeter/issues" />
<category rdf:resource="http://api.gnome.org/doap-extensions#desktop" />
<screenshots rdf:resource="https://github.com/Antergos/web-greeter/raw/master/themes/antergos/img/screenshot1.jpg" />
<screenshots rdf:resource="https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-1.png" />

<maintainer>
<foaf:Person>
<foaf:name>Dustin Falgout</foaf:name>
<foaf:mbox rdf:resource="mailto:[email protected]" />
<gnome:userid>lots0logs</gnome:userid>
<foaf:name>Jezer Mejía</foaf:name>
<foaf:mbox rdf:resource="mailto:[email protected]" />
</foaf:Person>
</maintainer>
</Project>

0 comments on commit da55488

Please sign in to comment.