summaryrefslogtreecommitdiff
path: root/.sddm
diff options
context:
space:
mode:
authorRoger Gonzalez <rogergonzalez21@gmail.com>2019-12-30 15:52:33 -0300
committerRoger Gonzalez <rogergonzalez21@gmail.com>2019-12-30 15:52:33 -0300
commit3259133a20921e14d7e6e1ebe6d2644d2987da8b (patch)
treed2a11266c4a41f59d4712779995592eb2f6cd38f /.sddm
parent02bd638160122e2b987c00fbbf3b7071c692fff3 (diff)
Added sddm themes
Diffstat (limited to '.sddm')
-rw-r--r--.sddm/themes/sugar-dark/.directory4
-rw-r--r--.sddm/themes/sugar-dark/AUTHORS5
-rw-r--r--.sddm/themes/sugar-dark/Assets/.directory3
-rw-r--r--.sddm/themes/sugar-dark/Assets/Hibernate.svgzbin0 -> 717 bytes
-rw-r--r--.sddm/themes/sugar-dark/Assets/Reboot.svgzbin0 -> 770 bytes
-rw-r--r--.sddm/themes/sugar-dark/Assets/Shutdown.svgzbin0 -> 729 bytes
-rw-r--r--.sddm/themes/sugar-dark/Assets/Suspend.svgzbin0 -> 620 bytes
-rw-r--r--.sddm/themes/sugar-dark/Assets/User.svgzbin0 -> 862 bytes
-rw-r--r--.sddm/themes/sugar-dark/CHANGELOG.md3
-rw-r--r--.sddm/themes/sugar-dark/COPYING674
-rw-r--r--.sddm/themes/sugar-dark/CREDITS10
-rw-r--r--.sddm/themes/sugar-dark/Components/Clock.qml71
-rw-r--r--.sddm/themes/sugar-dark/Components/Input.qml570
-rw-r--r--.sddm/themes/sugar-dark/Components/LoginForm.qml58
-rw-r--r--.sddm/themes/sugar-dark/Components/SessionButton.qml170
-rw-r--r--.sddm/themes/sugar-dark/Components/SystemButtons.qml119
-rw-r--r--.sddm/themes/sugar-dark/Components/UserList.qml197
-rw-r--r--.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml28
-rw-r--r--.sddm/themes/sugar-dark/Illustration.svg1
-rw-r--r--.sddm/themes/sugar-dark/Main.qml231
-rw-r--r--.sddm/themes/sugar-dark/Preview.pngbin0 -> 5112617 bytes
-rw-r--r--.sddm/themes/sugar-dark/README.md72
-rw-r--r--.sddm/themes/sugar-dark/metadata.desktop16
-rw-r--r--.sddm/themes/sugar-dark/theme.conf87
-rw-r--r--.sddm/themes/sugar-light/AUTHORS5
-rw-r--r--.sddm/themes/sugar-light/Assets/Reboot.svgzbin0 -> 770 bytes
-rw-r--r--.sddm/themes/sugar-light/Assets/Shutdown.svgzbin0 -> 729 bytes
-rw-r--r--.sddm/themes/sugar-light/Assets/Suspend.svgzbin0 -> 620 bytes
-rw-r--r--.sddm/themes/sugar-light/Assets/User.svgzbin0 -> 862 bytes
-rw-r--r--.sddm/themes/sugar-light/COPYING674
-rw-r--r--.sddm/themes/sugar-light/CREDITS13
-rw-r--r--.sddm/themes/sugar-light/Components/Clock.qml71
-rw-r--r--.sddm/themes/sugar-light/Components/Input.qml389
-rw-r--r--.sddm/themes/sugar-light/Components/LoginForm.qml47
-rw-r--r--.sddm/themes/sugar-light/Components/SessionButton.qml161
-rw-r--r--.sddm/themes/sugar-light/Components/SystemButtons.qml118
-rw-r--r--.sddm/themes/sugar-light/Main.qml73
-rw-r--r--.sddm/themes/sugar-light/Preview.pngbin0 -> 5264457 bytes
-rw-r--r--.sddm/themes/sugar-light/README.md73
-rw-r--r--.sddm/themes/sugar-light/metadata.desktop16
-rw-r--r--.sddm/themes/sugar-light/theme.conf54
41 files changed, 4013 insertions, 0 deletions
diff --git a/.sddm/themes/sugar-dark/.directory b/.sddm/themes/sugar-dark/.directory
new file mode 100644
index 00000000..f3bfead2
--- /dev/null
+++ b/.sddm/themes/sugar-dark/.directory
@@ -0,0 +1,4 @@
+[Dolphin]
+PreviewsShown=false
+Timestamp=2019,7,9,18,17,11
+Version=4
diff --git a/.sddm/themes/sugar-dark/AUTHORS b/.sddm/themes/sugar-dark/AUTHORS
new file mode 100644
index 00000000..85e0545e
--- /dev/null
+++ b/.sddm/themes/sugar-dark/AUTHORS
@@ -0,0 +1,5 @@
+Marian Alexander Arlt
+
+marianarlt@icloud.com
+github.com/marianarlt
+opendesktop.org/u/marianarlt
diff --git a/.sddm/themes/sugar-dark/Assets/.directory b/.sddm/themes/sugar-dark/Assets/.directory
new file mode 100644
index 00000000..d25a2275
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/.directory
@@ -0,0 +1,3 @@
+[Dolphin]
+Timestamp=2019,6,28,20,19,57
+Version=4
diff --git a/.sddm/themes/sugar-dark/Assets/Hibernate.svgz b/.sddm/themes/sugar-dark/Assets/Hibernate.svgz
new file mode 100644
index 00000000..c6aab4d0
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/Hibernate.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-dark/Assets/Reboot.svgz b/.sddm/themes/sugar-dark/Assets/Reboot.svgz
new file mode 100644
index 00000000..1958f78d
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/Reboot.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-dark/Assets/Shutdown.svgz b/.sddm/themes/sugar-dark/Assets/Shutdown.svgz
new file mode 100644
index 00000000..48456751
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/Shutdown.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-dark/Assets/Suspend.svgz b/.sddm/themes/sugar-dark/Assets/Suspend.svgz
new file mode 100644
index 00000000..dd230f77
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/Suspend.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-dark/Assets/User.svgz b/.sddm/themes/sugar-dark/Assets/User.svgz
new file mode 100644
index 00000000..e8bbdbf1
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Assets/User.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-dark/CHANGELOG.md b/.sddm/themes/sugar-dark/CHANGELOG.md
new file mode 100644
index 00000000..2224928a
--- /dev/null
+++ b/.sddm/themes/sugar-dark/CHANGELOG.md
@@ -0,0 +1,3 @@
+2019-06-14
+----------
+- Added Hibernation support (@MarcinOrlowski)
diff --git a/.sddm/themes/sugar-dark/COPYING b/.sddm/themes/sugar-dark/COPYING
new file mode 100644
index 00000000..f288702d
--- /dev/null
+++ b/.sddm/themes/sugar-dark/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/.sddm/themes/sugar-dark/CREDITS b/.sddm/themes/sugar-dark/CREDITS
new file mode 100644
index 00000000..a9d687e0
--- /dev/null
+++ b/.sddm/themes/sugar-dark/CREDITS
@@ -0,0 +1,10 @@
+./Assets/User.svgz by Baboon designs
+from the Noun Project: https://thenounproject.com/baboondesigns/collection/user-icons/?i=839017/
+CCBY (https://creativecommons.org/licenses/by/4.0)
+
+./Undraw.svg by Katerina Limpitsouni
+from https://undraw.co/
+MIT (https://opensource.org/licenses/MIT)
+
+./Preview.jpg is based on a mockup created by Qeaql-studio - Freepik.com
+https://www.freepik.com/free-photos-vectors/mockup/ \ No newline at end of file
diff --git a/.sddm/themes/sugar-dark/Components/Clock.qml b/.sddm/themes/sugar-dark/Components/Clock.qml
new file mode 100644
index 00000000..5a24e6e4
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/Clock.qml
@@ -0,0 +1,71 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+
+Column {
+ id: clock
+ spacing: 0
+ width: parent.width / 2
+
+ Label {
+ anchors.horizontalCenter: parent.horizontalCenter
+ font.pointSize: config.HeaderText !=="" ? root.font.pointSize * 3 : 0
+ color: root.palette.text
+ renderType: Text.QtRendering
+ text: config.HeaderText
+ }
+
+ Label {
+ id: timeLabel
+ anchors.horizontalCenter: parent.horizontalCenter
+ font.pointSize: root.font.pointSize * 3
+ color: root.palette.text
+ renderType: Text.QtRendering
+ function updateTime() {
+ text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
+ }
+ }
+
+ Label {
+ id: dateLabel
+ anchors.horizontalCenter: parent.horizontalCenter
+ color: root.palette.text
+ renderType: Text.QtRendering
+ function updateTime() {
+ text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat)
+ }
+ }
+
+ Timer {
+ interval: 1000
+ repeat: true
+ running: true
+ onTriggered: {
+ dateLabel.updateTime()
+ timeLabel.updateTime()
+ }
+ }
+
+ Component.onCompleted: {
+ dateLabel.updateTime()
+ timeLabel.updateTime()
+ }
+}
diff --git a/.sddm/themes/sugar-dark/Components/Input.qml b/.sddm/themes/sugar-dark/Components/Input.qml
new file mode 100644
index 00000000..95bc96f0
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/Input.qml
@@ -0,0 +1,570 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+import QtGraphicalEffects 1.0
+
+Column {
+ id: inputContainer
+ Layout.fillWidth: true
+
+ property Control exposeLogin: loginButton
+ property bool failed
+
+ // USERNAME INPUT
+ Item {
+ id: usernameField
+
+ height: root.font.pointSize * 4.5
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ ComboBox {
+
+ id: selectUser
+
+ width: parent.height
+ height: parent.height
+ anchors.left: parent.left
+ z: 2
+
+ model: userModel
+ currentIndex: model.lastIndex
+ textRole: "name"
+ hoverEnabled: true
+ onActivated: {
+ username.text = currentText
+ }
+
+ delegate: ItemDelegate {
+ width: parent.width
+ anchors.horizontalCenter: parent.horizontalCenter
+ contentItem: Text {
+ text: model.realName != "" ? model.realName : model.name
+ font.pointSize: root.font.pointSize * 0.8
+ font.capitalization: Font.Capitalize
+ color: selectUser.highlightedIndex === index ? "#444" : root.palette.highlight
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignHCenter
+ }
+ highlighted: parent.highlightedIndex === index
+ background: Rectangle {
+ color: selectUser.highlightedIndex === index ? root.palette.highlight : "transparent"
+ }
+ }
+
+ indicator: Button {
+ id: usernameIcon
+ width: selectUser.height * 0.8
+ height: parent.height
+ anchors.left: parent.left
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.leftMargin: selectUser.height * 0.125
+ icon.height: parent.height * 0.25
+ icon.width: parent.height * 0.25
+ enabled: false
+ icon.color: root.palette.text
+ icon.source: Qt.resolvedUrl("../Assets/User.svgz")
+ }
+
+ background: Rectangle {
+ color: "transparent"
+ border.color: "transparent"
+ }
+
+ popup: Popup {
+ y: parent.height - username.height / 3
+ rightMargin: config.ForceRightToLeft == "true" ? root.padding + usernameField.width / 2 : undefined
+ width: usernameField.width
+ implicitHeight: contentItem.implicitHeight
+ padding: 10
+
+ contentItem: ListView {
+ clip: true
+ implicitHeight: contentHeight + 20
+ model: selectUser.popup.visible ? selectUser.delegateModel : null
+ currentIndex: selectUser.highlightedIndex
+ ScrollIndicator.vertical: ScrollIndicator { }
+ }
+
+ background: Rectangle {
+ radius: config.RoundCorners / 2
+ color: "#444"
+ layer.enabled: true
+ layer.effect: DropShadow {
+ transparentBorder: true
+ horizontalOffset: 0
+ verticalOffset: 0
+ radius: 100
+ samples: 201
+ cached: true
+ color: "#88000000"
+ }
+ }
+
+ enter: Transition {
+ NumberAnimation { property: "opacity"; from: 0; to: 1 }
+ }
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: selectUser.down
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: selectUser.hovered
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: Qt.lighter(root.palette.highlight, 1.2)
+ }
+ },
+ State {
+ name: "focused"
+ when: selectUser.visualFocus
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color, icon.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ TextField {
+ id: username
+ text: config.ForceLastUser == "true" ? selectUser.currentText : null
+ font.capitalization: Font.Capitalize
+ anchors.centerIn: parent
+ height: root.font.pointSize * 3
+ width: parent.width
+ placeholderText: config.TranslateUsernamePlaceholder || textConstants.userName
+ selectByMouse: true
+ horizontalAlignment: TextInput.AlignHCenter
+ renderType: Text.QtRendering
+ background: Rectangle {
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.activeFocus ? 2 : 1
+ radius: config.RoundCorners || 0
+ }
+ Keys.onReturnPressed: loginButton.clicked()
+ KeyNavigation.down: password
+ z: 1
+
+ states: [
+ State {
+ name: "focused"
+ when: username.activeFocus
+ PropertyChanges {
+ target: username.background
+ border.color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: username
+ color: root.palette.highlight
+ }
+ }
+ ]
+ }
+
+ }
+
+ // PASSWORD INPUT
+ Item {
+ id: passwordField
+ height: root.font.pointSize * 4.5
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ TextField {
+ id: password
+ anchors.centerIn: parent
+ height: root.font.pointSize * 3
+ width: parent.width
+ focus: config.ForcePasswordFocus == "true" ? true : false
+ selectByMouse: true
+ echoMode: revealSecret.checked ? TextInput.Normal : TextInput.Password
+ placeholderText: config.TranslatePasswordPlaceholder || textConstants.password
+ horizontalAlignment: TextInput.AlignHCenter
+ passwordCharacter: "•"
+ passwordMaskDelay: config.ForceHideCompletePassword == "true" ? undefined : 1000
+ renderType: Text.QtRendering
+ background: Rectangle {
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.activeFocus ? 2 : 1
+ radius: config.RoundCorners || 0
+ }
+ Keys.onReturnPressed: loginButton.clicked()
+ KeyNavigation.down: revealSecret
+ }
+
+ states: [
+ State {
+ name: "focused"
+ when: password.activeFocus
+ PropertyChanges {
+ target: password.background
+ border.color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: password
+ color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color"
+ duration: 150
+ }
+ }
+ ]
+ }
+
+ // SHOW/HIDE PASS
+ Item {
+ id: secretCheckBox
+ height: root.font.pointSize * 7
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ CheckBox {
+ id: revealSecret
+ width: parent.width
+ hoverEnabled: true
+
+ indicator: Rectangle {
+ id: indicator
+ anchors.left: parent.left
+ anchors.top: parent.top
+ anchors.topMargin: 3
+ anchors.leftMargin: 4
+ implicitHeight: root.font.pointSize
+ implicitWidth: root.font.pointSize
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.visualFocus ? 2 : 1
+ Rectangle {
+ id: dot
+ anchors.centerIn: parent
+ implicitHeight: parent.width - 6
+ implicitWidth: parent.width - 6
+ color: root.palette.text
+ opacity: revealSecret.checked ? 1 : 0
+ }
+ }
+
+ contentItem: Text {
+ id: indicatorLabel
+ text: config.TranslateShowPassword || "Show Password"
+ anchors.verticalCenter: indicator.verticalCenter
+ anchors.verticalCenterOffset: 0
+ horizontalAlignment: Text.AlignLeft
+ anchors.left: indicator.right
+ anchors.leftMargin: indicator.width / 2
+ font.pointSize: root.font.pointSize * 0.8
+ color: root.palette.text
+ }
+
+ Keys.onReturnPressed: toggle()
+ KeyNavigation.down: loginButton
+
+ background: Rectangle {
+ color: "transparent"
+ border.width: parent.visualFocus ? 1 : 0
+ border.color: parent.visualFocus ? root.palette.text : "transparent"
+ height: parent.visualFocus ? 2 : 0
+ width: (indicator.width + indicatorLabel.contentWidth + indicatorLabel.anchors.leftMargin + 2)
+ anchors.top: indicatorLabel.bottom
+ anchors.left: parent.left
+ anchors.leftMargin: 3
+ anchors.topMargin: 8
+ }
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: revealSecret.down
+ PropertyChanges {
+ target: revealSecret.contentItem
+ color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: dot
+ color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: revealSecret.background
+ border.color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: revealSecret.hovered
+ PropertyChanges {
+ target: indicatorLabel
+ color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: dot
+ color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: revealSecret.background
+ border.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "focused"
+ when: revealSecret.visualFocus
+ PropertyChanges {
+ target: indicatorLabel
+ color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: dot
+ color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: revealSecret.background
+ border.color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color, opacity"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ // ERROR FIELD
+ Item {
+ height: root.font.pointSize * 2.3
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+ Label {
+ id: errorMessage
+ width: parent.width
+ text: failed ? config.TranslateLoginFailed || textConstants.loginFailed + "!" : keyboard.capsLock ? textConstants.capslockWarning : null
+ horizontalAlignment: Text.AlignHCenter
+ font.pointSize: root.font.pointSize * 0.8
+ font.italic: true
+ color: root.palette.text
+ opacity: 0
+ states: [
+ State {
+ name: "fail"
+ when: failed
+ PropertyChanges {
+ target: errorMessage
+ opacity: 1
+ }
+ },
+ State {
+ name: "capslock"
+ when: keyboard.capsLock
+ PropertyChanges {
+ target: errorMessage
+ opacity: 1
+ }
+ }
+ ]
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "opacity"
+ duration: 100
+ }
+ }
+ ]
+ }
+ }
+
+ // LOGIN BUTTON
+ Item {
+ id: login
+ height: root.font.pointSize * 3
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ Button {
+ id: loginButton
+ anchors.horizontalCenter: parent.horizontalCenter
+ text: config.TranslateLogin || textConstants.login
+ height: root.font.pointSize * 3
+ implicitWidth: parent.width
+ enabled: username.text != "" && password.text != "" ? true : false
+ hoverEnabled: true
+
+ contentItem: Text {
+ text: parent.text
+ color: "#444"
+ font.pointSize: root.font.pointSize
+ horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
+ opacity: 0.5
+ }
+
+ background: Rectangle {
+ id: buttonBackground
+ color: "white"
+ opacity: 0.2
+ radius: config.RoundCorners || 0
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: loginButton.down
+ PropertyChanges {
+ target: buttonBackground
+ color: Qt.darker(root.palette.highlight, 1.1)
+ opacity: 1
+ }
+ PropertyChanges {
+ target: loginButton.contentItem
+ color: "#444"
+ }
+ },
+ State {
+ name: "hovered"
+ when: loginButton.hovered
+ PropertyChanges {
+ target: buttonBackground
+ color: root.palette.highlight
+ opacity: 1
+ }
+ PropertyChanges {
+ target: loginButton.contentItem
+ opacity: 1
+ color: "#444"
+ }
+ },
+ State {
+ name: "focused"
+ when: loginButton.visualFocus
+ PropertyChanges {
+ target: buttonBackground
+ color: root.palette.highlight
+ opacity: 1
+ }
+ PropertyChanges {
+ target: loginButton.contentItem
+ opacity: 1
+ color: "#444"
+ }
+ },
+ State {
+ name: "enabled"
+ when: loginButton.enabled
+ PropertyChanges {
+ target: buttonBackground;
+ color: root.palette.text;
+ opacity: 1
+ }
+ PropertyChanges {
+ target: loginButton.contentItem;
+ opacity: 1
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ from: ""; to: "enabled"
+ PropertyAnimation {
+ properties: "opacity, color";
+ duration: 500
+ }
+ },
+ Transition {
+ from: "enabled"; to: ""
+ PropertyAnimation {
+ properties: "opacity, color";
+ duration: 300
+ }
+ }
+ ]
+
+ Keys.onReturnPressed: clicked()
+ onClicked: sddm.login(username.text, password.text, sessionSelect.selectedSession)
+ }
+ }
+
+ // SESSION SELECT
+ SessionButton {
+ id: sessionSelect
+ textConstantSession: textConstants.session
+ }
+
+ Connections {
+ target: sddm
+ onLoginSucceeded: {}
+ onLoginFailed: {
+ failed = true
+ resetError.running ? resetError.stop() && resetError.start() : resetError.start()
+ }
+ }
+
+ Timer {
+ id: resetError
+ interval: 2000
+ onTriggered: failed = false
+ running: false
+ }
+}
diff --git a/.sddm/themes/sugar-dark/Components/LoginForm.qml b/.sddm/themes/sugar-dark/Components/LoginForm.qml
new file mode 100644
index 00000000..d988d208
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/LoginForm.qml
@@ -0,0 +1,58 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import SddmComponents 2.0 as SDDM
+
+ColumnLayout {
+ id: formContainer
+ SDDM.TextConstants { id: textConstants }
+
+ property int p: config.ScreenPadding
+ property string a: config.FormPosition
+ property alias systemButtonVisibility: systemButtons.visible
+ property alias clockVisibility: clock.visible
+ property bool virtualKeyboardActive
+
+ Clock {
+ id: clock
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
+ Layout.preferredHeight: root.height / 4
+ Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
+ }
+
+ Input {
+ id: input
+ Layout.alignment: Qt.AlignVCenter
+ Layout.preferredHeight: root.height / 10
+ Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
+ Layout.topMargin: virtualKeyboardActive ? -height * 1.5 : 0
+ }
+
+ SystemButtons {
+ id: systemButtons
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
+ Layout.preferredHeight: root.height / 4
+ Layout.maximumHeight: root.height / 4
+ Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
+ exposedLogin: input.exposeLogin
+ }
+
+}
diff --git a/.sddm/themes/sugar-dark/Components/SessionButton.qml b/.sddm/themes/sugar-dark/Components/SessionButton.qml
new file mode 100644
index 00000000..037d4c1a
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/SessionButton.qml
@@ -0,0 +1,170 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+import QtGraphicalEffects 1.0
+
+Item {
+ id: sessionButton
+ height: root.font.pointSize
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ property var selectedSession: selectSession.currentIndex
+ property string textConstantSession
+
+ ComboBox {
+ id: selectSession
+
+ hoverEnabled: true
+ anchors.left: parent.left
+
+ model: sessionModel
+ currentIndex: model.lastIndex
+ textRole: "name"
+
+ delegate: ItemDelegate {
+ width: parent.width
+ anchors.horizontalCenter: parent.horizontalCenter
+ contentItem: Text {
+ text: model.name
+ font.pointSize: root.font.pointSize * 0.8
+ color: selectSession.highlightedIndex === index ? "#444" : root.palette.highlight
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignHCenter
+ }
+ highlighted: parent.highlightedIndex === index
+ background: Rectangle {
+ color: selectSession.highlightedIndex === index ? root.palette.highlight : "transparent"
+ }
+ }
+
+ indicator {
+ visible: false
+ }
+
+ contentItem: Text {
+ id: displayedItem
+ text: (config.TranslateSession || (textConstantSession + ":")) + " " + selectSession.currentText
+ color: root.palette.text
+ verticalAlignment: Text.AlignVCenter
+ anchors.left: parent.left
+ anchors.leftMargin: 3
+ font.pointSize: root.font.pointSize * 0.8
+ }
+
+ background: Rectangle {
+ color: "transparent"
+ border.width: parent.visualFocus ? 1 : 0
+ border.color: "transparent"
+ height: parent.visualFocus ? 2 : 0
+ width: displayedItem.implicitWidth
+ anchors.top: parent.bottom
+ anchors.left: parent.left
+ anchors.leftMargin: 3
+ }
+
+ popup: Popup {
+ id: popupHandler
+ y: parent.height - 1
+ rightMargin: config.ForceRightToLeft == "true" ? root.padding + sessionButton.width / 2 : undefined
+ width: sessionButton.width
+ implicitHeight: contentItem.implicitHeight
+ padding: 10
+
+ contentItem: ListView {
+ clip: true
+ implicitHeight: contentHeight + 20
+ model: selectSession.popup.visible ? selectSession.delegateModel : null
+ currentIndex: selectSession.highlightedIndex
+ ScrollIndicator.vertical: ScrollIndicator { }
+ }
+
+ background: Rectangle {
+ radius: config.RoundCorners / 2
+ color: "#444"
+ layer.enabled: true
+ layer.effect: DropShadow {
+ transparentBorder: true
+ horizontalOffset: 0
+ verticalOffset: 0
+ radius: 100
+ samples: 201
+ cached: true
+ color: "#88000000"
+ }
+ }
+
+ enter: Transition {
+ NumberAnimation { property: "opacity"; from: 0; to: 1 }
+ }
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: selectSession.down
+ PropertyChanges {
+ target: displayedItem
+ color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: selectSession.hovered
+ PropertyChanges {
+ target: displayedItem
+ color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "focused"
+ when: selectSession.visualFocus
+ PropertyChanges {
+ target: displayedItem
+ color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+}
diff --git a/.sddm/themes/sugar-dark/Components/SystemButtons.qml b/.sddm/themes/sugar-dark/Components/SystemButtons.qml
new file mode 100644
index 00000000..defdca33
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/SystemButtons.qml
@@ -0,0 +1,119 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+
+RowLayout {
+
+ spacing: root.font.pointSize
+
+ property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
+ property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
+ property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
+ property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
+
+ property Control exposedLogin
+
+ Repeater {
+
+ model: [suspend, hibernate, reboot, shutdown]
+
+ RoundButton {
+ id: icon
+ text: modelData[1]
+ font.pointSize: root.font.pointSize * 0.8
+ Layout.alignment: Qt.AlignHCenter
+ icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : ""
+ icon.height: 2 * Math.round((root.font.pointSize * 3) / 2)
+ icon.width: 2 * Math.round((root.font.pointSize * 3) / 2)
+ display: AbstractButton.TextUnderIcon
+ visible: modelData[2]
+ hoverEnabled: true
+ palette.buttonText: root.palette.text
+ background: Rectangle {
+ height: 2
+ color: "transparent"
+ width: parent.width
+ border.width: parent.visualFocus ? 1 : 0
+ border.color: "transparent"
+ anchors.top: parent.bottom
+ }
+ Keys.onReturnPressed: clicked()
+ onClicked: {
+ parent.forceActiveFocus()
+ index == 0 ? sddm.suspend() : index == 1 ? sddm.hibernate() : index == 2 ? sddm.reboot() : sddm.powerOff()
+ }
+ KeyNavigation.up: exposedLogin
+ KeyNavigation.left: index == 0 ? exposedLogin : parent.children[index-1]
+
+ states: [
+ State {
+ name: "pressed"
+ when: parent.children[index].down
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: Qt.darker(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: Qt.darker(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: parent.children[index].hovered
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "focused"
+ when: parent.children[index].visualFocus
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: root.palette.highlight
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "palette.buttonText, border.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ }
+
+}
diff --git a/.sddm/themes/sugar-dark/Components/UserList.qml b/.sddm/themes/sugar-dark/Components/UserList.qml
new file mode 100644
index 00000000..1fa71705
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/UserList.qml
@@ -0,0 +1,197 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+import QtGraphicalEffects 1.0
+
+Item {
+ id: usernameField
+
+ height: root.font.pointSize * 4.5
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ property var selectedUser: selectUser.currentIndex
+ property alias user: username.text
+
+ ComboBox {
+
+ id: selectUser
+
+ width: parent.height
+ height: parent.height
+ anchors.left: parent.left
+ z: 2
+
+ model: userModel
+ currentIndex: model.lastIndex
+ textRole: "name"
+ hoverEnabled: true
+ onActivated: {
+ username.text = currentText
+ }
+
+ delegate: ItemDelegate {
+ width: parent.width
+ anchors.horizontalCenter: parent.horizontalCenter
+ contentItem: Text {
+ text: model.realName != "" ? model.realName : model.name
+ font.pointSize: root.font.pointSize * 0.8
+ font.capitalization: Font.Capitalize
+ color: selectUser.highlightedIndex === index ? "white" : root.palette.window.hslLightness >= 0.8 ? root.palette.highlight : "white"
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignHCenter
+ }
+ highlighted: parent.highlightedIndex === index
+ background: Rectangle {
+ color: selectUser.highlightedIndex === index ? root.palette.highlight : "transparent"
+ }
+ }
+
+ indicator: Button {
+ id: usernameIcon
+ width: selectUser.height * 0.8
+ height: parent.height
+ anchors.left: parent.left
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.leftMargin: selectUser.height * 0.125
+ icon.height: parent.height * 0.25
+ icon.width: parent.height * 0.25
+ enabled: false
+ icon.color: root.palette.text
+ icon.source: Qt.resolvedUrl("../Assets/User.svgz")
+ }
+
+ background: Rectangle {
+ color: "transparent"
+ border.color: "transparent"
+ }
+
+ popup: Popup {
+ y: parent.height - username.height / 3
+ rightMargin: config.ForceRightToLeft == "true" ? usernameField.width / 2 : undefined
+ width: usernameField.width
+ implicitHeight: contentItem.implicitHeight
+ padding: 10
+
+ contentItem: ListView {
+ clip: true
+ implicitHeight: contentHeight + 20
+ model: selectUser.popup.visible ? selectUser.delegateModel : null
+ currentIndex: selectUser.highlightedIndex
+ ScrollIndicator.vertical: ScrollIndicator { }
+ }
+
+ background: Rectangle {
+ radius: 10
+ color: root.palette.window
+ layer.enabled: true
+ layer.effect: DropShadow {
+ transparentBorder: true
+ horizontalOffset: 0
+ verticalOffset: 0
+ radius: 100
+ samples: 201
+ cached: true
+ color: "#88000000"
+ }
+ }
+
+ enter: Transition {
+ NumberAnimation { property: "opacity"; from: 0; to: 1 }
+ }
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: selectUser.down
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: Qt.lighter(root.palette.highlight, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: selectUser.hovered
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: Qt.lighter(root.palette.highlight, 1.2)
+ }
+ },
+ State {
+ name: "focused"
+ when: selectUser.visualFocus
+ PropertyChanges {
+ target: usernameIcon
+ icon.color: root.palette.highlight
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color, icon.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ TextField {
+ id: username
+ text: config.ForceLastUser == "true" ? selectUser.currentText : null
+ font.capitalization: Font.Capitalize
+ anchors.centerIn: parent
+ height: root.font.pointSize * 3
+ width: parent.width
+ placeholderText: config.TranslateUsernamePlaceholder || textConstants.userName
+ selectByMouse: true
+ horizontalAlignment: TextInput.AlignHCenter
+ renderType: Text.QtRendering
+ background: Rectangle {
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.activeFocus ? 2 : 1
+ radius: config.RoundCorners || 0
+ }
+ Keys.onReturnPressed: loginButton.clicked()
+ KeyNavigation.down: password
+ z: 1
+
+ states: [
+ State {
+ name: "focused"
+ when: username.activeFocus
+ PropertyChanges {
+ target: username.background
+ border.color: root.palette.highlight
+ }
+ PropertyChanges {
+ target: username
+ color: root.palette.highlight
+ }
+ }
+ ]
+ }
+
+} \ No newline at end of file
diff --git a/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml b/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml
new file mode 100644
index 00000000..b983e782
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Components/VirtualKeyboard.qml
@@ -0,0 +1,28 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.VirtualKeyboard 2.3
+
+InputPanel {
+ id: virtualKeyboard
+ property bool activated: false
+ active: activated && Qt.inputMethod.visible
+ visible: active
+} \ No newline at end of file
diff --git a/.sddm/themes/sugar-dark/Illustration.svg b/.sddm/themes/sugar-dark/Illustration.svg
new file mode 100644
index 00000000..4cdc0d8c
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Illustration.svg
@@ -0,0 +1 @@
+<svg id="ba5bbdf1-ea7e-4527-9dc4-6b83a9019784" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="921.17587" height="727.90229" viewBox="0 0 921.17587 727.90229"><title>urban_design</title><circle cx="209.62933" cy="318.19554" r="55.04156" fill="#ff6584"/><path d="M690.03184,466.56673c0,108.36448-64.421,146.20131-143.88825,146.20131S402.25533,574.93121,402.25533,466.56673,546.14359,220.34552,546.14359,220.34552,690.03184,358.20224,690.03184,466.56673Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><polygon points="401.49 510.143 402.963 419.451 464.292 307.253 403.194 405.225 403.857 364.446 446.124 283.272 404.032 353.655 404.032 353.655 405.224 280.313 450.485 215.688 405.411 268.78 406.155 134.297 401.477 312.328 401.862 304.984 355.844 234.547 401.124 319.082 396.836 400.993 396.708 398.819 343.659 324.694 396.548 406.499 396.011 416.743 395.915 416.897 395.959 417.738 385.081 625.552 399.615 625.552 401.359 518.212 454.118 436.607 401.49 510.143" fill="#3f3d56"/><path d="M828.86406,568.91749c0,108.36448-64.421,146.20131-143.88826,146.20131S541.08755,677.282,541.08755,568.91749,684.9758,322.69628,684.9758,322.69628,828.86406,460.553,828.86406,568.91749Z" transform="translate(-139.41207 -86.04886)" fill="#3f3d56"/><polygon points="540.322 612.493 541.796 521.802 603.124 409.604 542.027 507.575 542.689 466.797 584.957 385.623 542.864 456.005 542.864 456.006 544.056 382.663 589.317 318.039 544.243 371.131 544.988 236.647 540.309 414.679 540.694 407.335 494.676 336.898 539.956 421.433 535.668 503.343 535.54 501.169 482.491 427.045 535.38 508.85 534.844 519.094 534.747 519.248 534.791 520.089 523.913 727.902 538.447 727.902 540.191 620.562 592.95 538.958 540.322 612.493" fill="#f2f2f2"/><path d="M558.29324,568.91749c0,108.36448-64.421,146.20131-143.88826,146.20131S270.51673,677.282,270.51673,568.91749,414.405,322.69628,414.405,322.69628,558.29324,460.553,558.29324,568.91749Z" transform="translate(-139.41207 -86.04886)" fill="#3f3d56"/><polygon points="269.751 612.493 271.225 521.802 332.554 409.604 271.456 507.575 272.118 466.797 314.386 385.623 272.294 456.005 272.294 456.006 273.485 382.663 318.746 318.039 273.672 371.131 274.417 236.647 269.739 414.679 270.123 407.335 224.106 336.898 269.385 421.433 265.097 503.343 264.97 501.169 211.92 427.045 264.809 508.85 264.273 519.094 264.177 519.248 264.221 520.089 253.342 727.902 267.876 727.902 269.62 620.562 322.38 538.958 269.751 612.493" fill="#f2f2f2"/><path d="M549.80682,813.03539a297.461,297.461,0,1,1,210.33569-87.12431A295.51307,295.51307,0,0,1,549.80682,813.03539Zm0-592.64986c-162.76768,0-295.18931,132.42108-295.18931,295.18931S387.03914,810.7647,549.80682,810.7647,844.99613,678.34307,844.99613,515.57484,712.5745,220.38553,549.80682,220.38553Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><polygon points="653.626 599.234 653.626 725.905 167.207 725.905 167.207 599.234 410.416 472.562 410.923 472.825 653.626 599.234" fill="#f2f2f2"/><polygon points="653.626 599.234 653.626 725.905 410.923 725.905 410.923 472.825 653.626 599.234" opacity="0.1"/><polygon points="389.642 550.085 371.402 556.972 371.402 529.818 389.642 521.823 389.642 550.085" fill="#3f3d56"/><polygon points="187.981 626.088 181.901 628.387 181.901 611.901 187.981 609.213 187.981 626.088" fill="#3f3d56"/><polygon points="209.262 618.994 202.168 621.653 202.168 603.794 209.262 600.68 209.262 618.994" fill="#3f3d56"/><polygon points="232.569 609.874 224.462 612.923 224.462 593.66 232.569 590.092 232.569 609.874" fill="#3f3d56"/><polygon points="260.944 598.727 250.81 602.552 250.81 582.513 260.944 578.067 260.944 598.727" fill="#3f3d56"/><polygon points="295.398 585.553 283.238 590.149 283.238 568.326 295.398 562.992 295.398 585.553" fill="#3f3d56"/><polygon points="336.947 570.352 322.76 575.697 322.76 551.098 336.947 544.879 336.947 570.352" fill="#3f3d56"/><polygon points="187.981 659.529 181.901 661.058 181.901 644.329 187.981 642.406 187.981 659.529" fill="#3f3d56"/><polygon points="209.262 654.463 202.168 656.239 202.168 638.249 209.262 636.013 209.262 654.463" fill="#3f3d56"/><polygon points="232.569 648.382 224.462 650.419 224.462 631.155 232.569 628.598 232.569 648.382" fill="#3f3d56"/><polygon points="260.944 641.289 250.81 643.834 250.81 623.048 260.944 619.859 260.944 641.289" fill="#3f3d56"/><polygon points="295.398 632.168 283.238 635.237 283.238 612.914 295.398 609.089 295.398 632.168" fill="#3f3d56"/><polygon points="336.947 622.035 321.746 625.858 321.746 600.754 336.947 595.971 336.947 622.035" fill="#3f3d56"/><polygon points="389.642 608.861 371.402 613.446 371.402 585.553 389.642 579.831 389.642 608.861" fill="#3f3d56"/><polygon points="389.642 666.623 371.402 668.945 371.402 641.289 389.642 637.839 389.642 666.623" fill="#3f3d56"/><polygon points="187.981 691.957 181.901 692.739 181.901 676.757 187.981 675.598 187.981 691.957" fill="#3f3d56"/><polygon points="209.262 689.931 202.168 690.825 202.168 673.717 209.262 672.386 209.262 689.931" fill="#3f3d56"/><polygon points="232.569 686.89 224.462 687.916 224.462 668.65 232.569 667.105 232.569 686.89" fill="#3f3d56"/><polygon points="260.944 682.837 250.81 684.132 250.81 663.583 260.944 661.65 260.944 682.837" fill="#3f3d56"/><polygon points="295.398 678.783 283.238 680.326 283.238 657.503 295.398 655.187 295.398 678.783" fill="#3f3d56"/><polygon points="336.947 673.717 321.746 675.638 321.746 650.409 336.947 647.524 336.947 673.717" fill="#3f3d56"/><polygon points="633.865 626.088 639.946 628.387 639.946 611.901 633.865 609.213 633.865 626.088" fill="#3f3d56"/><polygon points="612.584 618.994 619.678 621.653 619.678 603.794 612.584 600.68 612.584 618.994" fill="#3f3d56"/><polygon points="589.277 609.874 597.384 612.923 597.384 593.66 589.277 590.092 589.277 609.874" fill="#3f3d56"/><polygon points="560.902 598.727 571.036 602.552 571.036 582.513 560.902 578.067 560.902 598.727" fill="#3f3d56"/><polygon points="526.448 585.553 538.608 590.149 538.608 568.326 526.448 562.992 526.448 585.553" fill="#3f3d56"/><polygon points="484.899 570.352 499.087 575.697 499.087 551.098 484.899 544.879 484.899 570.352" fill="#3f3d56"/><polygon points="633.865 659.529 639.946 661.058 639.946 644.329 633.865 642.406 633.865 659.529" fill="#3f3d56"/><polygon points="612.584 654.463 619.678 656.239 619.678 638.249 612.584 636.013 612.584 654.463" fill="#3f3d56"/><polygon points="589.277 648.382 597.384 650.419 597.384 631.155 589.277 628.598 589.277 648.382" fill="#3f3d56"/><polygon points="560.902 641.289 571.036 643.834 571.036 623.048 560.902 619.859 560.902 641.289" fill="#3f3d56"/><polygon points="526.448 632.168 538.608 635.237 538.608 612.914 526.448 609.089 526.448 632.168" fill="#3f3d56"/><polygon points="484.899 622.035 500.1 625.858 500.1 600.754 484.899 595.971 484.899 622.035" fill="#3f3d56"/><polygon points="432.204 608.861 450.445 613.446 450.445 585.553 432.204 579.831 432.204 608.861" fill="#3f3d56"/><polygon points="432.204 666.623 450.445 668.945 450.445 641.289 432.204 637.839 432.204 666.623" fill="#3f3d56"/><polygon points="633.865 691.957 639.946 692.739 639.946 676.757 633.865 675.598 633.865 691.957" fill="#3f3d56"/><polygon points="612.584 689.931 619.678 690.825 619.678 673.717 612.584 672.386 612.584 689.931" fill="#3f3d56"/><polygon points="589.277 686.89 597.384 687.916 597.384 668.65 589.277 667.105 589.277 686.89" fill="#3f3d56"/><polygon points="560.902 682.837 571.036 684.132 571.036 663.583 560.902 661.65 560.902 682.837" fill="#3f3d56"/><polygon points="526.448 678.783 538.608 680.326 538.608 657.503 526.448 655.187 526.448 678.783" fill="#3f3d56"/><polygon points="484.899 673.717 500.1 675.638 500.1 650.409 484.899 647.524 484.899 673.717" fill="#3f3d56"/><polygon points="449.431 557.179 431.191 550.3 431.191 521.711 449.431 529.709 449.431 557.179" fill="#3f3d56"/><rect x="619.22047" y="703.34943" width="1.48683" height="23.78929" fill="#2f2e41"/><rect x="637.17106" y="709.82471" width="1.05356" height="16.8569" fill="#2f2e41"/><rect x="652.86574" y="711.88336" width="0.92596" height="14.81543" fill="#2f2e41"/><polygon points="577.116 695.808 577.116 726.412 557.356 726.382 537.595 726.351 537.595 691.957 557.356 693.883 577.116 695.808" fill="#3f3d56"/><polygon points="244.73 726.412 284.251 726.349 284.251 691.957 244.73 695.804 244.73 726.412" fill="#3f3d56"/><rect y="725.39869" width="885.5" height="2.02675" fill="#2f2e41"/><polygon points="577.116 695.808 577.116 726.412 557.356 726.382 557.356 693.883 577.116 695.808" opacity="0.1"/><rect x="406.36292" y="698.54429" width="2.02675" height="28.37447" fill="#2f2e41"/><path d="M558.4842,774.49149c0,9.94289-5.31121,18.24029-11.69584,18.52532-6.20727.27711-11.11411-7.16322-11.11411-16.61156s12.12748-35.38718,12.12748-35.38718S558.4842,764.54861,558.4842,774.49149Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><rect x="168.74636" y="707.63783" width="1.2089" height="16.92457" fill="#2f2e41"/><path d="M315.73912,787.66134c0,5.93065-3.168,10.87982-6.97624,11.04983-3.70246.16529-6.62926-4.27266-6.62926-9.90832s7.2337-21.10746,7.2337-21.10746S315.73912,781.73069,315.73912,787.66134Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><path d="M767.55352,790.3367c0,5.64038-3.55458,10.04606-8.17757,9.82918-4.909-.2303-9.117-5.52544-9.117-11.81381s9.117-21.99966,9.117-21.99966S767.55352,784.69631,767.55352,790.3367Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><path d="M782.90447,796.53852c0,3.99673-2.51875,7.11856-5.79456,6.96488-3.47844-.16319-6.46025-3.91528-6.46025-8.37117s6.46025-15.58878,6.46025-15.58878S782.90447,792.54179,782.90447,796.53852Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><path d="M797.83359,798.51664c0,3.5127-2.21371,6.25645-5.09281,6.12139-3.05718-.14343-5.67787-3.44112-5.67787-7.35737s5.67787-13.70089,5.67787-13.70089S797.83359,795.00393,797.83359,798.51664Z" transform="translate(-139.41207 -86.04886)" fill="#ff6347"/><path d="M805.03008,249.29959s-9.86369,29.59108-4.38386,36.16687-32.879-19.72738-32.879-19.72738l20.82335-24.11125Z" transform="translate(-139.41207 -86.04886)" fill="#a0616a"/><circle cx="643.12413" cy="113.99581" r="49.20683" fill="#2f2e41"/><polygon points="834.397 496.424 809.19 516.152 794.942 493.136 820.149 475.601 834.397 496.424" fill="#a0616a"/><path d="M938.18993,730.97658l6.57579,31.783,18.63142,25.20722s50.41443,15.34352,16.43949,23.01528-41.6467-5.47983-41.6467-5.47983L914.07868,784.6789V813.174H898.73516l-3.2879-40.55073s-2.19193-12.05563,7.67176-25.20722l2.19193-19.72738Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><path d="M811.05789,337.52484l8.76773,50.41443s93.15709-9.86369,99.73289,8.76772,8.76773,24.11125,8.76773,24.11125l-18.63142,6.5758-8.76773-16.43949a20.81584,20.81584,0,0,0-16.43949,1.096c-8.76772,4.38386-85.48533,15.34352-90.96516,1.096s-20.82335-66.85391-20.82335-66.85391l23.01528-18.63142Z" transform="translate(-139.41207 -86.04886)" fill="#a0616a"/><path d="M811.05789,337.52484l8.76773,50.41443s93.15709-9.86369,99.73289,8.76772,8.76773,24.11125,8.76773,24.11125l-18.63142,6.5758-8.76773-16.43949a20.81584,20.81584,0,0,0-16.43949,1.096c-8.76772,4.38386-85.48533,15.34352-90.96516,1.096s-20.82335-66.85391-20.82335-66.85391l23.01528-18.63142Z" transform="translate(-139.41207 -86.04886)" opacity="0.1"/><path d="M862.56829,483.2883l7.67176,26.30318,19.72738,100.82885s2.19193,74.52568,5.47983,83.29341,3.2879,9.86369,0,13.15159-9.86369,14.24755,0,20.82335,44.9346,14.24755,46.03057,6.57579,1.096-19.72738,0-25.20721,3.28789-90.96517,3.28789-90.96517L931.61413,487.67216l-44.9346-20.82335Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><path d="M862.56829,483.2883l7.67176,26.30318,19.72738,100.82885s2.19193,74.52568,5.47983,83.29341,3.2879,9.86369,0,13.15159-9.86369,14.24755,0,20.82335,44.9346,14.24755,46.03057,6.57579,1.096-19.72738,0-25.20721,3.28789-90.96517,3.28789-90.96517L931.61413,487.67216l-44.9346-20.82335Z" transform="translate(-139.41207 -86.04886)" opacity="0.1"/><path d="M909.69482,380.26751l24.11125,46.03056s138.09169,61.37409,126.03607,86.5813-78.90954,72.33375-78.90954,72.33375-3.2879,18.63142-13.15159,13.15159-33.97494-33.97494-31.783-37.26284,9.86369-10.95966,13.15159-9.86369,41.6467-28.49511,41.6467-28.49511l-65.758-16.43949s-78.90954-2.19193-83.29341-39.45477,0-43.83863,0-43.83863l-5.47982-12.05563L881.1997,383.5554Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><path d="M943.66976,562.19784l-23.01528,20.82335s-19.72739-8.76773-31.783-5.47983-32.879,5.47983-32.879,5.47983l3.2879,18.63142,27.96228-5.15881-22.48245,31.462s0,49.31846,14.24755,49.31846,9.8637-29.59108,9.8637-29.59108l43.83863-33.97494s21.91932-8.76773,24.11125-8.76773S943.66976,562.19784,943.66976,562.19784Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><circle cx="661.23415" cy="134.75562" r="37.26284" fill="#a0616a"/><path d="M763.93136,249.84757s17.53545-4.38386,23.01528,0,6.5758,14.24756,14.24756,15.34352,14.24755,1.096,15.34352,2.19194,26.30318,31.783,26.30318,31.783,15.34352,8.76772,18.63142,20.82335,36.16687,52.60636,40.55074,56.99022-28.49512,26.30318-39.45477,33.97494-42.74267,10.95966-52.60636-6.57579S746.39591,272.86286,763.93136,249.84757Z" transform="translate(-139.41207 -86.04886)" fill="#575a89"/><path d="M805.57806,321.08535l8.76773,50.41443s93.1571-9.86369,99.73289,8.76773,8.76773,24.11125,8.76773,24.11125L904.215,410.95455l-8.76773-16.43949a20.81589,20.81589,0,0,0-16.43949,1.096c-8.76772,4.38386-85.48533,15.34352-90.96516,1.096s-20.82335-66.85391-20.82335-66.85391l23.01528-18.63142Z" transform="translate(-139.41207 -86.04886)" fill="#a0616a"/><path d="M784.63435,254.45864s26.42354,55.66705,24.23161,71.01058-9.86369,4.38386-9.86369,4.38386-9.8637-15.34352-14.24756-6.5758-9.86369,20.82335-14.24755,19.72739-28.49512-82.19744-15.34353-89.8692S784.63435,254.45864,784.63435,254.45864Z" transform="translate(-139.41207 -86.04886)" fill="#575a89"/><circle cx="589.81674" cy="49.20683" r="49.20683" fill="#2f2e41"/><path d="M686.78529,176.0021a49.2095,49.2095,0,0,0,75.98837-25.83768,49.20954,49.20954,0,1,1-95.98926-20.17936A49.19136,49.19136,0,0,0,686.78529,176.0021Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/><circle cx="633.00232" cy="122.19694" r="36.08501" fill="#2f2e41"/><ellipse cx="660.34652" cy="108.66504" rx="31.98443" ry="25.01347" fill="#2f2e41"/><ellipse cx="661.78213" cy="138.5915" rx="7.12378" ry="12.60361" fill="#a0616a"/><path d="M898.9811,410.47561s19.4016-11.13122,23.00341-8.34005,5.20206,11.52529,5.20206,11.52529l-22.4236,8.80134-6.57579-12.05562Z" transform="translate(-139.41207 -86.04886)" fill="#2f2e41"/></svg> \ No newline at end of file
diff --git a/.sddm/themes/sugar-dark/Main.qml b/.sddm/themes/sugar-dark/Main.qml
new file mode 100644
index 00000000..770f9068
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Main.qml
@@ -0,0 +1,231 @@
+//
+// This file is part of Sugar Dark, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Dark is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Dark is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+import QtGraphicalEffects 1.0
+import "Components"
+
+Pane {
+ id: root
+
+ height: config.ScreenHeight || Screen.height
+ width: config.ScreenWidth || Screen.ScreenWidth
+
+ LayoutMirroring.enabled: config.ForceRightToLeft == "true" ? true : Qt.application.layoutDirection === Qt.RightToLeft
+ LayoutMirroring.childrenInherit: true
+
+ padding: config.ScreenPadding
+ palette.button: "transparent"
+ palette.highlight: config.AccentColor
+ palette.text: config.MainColor
+ palette.buttonText: config.MainColor
+ palette.window: "#444"
+
+ font.family: config.Font
+ font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80)
+ focus: true
+
+ property bool leftleft: config.HaveFormBackground == "true" &&
+ config.PartialBlur == "false" &&
+ config.FormPosition == "left" &&
+ config.BackgroundImageAlignment == "left"
+
+ property bool leftcenter: config.HaveFormBackground == "true" &&
+ config.PartialBlur == "false" &&
+ config.FormPosition == "left" &&
+ config.BackgroundImageAlignment == "center"
+
+ property bool rightright: config.HaveFormBackground == "true" &&
+ config.PartialBlur == "false" &&
+ config.FormPosition == "right" &&
+ config.BackgroundImageAlignment == "right"
+
+ property bool rightcenter: config.HaveFormBackground == "true" &&
+ config.PartialBlur == "false" &&
+ config.FormPosition == "right" &&
+ config.BackgroundImageAlignment == "center"
+
+ Item {
+ id: sizeHelper
+
+ anchors.fill: parent
+ height: parent.height
+ width: parent.width
+
+ Rectangle {
+ id: formBackground
+ anchors.fill: form
+ anchors.centerIn: form
+ color: "#444"
+ opacity: config.PartialBlur == "true" ? 0.3 : 1
+ z: 1
+ }
+
+ LoginForm {
+ id: form
+
+ height: virtualKeyboard.state == "visible" ? parent.height - virtualKeyboard.implicitHeight : parent.height
+ width: parent.width / 2.5
+ anchors.horizontalCenter: config.FormPosition == "center" ? parent.horizontalCenter : undefined
+ anchors.left: config.FormPosition == "left" ? parent.left : undefined
+ anchors.right: config.FormPosition == "right" ? parent.right : undefined
+ virtualKeyboardActive: virtualKeyboard.state == "visible" ? true : false
+ z: 1
+ }
+
+ Button {
+ id: vkb
+ onClicked: virtualKeyboard.switchState()
+ visible: virtualKeyboard.status == Loader.Ready && config.ForceHideVirtualKeyboardButton == "false"
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: implicitHeight
+ anchors.horizontalCenter: form.horizontalCenter
+ z: 1
+ contentItem: Text {
+ text: config.TranslateVirtualKeyboardButton || "Virtual Keyboard"
+ color: parent.visualFocus ? palette.highlight : palette.text
+ font.pointSize: root.font.pointSize * 0.8
+ }
+ background: Rectangle {
+ id: vkbbg
+ color: "transparent"
+ }
+ }
+
+ Loader {
+ id: virtualKeyboard
+ source: "Components/VirtualKeyboard.qml"
+ state: "hidden"
+ property bool keyboardActive: item ? item.active : false
+ onKeyboardActiveChanged: keyboardActive ? state = "visible" : state = "hidden"
+ width: parent.width
+ z: 1
+ function switchState() { state = state == "hidden" ? "visible" : "hidden" }
+ states: [
+ State {
+ name: "visible"
+ PropertyChanges {
+ target: form
+ systemButtonVisibility: false
+ clockVisibility: false
+ }
+ PropertyChanges {
+ target: virtualKeyboard
+ y: root.height - virtualKeyboard.height
+ opacity: 1
+ }
+ },
+ State {
+ name: "hidden"
+ PropertyChanges {
+ target: virtualKeyboard
+ y: root.height - root.height/4
+ opacity: 0
+ }
+ }
+ ]
+ transitions: [
+ Transition {
+ from: "hidden"
+ to: "visible"
+ SequentialAnimation {
+ ScriptAction {
+ script: {
+ virtualKeyboard.item.activated = true;
+ Qt.inputMethod.show();
+ }
+ }
+ ParallelAnimation {
+ NumberAnimation {
+ target: virtualKeyboard
+ property: "y"
+ duration: 100
+ easing.type: Easing.OutQuad
+ }
+ OpacityAnimator {
+ target: virtualKeyboard
+ duration: 100
+ easing.type: Easing.OutQuad
+ }
+ }
+ }
+ },
+ Transition {
+ from: "visible"
+ to: "hidden"
+ SequentialAnimation {
+ ParallelAnimation {
+ NumberAnimation {
+ target: virtualKeyboard
+ property: "y"
+ duration: 100
+ easing.type: Easing.InQuad
+ }
+ OpacityAnimator {
+ target: virtualKeyboard
+ duration: 100
+ easing.type: Easing.InQuad
+ }
+ }
+ ScriptAction {
+ script: {
+ Qt.inputMethod.hide();
+ }
+ }
+ }
+ }
+ ]
+ }
+
+ Image {
+ id: backgroundImage
+
+ height: parent.height
+ width: config.HaveFormBackground == "true" && config.FormPosition != "center" && config.PartialBlur != "true" ? parent.width - formBackground.width : parent.width
+ anchors.left: leftleft ||
+ leftcenter ?
+ formBackground.right : undefined
+
+ anchors.right: rightright ||
+ rightcenter ?
+ formBackground.left : undefined
+
+ horizontalAlignment: config.BackgroundImageAlignment == "left" ?
+ Image.AlignLeft :
+ config.BackgroundImageAlignment == "right" ?
+ Image.AlignRight :
+ config.BackgroundImageAlignment == "center" ?
+ Image.AlignHCenter : undefined
+
+ source: config.background || config.Background
+ fillMode: config.ScaleImageCropped == "true" ? Image.PreserveAspectCrop : Image.PreserveAspectFit
+ asynchronous: true
+ cache: true
+ clip: true
+ mipmap: true
+ }
+
+ MouseArea {
+ anchors.fill: backgroundImage
+ onClicked: parent.forceActiveFocus()
+ }
+ }
+}
diff --git a/.sddm/themes/sugar-dark/Preview.png b/.sddm/themes/sugar-dark/Preview.png
new file mode 100644
index 00000000..7648313e
--- /dev/null
+++ b/.sddm/themes/sugar-dark/Preview.png
Binary files differ
diff --git a/.sddm/themes/sugar-dark/README.md b/.sddm/themes/sugar-dark/README.md
new file mode 100644
index 00000000..4e00cc15
--- /dev/null
+++ b/.sddm/themes/sugar-dark/README.md
@@ -0,0 +1,72 @@
+![Screenshot of the interface of the Sugar Dark theme for SDDM](Previews/Mockup.jpg "The default interface of the Sugar Dark theme for SDDM")
+
+# Sugar Dark login theme for SDDM
+
+Sugar is extremely customizable and so sweet it will probably cause you diabetes just from looking at it. Sweeten the login experience for your users, your family and yourself. Sugar is cross platform and all about user experience and functionality.
+With those principles in mind Sugar was written completely from scratch making it clean and simple not only by looks but by design too.
+All controls use the **[latest Qt Quick Controls 2](http://doc.qt.io/qt-5/qtquickcontrols2-index.html)** for [increased performance](https://blog.qt.io/blog/2015/03/31/qt-quick-controls-for-embedded/) on low end or even embedded systems and beautiful color transitions.
+
+To learn how to control sugar levels you should check the [Sugar Wiki on Github](https://github.com/MarianArlt/sddm-sugar-light/wiki/Before-you-begin) or the very well documented and included [`theme.conf`](theme.conf).
+Here are some previews of nifty variable names you can set/unset/change to customize your sugar:
+`ThemeColor`, `Font`, `HourFormat`, `ForceRightToLeft`, `TranslateUsernamePlaceholder`
+This is just a teaser. There are 27 customizable variables in total! This sugar will be yours and only yours.
+Sugar comes in two flavors. This one is for the bitter sweet. You can also check out [Sugar Light](https://www.opendesktop.org/p/1272119/).
+
+### Dependencies
+
+[`sddm >= 0.18.0`](https://github.com/sddm/sddm), [`qt5 >= 5.11.0`](http://doc.qt.io/qt-5/index.html), [`qt5-quickcontrols2 >= 5.11.0`](http://doc.qt.io/qt-5/qtquickcontrols2-index.html), [`qt5-svg >= 5.11.0`](https://doc.qt.io/qt-5/qtsvg-index.html)
+
+*Make sure these are up to date!*
+
+### Installing the theme
+
+###### From KDE Plasma
+
+If you are on [KDE Plasma](https://www.kde.org/plasma-desktop)—by default [openSuse](https://www.opensuse.org/), [Neon](https://neon.kde.org/), [Kubuntu](https://kubuntu.org/), [KaOS](https://kaosx.us/) or [Chakra](https://www.chakralinux.org/) for example—you are lucky and can simply go to your system settings and under "Startup and Shutdown" followed by "Login Screen (SDDM)" click "Get New Theme". From there search for "Sugar Dark" and install.
+
+If for some reason you cannot find the category named "Login Screen (SDDM)" in your system settings then you are missing `sddm-kcm`. Install this little helper with your package manager first. You will be grateful you did.
+
+###### From other desktop environments
+
+[Download the tar archive from openDesktop](https://www.opendesktop.org/p/1272122) and extract the contents to the theme directory of SDDM *(change the path for the downloaded file if necessary)*:
+```
+$ sudo tar -xzvf ~/Downloads/sugar-dark.tar.gz -C /usr/share/sddm/themes
+```
+This will extract all the files to a folder called "sugar-dark" inside of the themes directory of SDDM.
+
+After that you will have to point SDDM to the new theme by editing its config file, preferrably at `/etc/sddm.conf.d/sddm.conf` *(create if necessary)*. You can take the default config file of SDDM as a reference: `/etc/sddm.conf/usr/lib/sddm/sddm.conf.d/sddm.conf`.
+
+In the `[Theme]` section simply add the themes name: `Current=sugar-dark`. Also see the [Arch wiki on SDDM](https://wiki.archlinux.org/index.php/SDDM).
+
+### Theming the theme
+
+Sugar is extremely customizable by editing its included `theme.conf` file. You can change the colors and images used, the time and date formats, the appearance of the whole interface and even how it works.
+And as if that wouldn't still be enough you can translate every single button and label because SDDM is still lacking behind with localization and clearly [needs your help](https://github.com/sddm/sddm/wiki/Localization)!
+
+Please read the [Sugar Wiki on Github](https://github.com/MarianArlt/sddm-sugar-light/wiki/Before-you-begin) for a detailed description of every variable available, what it does and the values it accepts. The `theme.conf` itself is also very well commented for you to get right at it.
+
+### Legal Notice
+
+Copyright (C) 2018 Marian Arlt.
+
+Sugar Dark is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+
+Sugar Dark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with Sugar Dark. If not, see <https://www.gnu.org/licenses/>.
+
+[Mockup psd created by Qeaql-studio - Freepik.com](https://www.freepik.com/free-photos-vectors/mockup)
+
+### Other awesome projects
+
+- [Chili—the hottest login theme for KDE Plasma](https://www.opendesktop.org/p/1214121)
+- [Chili stand-alone fork for SDDM only](https://www.opendesktop.org/p/1240784)
+- [Flat OSX like aurorae window decorations for your Linux desktop](https://www.opendesktop.org/p/1199822) and [its high contrast version](https://www.opendesktop.org/p/1246756)
+- [Finely crafted folder icons for Linux](https://www.opendesktop.org/p/1228310)
+- [Inline clock widget for KDE Plasma](https://www.opendesktop.org/p/1245902)
+
+### Motivate a developer
+
+In the past years I have spent quite some hours on open source projects. If you are the type of person who digs attention to detail, know how much work is involved in it and/or simply likes to support makers with a coffee or a beer I would greatly appreciate your donation on my [PayPayl](https://www.paypal.me/marianarlt) account.
+Alternatively downloading my themes directly from opendesktop or with the kde sddm system settings module will at least help me a little to be able to attend your issues and requests.
+Please consider helping developers you think are worth a penny or two, literally.
diff --git a/.sddm/themes/sugar-dark/metadata.desktop b/.sddm/themes/sugar-dark/metadata.desktop
new file mode 100644
index 00000000..d549f709
--- /dev/null
+++ b/.sddm/themes/sugar-dark/metadata.desktop
@@ -0,0 +1,16 @@
+[SddmGreeterTheme]
+Name=Sugar Dark
+Description=The sweetest theme around; Dark!
+Author=Marian Arlt
+Copyright=Copyright (C) 2018 Marian Arlt
+License=GPL-3.0-or-later
+Type=sddm-theme
+Version=1.2
+Website=https://github.com/MarianArlt/sddm-sugar-dark
+Screenshot=Preview.png
+MainScript=Main.qml
+ConfigFile=theme.conf
+TranslationsDirectory=translations
+Email=marianarlt@icloud.com
+Theme-Id=sugar-dark
+Theme-API=2.11
diff --git a/.sddm/themes/sugar-dark/theme.conf b/.sddm/themes/sugar-dark/theme.conf
new file mode 100644
index 00000000..f20f1d3b
--- /dev/null
+++ b/.sddm/themes/sugar-dark/theme.conf
@@ -0,0 +1,87 @@
+[General]
+
+Background="~/.wallpapers/c3uhsgo1vx541.jpg"
+## Must match the name of the image in the theme directory. Any standard image file format is allowed with transparency supported. (e.g. background.jpeg/illustration.GIF/Foto.png)
+
+ScaleImageCropped=true
+## Whether the image should be cropped when scaled proportionally. Setting this to false will fit the whole image when scaled, possibly leaving white space. This can be exploited beautifully with illustrations. (Try it with "Illustration.svg")
+
+ScreenWidth=3840
+ScreenHeight=2160
+## Adjust to your resolution to help SDDM speed up on calculations
+
+
+
+## [Design Customizations]
+
+MainColor="navajowhite"
+## Used for all elements when not focused/hovered etc. Usually the best effect is achieved by having this either white or a very light color
+
+AccentColor="white"
+## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor for best effect
+
+RoundCorners=20
+## Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
+
+ScreenPadding=0
+## Increase or delete this to have a white padding all around your screen. This makes your image appear like a canvas. Cool!
+
+Font="Noto Sans"
+## If you want to choose a custom font it will have to be available to the X root user. See https://wiki.archlinux.org/index.php/fonts#Manual_installation
+
+FontSize=
+## Only set a fixed value if fonts are way too small for your resolution. Preferrably kept empty.
+
+
+
+## [Locale Settings]
+
+Locale=
+## The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.
+
+HourFormat="HH:mm"
+## Defaults to Locale.ShortFormat. Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+
+DateFormat="dddd, d of MMMM"
+## Defaults to Locale.LongFormat. Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+
+
+
+## [Interface Behavior]
+
+ForceRightToLeft=false
+## Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason.
+
+ForceLastUser=true
+## Have the last user appear automatically in the username field.
+
+ForcePasswordFocus=true
+## Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.
+
+ForceHideCompletePassword=false
+## If you don't like to see any character at all not even while being entered set this to true.
+
+ForceHideVirtualKeyboardButton="false"
+## Do not show the button for the virtual keyboard at all. This will completely disable functionality for the virtual keyboard even if it is installed and activated in sddm.conf
+
+
+## [Translations]
+
+## SDDM may lack proper translation for every element. Suger defaults to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.
+
+HeaderText=rogs
+## Header can be empty to not display any greeting at all. Keep it short.
+
+TranslatePlaceholderUsername=""
+TranslatePlaceholderPassword=""
+TranslateShowPassword=""
+TranslateLogin=""
+TranslateLoginFailedWarning=""
+TranslateCapslockWarning=""
+TranslateSession=""
+TranslateSuspend=""
+TranslateHibernate=""
+TranslateReboot=""
+TranslateShutdown=""
+TranslateVirtualKeyboardButton=""
+## These don't necessarily need to translate anything. You can enter whatever you want here.
diff --git a/.sddm/themes/sugar-light/AUTHORS b/.sddm/themes/sugar-light/AUTHORS
new file mode 100644
index 00000000..85e0545e
--- /dev/null
+++ b/.sddm/themes/sugar-light/AUTHORS
@@ -0,0 +1,5 @@
+Marian Alexander Arlt
+
+marianarlt@icloud.com
+github.com/marianarlt
+opendesktop.org/u/marianarlt
diff --git a/.sddm/themes/sugar-light/Assets/Reboot.svgz b/.sddm/themes/sugar-light/Assets/Reboot.svgz
new file mode 100644
index 00000000..1958f78d
--- /dev/null
+++ b/.sddm/themes/sugar-light/Assets/Reboot.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-light/Assets/Shutdown.svgz b/.sddm/themes/sugar-light/Assets/Shutdown.svgz
new file mode 100644
index 00000000..48456751
--- /dev/null
+++ b/.sddm/themes/sugar-light/Assets/Shutdown.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-light/Assets/Suspend.svgz b/.sddm/themes/sugar-light/Assets/Suspend.svgz
new file mode 100644
index 00000000..dd230f77
--- /dev/null
+++ b/.sddm/themes/sugar-light/Assets/Suspend.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-light/Assets/User.svgz b/.sddm/themes/sugar-light/Assets/User.svgz
new file mode 100644
index 00000000..e8bbdbf1
--- /dev/null
+++ b/.sddm/themes/sugar-light/Assets/User.svgz
Binary files differ
diff --git a/.sddm/themes/sugar-light/COPYING b/.sddm/themes/sugar-light/COPYING
new file mode 100644
index 00000000..f288702d
--- /dev/null
+++ b/.sddm/themes/sugar-light/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/.sddm/themes/sugar-light/CREDITS b/.sddm/themes/sugar-light/CREDITS
new file mode 100644
index 00000000..2b1f154f
--- /dev/null
+++ b/.sddm/themes/sugar-light/CREDITS
@@ -0,0 +1,13 @@
+/Assets/User.svgz by Baboon designs
+from the Noun Project: https://thenounproject.com/baboondesigns/collection/user-icons/?i=839017
+CCBY (https://creativecommons.org/licenses/by/4.0)
+
+Exploding Lava Illustration from https://alpha.wallhaven.cc/wallpaper/629944
+License unknown - Please contact the theme creator immediately if you find the original source with license details.
+
+/Illustration.svg by Katerina Limpitsouni
+from https://undraw.co/
+MIT (https://opensource.org/licenses/MIT)
+
+/Preview.jpg is based on a mockup created by Qeaql-studio - Freepik.com
+https://www.freepik.com/free-photos-vectors/mockup
diff --git a/.sddm/themes/sugar-light/Components/Clock.qml b/.sddm/themes/sugar-light/Components/Clock.qml
new file mode 100644
index 00000000..a8ac7515
--- /dev/null
+++ b/.sddm/themes/sugar-light/Components/Clock.qml
@@ -0,0 +1,71 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+
+Column {
+ id: clock
+ spacing: 0
+ width: parent.width / 2
+
+ Label {
+ anchors.horizontalCenter: parent.horizontalCenter
+ font.pointSize: config.HeaderText !=="" ? root.font.pointSize * 5 : 0
+ color: root.palette.text
+ renderType: Text.QtRendering
+ text: config.HeaderText
+ }
+
+ Label {
+ id: timeLabel
+ anchors.horizontalCenter: parent.horizontalCenter
+ font.pointSize: root.font.pointSize * 3
+ color: root.palette.text
+ renderType: Text.QtRendering
+ function updateTime() {
+ text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
+ }
+ }
+
+ Label {
+ id: dateLabel
+ anchors.horizontalCenter: parent.horizontalCenter
+ color: root.palette.text
+ renderType: Text.QtRendering
+ function updateTime() {
+ text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat)
+ }
+ }
+
+ Timer {
+ interval: 1000
+ repeat: true
+ running: true
+ onTriggered: {
+ dateLabel.updateTime()
+ timeLabel.updateTime()
+ }
+ }
+
+ Component.onCompleted: {
+ dateLabel.updateTime()
+ timeLabel.updateTime()
+ }
+}
diff --git a/.sddm/themes/sugar-light/Components/Input.qml b/.sddm/themes/sugar-light/Components/Input.qml
new file mode 100644
index 00000000..9f93277d
--- /dev/null
+++ b/.sddm/themes/sugar-light/Components/Input.qml
@@ -0,0 +1,389 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+
+Column {
+ id: inputContainer
+ Layout.fillWidth: true
+
+ property Control exposeLogin: loginButton
+
+ Item {
+ id: usernameField
+ height: root.font.pointSize * 3.25
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ TextField {
+ id: username
+ text: config.ForceLastUser == "true" ? userModel.lastUser : ""
+ anchors.centerIn: parent
+ height: root.font.pointSize * 3
+ width: parent.width
+ placeholderText: config.TranslateUsernamePlaceholder || textConstants.userName
+ selectByMouse: true
+ horizontalAlignment: TextInput.AlignHCenter
+ renderType: Text.QtRendering
+ background: Rectangle {
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.activeFocus ? 2 : 1
+ radius: config.RoundCorners || 0
+ }
+ Keys.onReturnPressed: loginButton.clicked()
+ KeyNavigation.down: password
+ }
+
+ Button {
+ id: usernameIcon
+ anchors.horizontalCenter: parent.left
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.horizontalCenterOffset: username.height * 0.6
+ icon.height: username.height * 0.4
+ icon.width: username.height * 0.4
+ enabled: false
+ icon.color: root.palette.text
+ icon.source: Qt.resolvedUrl("../Assets/User.svgz")
+ }
+
+ states: [
+ State {
+ name: "focused"
+ when: username.activeFocus
+ PropertyChanges {
+ target: username.background
+ border.color: config.AccentColor
+ }
+ PropertyChanges {
+ target: username
+ color: config.AccentColor
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color"
+ duration: 150
+ }
+ }
+ ]
+ }
+
+ Item {
+ id: passwordField
+ height: root.font.pointSize * 4.5
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ TextField {
+ id: password
+ anchors.centerIn: parent
+ height: root.font.pointSize * 3
+ width: parent.width
+ focus: config.ForcePasswordFocus == "true" ? true : false
+ selectByMouse: true
+ echoMode: revealSecret.checked ? TextInput.Normal : TextInput.Password
+ placeholderText: config.TranslatePasswordPlaceholder || textConstants.password
+ horizontalAlignment: TextInput.AlignHCenter
+ passwordCharacter: "•"
+ passwordMaskDelay: config.ForceHideCompletePassword == "true" ? undefined : 1000
+ renderType: Text.QtRendering
+ background: Rectangle {
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.activeFocus ? 2 : 1
+ radius: config.RoundCorners || 0
+ }
+ Keys.onReturnPressed: loginButton.clicked()
+ KeyNavigation.down: revealSecret
+ }
+
+ states: [
+ State {
+ name: "focused"
+ when: password.activeFocus
+ PropertyChanges {
+ target: password.background
+ border.color: config.AccentColor
+ }
+ PropertyChanges {
+ target: password
+ color: config.AccentColor
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color"
+ duration: 150
+ }
+ }
+ ]
+ }
+
+ Item {
+ id: secretCheckBox
+ height: root.font.pointSize * 7
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ CheckBox {
+ id: revealSecret
+ width: parent.width
+ hoverEnabled: true
+
+ indicator: Rectangle {
+ id: indicator
+ anchors.left: parent.left
+ implicitHeight: root.font.pointSize
+ implicitWidth: root.font.pointSize
+ color: "transparent"
+ border.color: root.palette.text
+ border.width: parent.visualFocus ? 2 : 1
+ Rectangle {
+ id: dot
+ anchors.centerIn: parent
+ implicitHeight: parent.width - 6
+ implicitWidth: parent.width - 6
+ color: root.palette.text
+ opacity: revealSecret.checked ? 1 : 0
+ }
+ }
+
+ contentItem: Text {
+ id: indicatorLabel
+ text: config.TranslateShowPassword || "Show Password"
+ anchors.verticalCenter: indicator.verticalCenter
+ horizontalAlignment: Text.AlignLeft
+ anchors.left: indicator.right
+ anchors.leftMargin: indicator.width / 2
+ font.pointSize: root.font.pointSize * 0.75
+ color: root.palette.text
+ }
+
+ Keys.onReturnPressed: toggle()
+ KeyNavigation.down: loginButton
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: revealSecret.down
+ PropertyChanges {
+ target: revealSecret.contentItem
+ color: Qt.darker(config.AccentColor, 1.2)
+ }
+ PropertyChanges {
+ target: dot
+ color: Qt.darker(config.AccentColor, 1.2)
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: Qt.darker(config.AccentColor, 1.2)
+ }
+ },
+ State {
+ name: "hovered"
+ when: revealSecret.hovered
+ PropertyChanges {
+ target: indicatorLabel
+ color: Qt.lighter(config.AccentColor, 1.3)
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: Qt.lighter(config.AccentColor, 1.3)
+ }
+ PropertyChanges {
+ target: dot
+ color: Qt.lighter(config.AccentColor, 1.3)
+ }
+ },
+ State {
+ name: "focused"
+ when: revealSecret.visualFocus
+ PropertyChanges {
+ target: indicatorLabel
+ color: config.AccentColor
+ }
+ PropertyChanges {
+ target: indicator
+ border.color: config.AccentColor
+ }
+ PropertyChanges {
+ target: dot
+ color: config.AccentColor
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color, opacity"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ Item {
+ height: root.font.pointSize * 2.3
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+ Label {
+ id: errorMessage
+ width: parent.width
+ text: config.TranslateLoginFailed || textConstants.loginFailed + "!"
+ horizontalAlignment: Text.AlignHCenter
+ font.pointSize: root.font.pointSize * 0.8
+ font.italic: true
+ color: root.palette.text
+ opacity: 0
+ OpacityAnimator on opacity {
+ id: fadeIn
+ from: 0;
+ to: 1;
+ duration: 200
+ running: false
+ }
+ OpacityAnimator on opacity {
+ id: fadeOut
+ from: 1;
+ to: 0;
+ duration: 400
+ running: false
+ }
+ }
+ }
+
+ Item {
+ id: login
+ height: root.font.pointSize * 3
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ Button {
+ id: loginButton
+ anchors.horizontalCenter: parent.horizontalCenter
+ text: config.TranslateLogin || textConstants.login
+ height: root.font.pointSize * 3
+ implicitWidth: parent.width
+ enabled: username.text !== "" && password.text !== "" ? true : false
+ hoverEnabled: true
+
+ contentItem: Text {
+ text: parent.text
+ color: "white"
+ font.pointSize: root.font.pointSize
+ horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
+ }
+
+ background: Rectangle {
+ id: buttonBackground
+ color: root.palette.text
+ radius: config.RoundCorners || 0
+ }
+
+ states: [
+ State {
+ name: "disabled"
+ when: !loginButton.enabled
+ PropertyChanges {
+ target: buttonBackground
+ color: "#888888"
+ }
+ },
+ State {
+ name: "pressed"
+ when: loginButton.down
+ PropertyChanges {
+ target: buttonBackground
+ color: "#444444"
+ }
+ },
+ State {
+ name: "hovered"
+ when: loginButton.hovered
+ PropertyChanges {
+ target: buttonBackground
+ color: Qt.lighter(config.AccentColor, 1.2) || Qt.lighter("orange", 1.2)
+ }
+ },
+ State {
+ name: "focused"
+ when: loginButton.visualFocus
+ PropertyChanges {
+ target: buttonBackground
+ color: config.AccentColor
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ from: "disabled"; to: ""
+ PropertyAnimation {
+ properties: "color"
+ duration: 500
+ }
+ },
+ Transition {
+ PropertyAnimation {
+ properties: "color"
+ duration: 100
+ }
+ }
+ ]
+
+ Keys.onReturnPressed: clicked()
+ onClicked: username.text !== "" && password.text !== "" ? sddm.login(username.text, password.text, sessionSelector.selectedSession) : sddm.loginFailed()
+ }
+ }
+
+ SessionButton {
+ id: sessionSelector
+ textConstantSession: textConstants.session
+ }
+
+ Connections {
+ target: sddm
+ onLoginSucceeded: {}
+ onLoginFailed: {
+ fadeIn.start()
+ resetError.running ? resetError.stop() & resetError.start() : resetError.start()
+ }
+ }
+
+ Timer {
+ id: resetError
+ interval: 2000
+ onTriggered: fadeOut.start()
+ running: false
+ }
+
+}
diff --git a/.sddm/themes/sugar-light/Components/LoginForm.qml b/.sddm/themes/sugar-light/Components/LoginForm.qml
new file mode 100644
index 00000000..dd8eafda
--- /dev/null
+++ b/.sddm/themes/sugar-light/Components/LoginForm.qml
@@ -0,0 +1,47 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import SddmComponents 2.0 as SDDM
+
+ColumnLayout {
+ id: formContainer
+ SDDM.TextConstants { id: textConstants }
+
+ Clock {
+ id: clock
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
+ Layout.preferredHeight: root.height / 3
+ }
+
+ Input {
+ id: input
+ Layout.alignment: Qt.AlignTop
+ Layout.preferredHeight: root.height / 10
+ }
+
+ SystemButtons {
+ id: systemButtons
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
+ Layout.preferredHeight: root.height / 4
+ exposedLogin: input.exposeLogin
+ }
+
+}
diff --git a/.sddm/themes/sugar-light/Components/SessionButton.qml b/.sddm/themes/sugar-light/Components/SessionButton.qml
new file mode 100644
index 00000000..b134f332
--- /dev/null
+++ b/.sddm/themes/sugar-light/Components/SessionButton.qml
@@ -0,0 +1,161 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+
+Item {
+ id: sessionButton
+ height: root.font.pointSize
+ width: parent.width / 2
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ property var selectedSession: selectSession.currentIndex
+ property string textConstantSession
+
+ ComboBox {
+ id: selectSession
+
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: parent.width
+ hoverEnabled: true
+
+ model: sessionModel
+ currentIndex: model.lastIndex
+ textRole: "name"
+
+ delegate: ItemDelegate {
+ width: parent.width
+ anchors.horizontalCenter: parent.horizontalCenter
+ contentItem: Text {
+ text: model.name
+ font.pointSize: root.font.pointSize * 0.8
+ color: selectSession.highlightedIndex === index ? "white" : root.palette.text
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignHCenter
+ }
+ highlighted: parent.highlightedIndex === index
+ background: Rectangle {
+ color: selectSession.highlightedIndex === index ? root.palette.text : "transparent"
+ }
+ }
+
+ indicator {
+ visible: false
+ }
+
+ contentItem: Text {
+ id: displayedItem
+ text: (config.TranslateSession || (textConstantSession + ":")) + " " + selectSession.currentText
+ color: root.palette.text // parent.down ? root.palette.text : parent.hovered ? Qt.lighter(root.palette.text, 1.8) : root.palette.text
+ verticalAlignment: Text.AlignVCenter
+ horizontalAlignment: Text.AlignLeft
+ font.pointSize: root.font.pointSize * 0.8
+ }
+
+ background: Rectangle {
+ color: "transparent"
+ border.width: parent.visualFocus ? 1 : 0
+ border.color: "transparent" // parent.visualFocus ? root.palette.text : "transparent"
+ height: parent.visualFocus ? 2 : 0
+ width: displayedItem.implicitWidth
+ anchors.top: parent.bottom
+ anchors.left: parent.left
+ }
+
+ popup: Popup {
+ id: popupHandler
+ y: parent.height - 1
+ width: parent.width
+ implicitHeight: contentItem.implicitHeight
+ padding: 1
+
+ contentItem: ListView {
+ clip: false
+ implicitHeight: contentHeight
+ model: selectSession.popup.visible ? selectSession.delegateModel : null
+ currentIndex: selectSession.highlightedIndex
+ ScrollIndicator.vertical: ScrollIndicator { }
+ }
+
+ background: Rectangle {
+ width: parent.width
+ height: parent.height
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: parent.bottom
+ border.width: 1
+ border.color: root.palette.text
+ }
+
+ enter: Transition {
+ NumberAnimation { property: "opacity"; from: 0; to: 1 }
+ }
+ }
+
+ states: [
+ State {
+ name: "pressed"
+ when: selectSession.down
+ PropertyChanges {
+ target: displayedItem
+ color: Qt.lighter(config.AccentColor, 1.1)
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: Qt.lighter(config.AccentColor, 1.1)
+ }
+ },
+ State {
+ name: "hovered"
+ when: selectSession.hovered
+ PropertyChanges {
+ target: displayedItem
+ color: Qt.lighter(config.AccentColor, 1.3)
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: Qt.lighter(config.AccentColor, 1.3)
+ }
+ },
+ State {
+ name: "focused"
+ when: selectSession.visualFocus
+ PropertyChanges {
+ target: displayedItem
+ color: config.AccentColor
+ }
+ PropertyChanges {
+ target: selectSession.background
+ border.color: config.AccentColor
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "color, border.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+}
diff --git a/.sddm/themes/sugar-light/Components/SystemButtons.qml b/.sddm/themes/sugar-light/Components/SystemButtons.qml
new file mode 100644
index 00000000..f066a317
--- /dev/null
+++ b/.sddm/themes/sugar-light/Components/SystemButtons.qml
@@ -0,0 +1,118 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+
+RowLayout {
+
+ spacing: root.font.pointSize
+
+ property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
+ property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
+ property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
+
+ property Control exposedLogin
+
+ Repeater {
+
+ model: [suspend, reboot, shutdown]
+
+ RoundButton {
+ enabled: modelData[2]
+ text: modelData[1]
+ font.pointSize: root.font.pointSize * 0.8
+ Layout.alignment: Qt.AlignHCenter
+ icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : ""
+ icon.height: 2 * Math.round((root.font.pointSize * 3) / 2)
+ icon.width: 2 * Math.round((root.font.pointSize * 3) / 2)
+ display: AbstractButton.TextUnderIcon
+ opacity: modelData[2] ? 1 : 0.3
+ hoverEnabled: true
+ palette.buttonText: root.palette.text
+ background: Rectangle {
+ height: 2
+ color: "transparent"
+ width: parent.width
+ border.width: parent.visualFocus ? 1 : 0
+ border.color: "transparent"
+ anchors.top: parent.bottom
+ }
+ Keys.onReturnPressed: clicked()
+ onClicked: {
+ parent.forceActiveFocus()
+ index == 0 ? sddm.suspend() : index == 1 ? sddm.reboot() : sddm.powerOff()
+ }
+ KeyNavigation.up: exposedLogin
+ KeyNavigation.left: index == 0 ? exposedLogin : parent.children[index-1]
+
+ states: [
+ State {
+ name: "pressed"
+ when: parent.children[index].down
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: Qt.lighter("red", 1.1)
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: Qt.lighter("red", 1.3)
+ }
+ },
+ State {
+ name: "hovered"
+ when: parent.children[index].hovered
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: Qt.lighter("red", 1.5)
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: Qt.lighter("red", 1.7)
+ }
+ },
+ State {
+ name: "focused"
+ when: parent.children[index].visualFocus
+ PropertyChanges {
+ target: parent.children[index]
+ palette.buttonText: Qt.lighter("red", 1.3)
+ }
+ PropertyChanges {
+ target: parent.children[index].background
+ border.color: Qt.lighter("red", 1.5)
+ }
+ }
+ ]
+
+ transitions: [
+ Transition {
+ PropertyAnimation {
+ properties: "palette.buttonText, border.color"
+ duration: 150
+ }
+ }
+ ]
+
+ }
+
+ }
+
+}
diff --git a/.sddm/themes/sugar-light/Main.qml b/.sddm/themes/sugar-light/Main.qml
new file mode 100644
index 00000000..5bc4314e
--- /dev/null
+++ b/.sddm/themes/sugar-light/Main.qml
@@ -0,0 +1,73 @@
+//
+// This file is part of Sugar Light, a theme for the Simple Display Desktop Manager.
+//
+// Copyright 2018 Marian Arlt
+//
+// Sugar Light is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Sugar Light is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+//
+
+import QtQuick 2.11
+import QtQuick.Layouts 1.11
+import QtQuick.Controls 2.4
+import "Components"
+
+Pane{
+ id: root
+
+ height: config.ScreenHeight
+ width: config.ScreenWidth
+ padding: config.ScreenPadding || root.padding
+
+ LayoutMirroring.enabled: config.ForceRightToLeft == "true" ? true : Qt.application.layoutDirection === Qt.RightToLeft
+ LayoutMirroring.childrenInherit: true
+
+ palette.button: "transparent"
+ palette.highlight: config.ThemeColor
+ palette.text: config.ThemeColor
+ palette.buttonText: config.ThemeColor
+
+ font.family: config.Font
+ font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80)
+ focus: true
+
+ RowLayout {
+ anchors.fill: parent
+ spacing: 0
+
+ LoginForm {
+ Layout.minimumHeight: parent.height
+ Layout.maximumWidth: parent.width / 2.5
+ }
+
+ Item {
+ id: image
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+ Image {
+ source: config.background || config.Background
+ anchors.fill: parent
+ asynchronous: true
+ cache: true
+ fillMode: config.ScaleImageCropped == "true" ? Image.PreserveAspectCrop : Image.PreserveAspectFit
+ clip: true
+ mipmap: true
+ }
+ MouseArea {
+ anchors.fill: parent
+ onClicked: parent.forceActiveFocus()
+ }
+ }
+ }
+
+}
diff --git a/.sddm/themes/sugar-light/Preview.png b/.sddm/themes/sugar-light/Preview.png
new file mode 100644
index 00000000..02bbe921
--- /dev/null
+++ b/.sddm/themes/sugar-light/Preview.png
Binary files differ
diff --git a/.sddm/themes/sugar-light/README.md b/.sddm/themes/sugar-light/README.md
new file mode 100644
index 00000000..ee029386
--- /dev/null
+++ b/.sddm/themes/sugar-light/README.md
@@ -0,0 +1,73 @@
+![Screenshot of the interface of the Sugar Light theme for SDDM](Previews/Mockup.jpg "The default interface of the Sugar Light theme for SDDM")
+
+# Sugar Light login theme for SDDM
+
+Sugar is extremely customizable and so sweet it will probably cause you diabetes just from looking at it. Sweeten the login experience for your users, your family and yourself. Sugar is cross platform and all about user experience and functionality.
+With those principles in mind Sugar was written completely from scratch making it clean and simple not only by looks but by design too.
+All controls use the **[latest Qt Quick Controls 2](http://doc.qt.io/qt-5/qtquickcontrols2-index.html)** for [increased performance](https://blog.qt.io/blog/2015/03/31/qt-quick-controls-for-embedded/) on low end or even embedded systems and beautiful color transitions.
+
+To learn how to control sugar levels you should check the [Sugar Wiki on Github](https://github.com/MarianArlt/sddm-sugar-light/wiki/Before-you-begin) or the very well documented and included [`theme.conf`](theme.conf).
+Here are some previews of nifty variable names you can set/unset/change to customize your sugar:
+`ThemeColor`, `Font`, `HourFormat`, `ForceRightToLeft`, `TranslateUsernamePlaceholder`
+This is just a teaser. There are 27 customizable variables in total! This sugar will be yours and only yours.
+Sugar comes in two flavors. This one is for the milky sweet. You can also check out [Sugar Dark](https://www.opendesktop.org/p/1272122/).
+
+
+### Dependencies
+
+[`sddm >= 0.18.0`](https://github.com/sddm/sddm), [`qt5 >= 5.11`](http://doc.qt.io/qt-5/index.html), & [`qt5-quickcontrols >= 5.11.2`](http://doc.qt.io/qt-5/qtquickcontrols2-index.html)
+
+*Make sure these are up to date!*
+
+### Installing the theme
+
+###### From KDE Plasma
+
+If you are on [KDE Plasma](https://www.kde.org/plasma-desktop)—by default [openSuse](https://www.opensuse.org/), [Neon](https://neon.kde.org/), [Kubuntu](https://kubuntu.org/), [KaOS](https://kaosx.us/) or [Chakra](https://www.chakralinux.org/) for example—you are lucky and can simply go to your system settings and under "Startup and Shutdown" followed by "Login Screen (SDDM)" click "Get New Theme". From there search for "Sugar Light" and install.
+
+If for some reason you cannot find the category named "Login Screen (SDDM)" in your system settings then you are missing `sddm-kcm`. Install this little helper with your package manager first. You will be grateful you did.
+
+###### From other desktop environments
+
+[Download the tar archive from openDesktop](https://www.opendesktop.org/p/1240784) and extract the contents to the theme directory of SDDM *(change the path for the downloaded file if necessary)*:
+```
+$ sudo tar -xzvf ~/Downloads/sugar-light.tar.gz -C /usr/share/sddm/themes
+```
+This will extract all the files to a folder called "sugar-light" inside of the themes directory of SDDM.
+
+After that you will have to point SDDM to the new theme by editing its config file, preferrably at `/etc/sddm.conf.d/sddm.conf` *(create if necessary)*. You can take the default config file of SDDM as a reference: `/etc/sddm.conf/usr/lib/sddm/sddm.conf.d/sddm.conf`.
+
+In the `[Theme]` section simply add the themes name: `Current=sugar-light`. Also see the [Arch wiki on SDDM](https://wiki.archlinux.org/index.php/SDDM).
+
+### Theming the theme
+
+Sugar is extremely customizable by editing its included `theme.conf` file. You can change the colors and images used, the time and date formats, the appearance of the whole interface and even how it works.
+And as if that wouldn't still be enough you can translate every single button and label because SDDM is still lacking behind with localization and clearly [needs your help](https://github.com/sddm/sddm/wiki/Localization)!
+
+Please read the [Sugar Wiki on Github](https://github.com/MarianArlt/sddm-sugar-light/wiki/Before-you-begin) for a detailed description of every variable available, what it does and the values it accepts. The `theme.conf` itself is also very well commented for you to get right at it.
+
+### Legal Notice
+
+Copyright (C) 2018 Marian Arlt.
+
+Sugar Light is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+
+Sugar Light is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with Sugar Light. If not, see <https://www.gnu.org/licenses/>.
+
+[Mockup psd created by Qeaql-studio - Freepik.com](https://www.freepik.com/free-photos-vectors/mockup)
+
+### Other awesome projects
+
+- [Chili—the hottest login theme for KDE Plasma](https://www.opendesktop.org/p/1214121)
+- [Chili stand-alone fork for SDDM only](https://www.opendesktop.org/p/1240784)
+- [Flat OSX like aurorae window decorations for your Linux desktop](https://www.opendesktop.org/p/1199822) and [its high contrast version](https://www.opendesktop.org/p/1246756)
+- [Finely crafted folder icons for Linux](https://www.opendesktop.org/p/1228310)
+- [Inline clock widget for KDE Plasma](https://www.opendesktop.org/p/1245902)
+
+### Motivate a developer
+
+In the past years I have spent quite some hours on open source projects. If you are the type of person who digs attention to detail, know how much work is involved in it and/or simply likes to support makers with a coffee or a beer I would greatly appreciate your donation on my [PayPayl](https://www.paypal.me/marianarlt) account.
+Alternatively downloading my themes directly from opendesktop or with the kde sddm system settings module will at least help me a little to be able to attend your issues and requests.
+Please consider helping developers you think are worth a penny or two, literally.
diff --git a/.sddm/themes/sugar-light/metadata.desktop b/.sddm/themes/sugar-light/metadata.desktop
new file mode 100644
index 00000000..b73ccf82
--- /dev/null
+++ b/.sddm/themes/sugar-light/metadata.desktop
@@ -0,0 +1,16 @@
+[SddmGreeterTheme]
+Name=Sugar Light
+Description=The sweetest theme around
+Author=Marian Alexander Arlt
+Copyright=Copyright (C) 2018 Marian Arlt
+License=GPL-3.0-or-later
+Type=sddm-theme
+Version=1.0
+Website=https://github.com/MarianArlt/sddm-sugar-light
+Screenshot=Preview.png
+MainScript=Main.qml
+ConfigFile=theme.conf
+TranslationsDirectory=translations
+Email=marianarlt@icloud.com
+Theme-Id=sugar-light
+Theme-API=2.11
diff --git a/.sddm/themes/sugar-light/theme.conf b/.sddm/themes/sugar-light/theme.conf
new file mode 100644
index 00000000..2dfd3a22
--- /dev/null
+++ b/.sddm/themes/sugar-light/theme.conf
@@ -0,0 +1,54 @@
+[General]
+Background="~/.wallpapers/c3uhsgo1vx541.jpg"
+; Must match the name of the image in the theme directory. Any standard image file format is allowed with transparency supported. (e.g. background.jpeg/illustration.GIF/Foto.png)
+ScaleImageCropped=true
+; Whether the image should be cropped when scaled proportionally. Setting this to false will fit the whole image when scaled, possibly leaving white space. This can be exploited beautifully with illustrations. (Try it with "Illustration.svg")
+ScreenWidth=3840
+ScreenHeight=2160
+; Adjust to your resolution to help SDDM speed up on calculations
+
+# [Design Customizations]
+ThemeColor="#424242"
+AccentColor="#75D85A"
+; Colors can be HEX or named (e.g. red/blue/blanchedalmond). See http://doc.qt.io/qt-5/qml-color.html#svg-color-reference
+RoundCorners=
+; Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
+ScreenPadding=0
+; Increase or delete this to have a white padding all around your screen. This makes your image appear like a canvas. Cool!
+Font="Noto Sans"
+; If you want to choose a custom font it will have to be available to the X root user. See https://wiki.archlinux.org/index.php/fonts#Manual_installation
+FontSize=20
+; Only set a fixed value if fonts are way too small for your resolution. Preferrably kept empty.
+
+# [Locale Settings]
+Locale=
+; The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.
+HourFormat=
+; Defaults to Locale.ShortFormat. Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+DateFormat=
+; Defaults to Locale.LongFormat. Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
+
+# [Interface Behavior]
+ForceRightToLeft=false
+; Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason.
+ForceLastUser=true
+; Have the last user appear automatically in the username field.
+ForcePasswordFocus=true
+; Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.
+ForceHideCompletePassword=true
+; If you don't like to see any character at all not even while being entered set this to true.
+
+# [Translations]
+; SDDM may lack proper translation for every element. The keys beginning with Translate... default to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.
+HeaderText="rogs"
+; Header can be empty to not display any greeting at all. Keep it short.
+TranslateUsernamePlaceholder="Usuario"
+TranslatePasswordPlaceholder="Contraseña"
+TranslateShowPassword="Mostrar contraseña"
+TranslateLoginFailed="Login fallido"
+TranslateLogin=
+TranslateSession="Sesión"
+TranslateSuspend="Suspender"
+TranslateReboot="Reiniciar"
+TranslateShutdown="Apagar"
+; These don't necessarily need to translate anything. You can enter whatever you want here.