summaryrefslogtreecommitdiff
path: root/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com
diff options
context:
space:
mode:
authorAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
committerAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
commit70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch)
treeab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com
parent5d94c0a7d44a2255b81815a52a7056a94a39842d (diff)
downloadRaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz
RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com')
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/LICENSE674
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/extension.js631
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ar/LC_MESSAGES/burn-my-windows.mobin0 -> 5281 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/az/LC_MESSAGES/burn-my-windows.mobin0 -> 3864 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/cs/LC_MESSAGES/burn-my-windows.mobin0 -> 7277 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/da/LC_MESSAGES/burn-my-windows.mobin0 -> 9220 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/de/LC_MESSAGES/burn-my-windows.mobin0 -> 8930 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/el/LC_MESSAGES/burn-my-windows.mobin0 -> 12729 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/eo/LC_MESSAGES/burn-my-windows.mobin0 -> 4166 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/es/LC_MESSAGES/burn-my-windows.mobin0 -> 10081 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/et/LC_MESSAGES/burn-my-windows.mobin0 -> 953 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fa/LC_MESSAGES/burn-my-windows.mobin0 -> 11241 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fi/LC_MESSAGES/burn-my-windows.mobin0 -> 9123 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fr/LC_MESSAGES/burn-my-windows.mobin0 -> 7749 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/he/LC_MESSAGES/burn-my-windows.mobin0 -> 2201 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hi/LC_MESSAGES/burn-my-windows.mobin0 -> 10441 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hu/LC_MESSAGES/burn-my-windows.mobin0 -> 8009 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/id/LC_MESSAGES/burn-my-windows.mobin0 -> 9406 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/it/LC_MESSAGES/burn-my-windows.mobin0 -> 9014 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ja/LC_MESSAGES/burn-my-windows.mobin0 -> 5511 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/kab/LC_MESSAGES/burn-my-windows.mobin0 -> 863 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ko/LC_MESSAGES/burn-my-windows.mobin0 -> 9898 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/lt/LC_MESSAGES/burn-my-windows.mobin0 -> 6126 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nb_NO/LC_MESSAGES/burn-my-windows.mobin0 -> 2586 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nl/LC_MESSAGES/burn-my-windows.mobin0 -> 9656 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ota/LC_MESSAGES/burn-my-windows.mobin0 -> 1870 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pl/LC_MESSAGES/burn-my-windows.mobin0 -> 9924 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt/LC_MESSAGES/burn-my-windows.mobin0 -> 7908 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt_BR/LC_MESSAGES/burn-my-windows.mobin0 -> 8067 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ro/LC_MESSAGES/burn-my-windows.mobin0 -> 7798 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ru/LC_MESSAGES/burn-my-windows.mobin0 -> 12502 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sk/LC_MESSAGES/burn-my-windows.mobin0 -> 7797 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sv/LC_MESSAGES/burn-my-windows.mobin0 -> 3939 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ta/LC_MESSAGES/burn-my-windows.mobin0 -> 12410 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/tr/LC_MESSAGES/burn-my-windows.mobin0 -> 9773 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/uk/LC_MESSAGES/burn-my-windows.mobin0 -> 12444 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hans/LC_MESSAGES/burn-my-windows.mobin0 -> 9180 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hant/LC_MESSAGES/burn-my-windows.mobin0 -> 6977 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/metadata.json23
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/prefs.js941
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/resources/burn-my-windows.gresourcebin0 -> 2527448 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/gschemas.compiledbin0 -> 11804 bytes
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml1119
-rw-r--r--raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml60
44 files changed, 3448 insertions, 0 deletions
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/LICENSE b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/LICENSE
new file mode 100644
index 0000000..f288702
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/LICENSE
@@ -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/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/extension.js b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/extension.js
new file mode 100644
index 0000000..cff39d8
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/extension.js
@@ -0,0 +1,631 @@
+//////////////////////////////////////////////////////////////////////////////////////////
+// ) ( //
+// ( /( ( ( ) ( ( ( ( )\ ) ( ( //
+// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( //
+// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ //
+// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) //
+// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
+// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
+// |__/ //
+//////////////////////////////////////////////////////////////////////////////////////////
+
+// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+'use strict';
+
+import Gio from 'gi://Gio';
+import Meta from 'gi://Meta';
+
+import {fromVersion26} from './src/migrate.js';
+import {ProfileManager} from './src/ProfileManager.js';
+import {WindowPicker} from './src/WindowPicker.js';
+import * as utils from './src/utils.js';
+
+import Apparition from './src/effects/Apparition.js';
+import AuraGlow from './src/effects/AuraGlow.js';
+import BrokenGlass from './src/effects/BrokenGlass.js';
+import Doom from './src/effects/Doom.js';
+import EnergizeA from './src/effects/EnergizeA.js';
+import EnergizeB from './src/effects/EnergizeB.js';
+import Fire from './src/effects/Fire.js';
+import Focus from './src/effects/Focus.js';
+import Glide from './src/effects/Glide.js';
+import Glitch from './src/effects/Glitch.js';
+import Hexagon from './src/effects/Hexagon.js';
+import Incinerate from './src/effects/Incinerate.js';
+import Matrix from './src/effects/Matrix.js';
+import Mushroom from './src/effects/Mushroom.js';
+import PaintBrush from './src/effects/PaintBrush.js';
+import Pixelate from './src/effects/Pixelate.js';
+import PixelWheel from './src/effects/PixelWheel.js';
+import PixelWipe from './src/effects/PixelWipe.js';
+import Portal from './src/effects/Portal.js';
+import RGBWarp from './src/effects/RGBWarp.js';
+import SnapOfDisintegration from './src/effects/SnapOfDisintegration.js';
+import TeamRocket from './src/effects/TeamRocket.js';
+import TRexAttack from './src/effects/TRexAttack.js';
+import TVEffect from './src/effects/TVEffect.js';
+import TVGlitch from './src/effects/TVGlitch.js';
+import Wisps from './src/effects/Wisps.js';
+
+import * as Main from 'resource:///org/gnome/shell/ui/main.js';
+import {Workspace} from 'resource:///org/gnome/shell/ui/workspace.js';
+import {WindowPreview} from 'resource:///org/gnome/shell/ui/windowPreview.js';
+import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
+
+
+//////////////////////////////////////////////////////////////////////////////////////////
+// This extensions modifies the window-close and window-open animations with all kinds //
+// of effects. The effects are implemented using GLSL shaders which are applied to the //
+// window's Clutter.Actor. The extension is actually very simple, much of the //
+// complexity comes from the fact that GNOME Shell usually does not show an animation //
+// when a window is closed in the overview. Several methods need to be monkey-patched //
+// to get this working. For more details, read the other comments in this file... //
+//////////////////////////////////////////////////////////////////////////////////////////
+
+export default class BurnMyWindows extends Extension {
+
+ // ------------------------------------------------------------------------ public stuff
+
+ // This function could be called after the extension is enabled, which could be done
+ // from GNOME Tweaks, when you log in or when the screen is unlocked.
+ enable() {
+
+ // New effects must be registered here and in prefs.js.
+ this._ALL_EFFECTS = [
+ new Apparition(), new AuraGlow(), new BrokenGlass(), new Doom(),
+ new EnergizeA(), new EnergizeB(), new Fire(), new Focus(),
+ new Glide(), new Glitch(), new Hexagon(), new Incinerate(),
+ new Matrix(), new PaintBrush(), new Pixelate(), new PixelWheel(),
+ new PixelWipe(), new Portal(), new RGBWarp(), new SnapOfDisintegration(),
+ new TeamRocket(), new TRexAttack(), new TVEffect(), new TVGlitch(),
+ new Wisps(), new Mushroom()
+ ];
+
+ // Load all of our resources.
+ this._resources =
+ Gio.Resource.load(this.path + '/resources/burn-my-windows.gresource');
+ Gio.resources_register(this._resources);
+
+ // Store a reference to the settings object.
+ this._settings = this.getSettings();
+
+ // Now we check whether the extension settings need to be migrated from a previous
+ // version. If this is the case, we defer the profile loading until this is finished.
+ const lastVersion = this._settings.get_int('last-extension-version');
+ if (lastVersion < this.metadata.version) {
+ if (lastVersion <= 26) {
+ // If the profile migration fails for some reason, the callback will create a
+ // default profile instead.
+ fromVersion26().finally(() => {
+ this._loadProfiles();
+ this._settings.set_int('last-extension-version', this.metadata.version);
+ });
+ } else {
+ this._loadProfiles();
+ }
+
+ } else {
+ this._loadProfiles();
+ }
+
+ // We reload all effect profiles whenever the currently edited profile in the
+ // preferences dialog changes. This is most likely a bit too often, but it will also
+ // happen whenever a new profile is created and whenever an old profile is deleted.
+ this._settings.connect('changed::active-profile', () => {
+ this._loadProfiles();
+ });
+
+ // This is used to get the desktop's color scheme.
+ this._shellSettings = new Gio.Settings({schema: 'org.gnome.desktop.interface'});
+
+ // Enable the window-picking D-Bus API for the preferences dialog.
+ this._windowPicker = new WindowPicker();
+ this._windowPicker.export();
+
+ // We will use extensionThis to refer to the extension inside the patched methods.
+ const extensionThis = this;
+
+ // This is used to get the battery state.
+ const UPowerProxy = Gio.DBusProxy.makeProxyWrapper(
+ utils.getStringResource('/interfaces/org.freedesktop.UPower.xml'));
+ this._upowerProxy = new UPowerProxy(Gio.DBus.system, 'org.freedesktop.UPower',
+ '/org/freedesktop/UPower');
+
+ // This is used to get the current power profile.
+ try {
+ const PowerProfilesProxy = Gio.DBusProxy.makeProxyWrapper(
+ utils.getStringResource('/interfaces/net.hadess.PowerProfiles.xml'));
+ this._powerProfilesProxy = new PowerProfilesProxy(
+ Gio.DBus.system, 'net.hadess.PowerProfiles', '/net/hadess/PowerProfiles');
+ } catch (e) {
+ // Maybe the service is masked...
+ }
+
+ // We will monkey-patch these methods. Let's store the original ones.
+ this._origShouldAnimateActor = Main.wm._shouldAnimateActor;
+ this._origWaitForOverviewToHide = Main.wm._waitForOverviewToHide;
+ this._origAddWindowClone = Workspace.prototype._addWindowClone;
+ this._origWindowRemoved = Workspace.prototype._windowRemoved;
+ this._origDoRemoveWindow = Workspace.prototype._doRemoveWindow;
+
+ // ------------------------------- patching the window animations outside the overview
+
+ // If a window is created, the transitions are set up in the async _mapWindow() of the
+ // WindowManager:
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1436
+ // AFAIK, overriding this method is not possible as it's called by a signal to which
+ // it is bound via the bind() method. To tweak the async transition anyways, we
+ // override the actors ease() method once. We do this in _shouldAnimateActor() which
+ // is called right before the ease() in _mapWindow:
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1465
+
+ // The same trick is done for the window-close animation. This is set up in a similar
+ // fashion in the WindowManager's _destroyWindow():
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1525
+ // Here is _shouldAnimateActor() also called right before. So we use it again to
+ // monkey-patch the window actor's ease() once.
+
+ // We override WindowManager._shouldAnimateActor() also for another purpose: Usually,
+ // it returns false when we are in the overview. This prevents the window animations
+ // there. To enable animations in the overview, we check inside the method whether it
+ // was called by either _mapWindow or _destroyWindow. If so, we return true. Let's see
+ // if this breaks stuff left and right...
+ Main.wm._shouldAnimateActor = function(actor, types) {
+ const stack = (new Error()).stack;
+ const forClosing = stack.includes('_destroyWindow@');
+ const forOpening = stack.includes('_mapWindow@');
+
+ // This is also called in other cases, for instance when minimizing windows. We are
+ // only interested in window opening and window closing for now.
+ if (forClosing || forOpening) {
+
+ // If there is an applicable effect profile, we intercept the ease() method to
+ // setup our own effect.
+ const chosenEffect = extensionThis._chooseEffect(actor, forOpening);
+
+ if (chosenEffect) {
+ // Store the original ease() method of the actor.
+ const orig = actor.ease;
+
+ // Now intercept the next call to actor.ease().
+ actor.ease = function(...params) {
+ // There is a really weird issue in GNOME Shell 44: A few non-GTK windows are
+ // resized directly after they are mapped on X11. This happens for instance
+ // for keepassxc after it was closed in the maximized state. As the
+ // _mapWindow() method is called asynchronously, the window is not yet visible
+ // when the resize happens. Hence, our ease-override is called for the resize
+ // animation instead of the window-open or window-close animation. This is not
+ // what we want. So we check again whether the ease() call is for the
+ // window-open or window-close animation. If not, we just call the original
+ // ease() method. See also:
+ // https://github.com/Schneegans/Burn-My-Windows/issues/335
+ const stack = (new Error()).stack;
+ const forClosing = stack.includes('_destroyWindow@');
+ const forOpening = stack.includes('_mapWindow@');
+
+ if (forClosing || forOpening) {
+ // Quickly restore the original behavior. Nobody noticed, I guess :D
+ actor.ease = orig;
+
+ // And then create the effect!
+ extensionThis._setupEffect(actor, forOpening, chosenEffect.effect,
+ chosenEffect.profile);
+ } else {
+ orig.apply(this, params);
+ }
+ };
+
+ return true;
+ }
+ }
+
+ return extensionThis._origShouldAnimateActor.apply(this, [actor, types]);
+ };
+
+ // Make sure to remove any effects if requested by the window manager.
+ this._killEffectsSignal =
+ global.window_manager.connect('kill-window-effects', (wm, actor) => {
+ const shader = actor.get_effect('burn-my-windows-effect');
+ if (shader) {
+ shader.endAnimation();
+ }
+ });
+
+
+ // --------------------------------------------- fix window animations in the overview
+
+ // Some of the effects require that the window's actor is enlarged to provide a bigger
+ // canvas to draw the effects. Outside the overview we can simply increase the scale
+ // of the actor. However, if we are in the overview, we have to enlarge the clone of
+ // the window as well.
+ Workspace.prototype._addWindowClone = function(...params) {
+ const clone = extensionThis._origAddWindowClone.apply(this, params);
+ const container = clone.window_container;
+ const realWindow = params[0].get_compositor_private();
+
+ // Store the overview clone as temporary members of the real window actor. When we
+ // set up the effect, we will check for the existence of these and enlarge the clone
+ // as needed.
+ realWindow._bmwOverviewClone = clone;
+ realWindow._bmwOverviewCloneContainer = container;
+
+ // Remove the temporary members again once the clone is deleted.
+ container.connect('destroy', () => {
+ delete realWindow._bmwOverviewClone;
+ delete realWindow._bmwOverviewCloneContainer;
+ });
+
+ return clone;
+ };
+
+ // Usually, windows are faded in after the overview is completely hidden. We enable
+ // window-open animations by not waiting for this.
+ Main.wm._waitForOverviewToHide = async function() {
+ return Promise.resolve();
+ };
+
+ // These three method overrides are mega-hacky! Usually, windows are not faded when
+ // closed from the overview (why?). With these overrides we make sure that they are
+ // actually faded out. To do this, _windowRemoved and _doRemoveWindow now check
+ // whether there is a transition ongoing (via extensionThis._shouldDestroy). If that's
+ // the case, these methods do nothing.
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1258
+ Workspace.prototype._windowRemoved = function(ws, metaWin) {
+ if (extensionThis._shouldDestroy(this, metaWin)) {
+ extensionThis._origWindowRemoved.apply(this, [ws, metaWin]);
+ }
+ };
+
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/workspace.js#L1137
+ Workspace.prototype._doRemoveWindow = function(metaWin) {
+ if (extensionThis._shouldDestroy(this, metaWin)) {
+ extensionThis._origDoRemoveWindow.apply(this, [metaWin]);
+ }
+ };
+
+ // With the code below, we hide the window-overlay (icon, label, close button) in the
+ // overview once the close-animation is running.
+
+ // We will monkey-patch these methods.
+ this._origDeleteAll = WindowPreview.prototype._deleteAll;
+ this._origRestack = WindowPreview.prototype._restack;
+ this._origInit = WindowPreview.prototype._init;
+
+ // Whenever a WindowPreview is created, we connect to the referenced Meta.Window's
+ // 'unmanaged' signal to hide the overlay.
+ WindowPreview.prototype._init = function(...params) {
+ extensionThis._origInit.apply(this, params);
+
+ // Hide the window's icon, name, and close button.
+ const connectionID = this.metaWindow.connect('unmanaged', () => {
+ if (this.window_container) {
+ this.overlayEnabled = false;
+ this._icon.visible = false;
+ }
+ });
+
+ // Make sure to not call the callback above if the Meta.Window was not unmanaged
+ // before leaving the overview.
+ this.connect('destroy', () => {
+ this.metaWindow.disconnect(connectionID);
+ });
+ };
+
+ // The _deleteAll is called when the user clicks the X in the overview. We should
+ // not attempt to close windows twice. Due to the animation in the overview, the
+ // close button can be clicked twice which normally would lead to a crash.
+ WindowPreview.prototype._deleteAll = function() {
+ if (!this._closeRequested) {
+ extensionThis._origDeleteAll.apply(this);
+ }
+ };
+
+ // This is required, else WindowPreview's _restack() which is called by the
+ // "this.overlayEnabled = false", sometimes tries to access an already delete
+ // WindowPreview.
+ WindowPreview.prototype._restack = function() {
+ if (!this._closeRequested) {
+ extensionThis._origRestack.apply(this);
+ }
+ };
+ }
+
+ // This function could be called after the extension is uninstalled, disabled in GNOME
+ // Tweaks, when you log out or when the screen locks.
+ disable() {
+
+ // Free all effect resources.
+ this._ALL_EFFECTS = [];
+
+ // Unregister our resources.
+ Gio.resources_unregister(this._resources);
+
+ // Disable the window-picking D-Bus API.
+ this._windowPicker.unexport();
+
+ global.window_manager.disconnect(this._killEffectsSignal);
+
+ // Restore the original window-open and window-close animations.
+ Workspace.prototype._addWindowClone = this._origAddWindowClone;
+ Workspace.prototype._windowRemoved = this._origWindowRemoved;
+ Workspace.prototype._doRemoveWindow = this._origDoRemoveWindow;
+ Main.wm._shouldAnimateActor = this._origShouldAnimateActor;
+ Main.wm._waitForOverviewToHide = this._origWaitForOverviewToHide;
+
+ WindowPreview.prototype._deleteAll = this._origDeleteAll;
+ WindowPreview.prototype._restack = this._origRestack;
+ WindowPreview.prototype._init = this._origInit;
+
+ this._settings = null;
+ }
+
+ // ----------------------------------------------------------------------- private stuff
+
+ // This loads all effect profiles and assigns a priority to each profile. Whenever a
+ // window is opened or closed, the matching effect profile with the highest priority
+ // will be chosen.
+ // This method is called whenever the currently edited profile in the/ preferences
+ // dialog changes. This is most likely a bit too often, but it will also happen whenever
+ // a new profile is created and whenever an old profile is deleted.
+ _loadProfiles() {
+
+ // Get all currently available profiles.
+ const profileManager = new ProfileManager(this.metadata);
+ this._profiles = profileManager.getProfiles();
+
+ // Whenever the properties of a profile is changed in the settings, we may have to
+ // resort all profiles according to their priority.
+ const updatePriority = (p) => {
+ p.priority = profileManager.getProfilePriority(p.settings);
+ this._profiles.sort((a, b) => b.priority - a.priority);
+ };
+
+ // For each profile, assign an initial priority and update the priority whenever a
+ // related setting changes.
+ this._profiles.forEach(p => {
+ p.priority = profileManager.getProfilePriority(p.settings);
+ p.settings.connect('changed::profile-app', () => updatePriority(p));
+ p.settings.connect('changed::profile-animation-type', () => updatePriority(p));
+ p.settings.connect('changed::profile-window-type', () => updatePriority(p));
+ p.settings.connect('changed::profile-color-scheme', () => updatePriority(p));
+ p.settings.connect('changed::profile-power-mode', () => updatePriority(p));
+ p.settings.connect('changed::profile-power-profile', () => updatePriority(p));
+ p.settings.connect('changed::profile-high-priority', () => updatePriority(p));
+ });
+
+ // Sort all profiles initially according to their initial priority.
+ this._profiles.sort((a, b) => b.priority - a.priority);
+ }
+
+ // This method selects an effect profile matching the current circumstances. Then a
+ // random effect from its enabled effects will be selected. It returns null if no
+ // profile is currently applicable.
+ _chooseEffect(actor, forOpening) {
+
+ // For now, we only add effects to normal windows and dialog windows.
+ const isNormalWindow = actor.meta_window.window_type == Meta.WindowType.NORMAL;
+ const isDialogWindow =
+ actor.meta_window.window_type == Meta.WindowType.MODAL_DIALOG ||
+ actor.meta_window.window_type == Meta.WindowType.DIALOG;
+
+ if (!isNormalWindow && !isDialogWindow) {
+ return null;
+ }
+
+ // ----------------------------------------------- choose a profile and then an effect
+
+ // Usually, we use the effect profile with the highest priority which matches the
+ // current circumstances. From this profile, we choose a random effect. However, if an
+ // effect is to be previewed, we choose the currently edited profile regardless of the
+ // circumstances.
+ let profile = null;
+ let effect = null;
+
+ // Hence, we first check if an effect is to be previewed.
+ const previewNick = this._settings.get_string('preview-effect');
+
+ if (previewNick != '') {
+ const activeProfile = this._settings.get_string('active-profile');
+ effect =
+ this._ALL_EFFECTS.find(effect => effect.constructor.getNick() == previewNick);
+ profile = this._profiles.find(p => p.path == activeProfile);
+
+ // Only preview the effect until the preview window is closed.
+ if (!profile || !forOpening) {
+ this._settings.set_string('preview-effect', '');
+ }
+ }
+ // If no effect is previewed, we use the effect profile with the highest priority
+ // which matches the current circumstances. From this profile, we choose a random
+ // effect.
+ else {
+
+ // These numbers match the indices in the Gtk.StringLists defined in the UI files
+ // (e.g. resources/ui/adw/prefs.ui).
+ const animationType = forOpening ? 1 : 2;
+ const windowType = isNormalWindow ? 1 : 2;
+ const powerMode = this._upowerProxy.OnBattery ? 1 : 2;
+
+ // Get the first profile whose constraints match the circumstances. The list is
+ // sorted by priority, so we are good to take the first match.
+ profile = this._profiles.find(p => {
+ const profileApp = p.settings.get_string('profile-app');
+ const profileAnimationType = p.settings.get_int('profile-animation-type');
+ const profileWindowType = p.settings.get_int('profile-window-type');
+ const profilePowerMode = p.settings.get_int('profile-power-mode');
+ const profileColorScheme = p.settings.get_int('profile-color-scheme');
+ const profilePowerProfile = p.settings.get_int('profile-power-profile');
+
+ // First we check whether the animation type, window type, and power mode are
+ // matching.
+ let matches =
+ (profileAnimationType == 0 || profileAnimationType == animationType) &&
+ (profileWindowType == 0 || profileWindowType == windowType) &&
+ (profilePowerMode == 0 || profilePowerMode == powerMode);
+
+ // If that was the case, we also check the application name.
+ if (matches && profileApp != '') {
+ const wmClass = actor.meta_window.get_wm_class();
+
+ if (wmClass) {
+ const app = wmClass.toLowerCase();
+
+ // Split app names at |, remove any whitespace, and transform to lower case.
+ const profileApps =
+ profileApp.split('|').map(item => item.trim().toLowerCase());
+ matches = profileApps.includes(app);
+ } else {
+ matches = false;
+ }
+ }
+
+ // If the profile is still matching, we also check the color scheme.
+ if (matches && profileColorScheme != 0) {
+ const colorScheme = this._shellSettings.get_string('color-scheme');
+ matches &= (profileColorScheme == 1 && colorScheme == 'default') ||
+ (profileColorScheme == 2 && colorScheme == 'prefer-dark');
+ }
+
+ // Finally, we may also have to check the power profile.
+ if (matches && profilePowerProfile != 0 && this._powerProfilesProxy) {
+ const powerProfile = this._powerProfilesProxy.ActiveProfile;
+
+ // To understand the numbers, please refer to the indices in the Gtk.StringList
+ // of the profile-power-profile Adw.ComboRow in resources/ui/adw/prefs.ui.
+ if (powerProfile == 'power-saver') {
+ matches &= profilePowerProfile == 1 || profilePowerProfile == 4;
+ } else if (powerProfile == 'balanced') {
+ matches &= profilePowerProfile == 2 || profilePowerProfile == 4 ||
+ profilePowerProfile == 5;
+ } else {
+ matches &= profilePowerProfile == 3 || profilePowerProfile == 5;
+ }
+ }
+
+ return matches;
+ });
+
+ // If we found a matching profile, choose a random effect from it.
+ if (profile) {
+
+ // Create a list of all enabled effects of this profile.
+ const enabled = this._ALL_EFFECTS.filter(effect => {
+ return profile.settings.get_boolean(
+ `${effect.constructor.getNick()}-enable-effect`);
+ });
+
+ // And then choose a random effect.
+ if (enabled.length > 0) {
+ effect = enabled[Math.floor(Math.random() * enabled.length)];
+ }
+ }
+ }
+
+ // If nothing was enabled, we have to do nothing :)
+ if (!effect || !profile) {
+ return null;
+ }
+
+ return {effect: effect, profile: profile};
+ }
+
+ // This method adds the given effect using the settings from the given profile to the
+ // given actor.
+ _setupEffect(actor, forOpening, effect, profile) {
+
+ // There is the weird case where an animation is already ongoing. This happens when a
+ // window is closed which has been created before the session was started (e.g. when
+ // GNOME Shell has been restarted in the meantime).
+ const oldShader = actor.get_effect('burn-my-windows-effect');
+ if (oldShader) {
+ oldShader.endAnimation();
+ }
+
+ // If we are currently performing integration test, all animations are set to a fixed
+ // duration and show a fixed frame from the middle of the animation.
+ const testMode = this._settings.get_boolean('test-mode');
+
+ // The following is used to tweak the ongoing transitions of a window actor. Usually
+ // windows are faded in / out scaled up / down slightly by GNOME Shell. Here, we tweak
+ // the transitions so that nothing changes. The window stays opaque and is scaled to
+ // actorScale.
+ const actorScale =
+ effect.constructor.getActorScale(profile.settings, forOpening, actor);
+
+ // All scaling is relative to the window's center.
+ actor.set_pivot_point(0.5, 0.5);
+ actor.opacity = 255;
+ actor.scale_x = actorScale.x;
+ actor.scale_y = actorScale.y;
+
+ // If we are in the overview, we have to enlarge the window's clone as well. We also
+ // disable the clone's overlay (e.g. its icon, name, and close button) during the
+ // animation.
+ if (actor._bmwOverviewClone) {
+ actor._bmwOverviewClone.overlayEnabled = false;
+ actor._bmwOverviewCloneContainer.set_pivot_point(0.5, 0.5);
+ actor._bmwOverviewCloneContainer.scale_x = actorScale.x;
+ actor._bmwOverviewCloneContainer.scale_y = actorScale.y;
+ }
+
+ // Now add a cool shader to our window actor!
+ const shader = effect.shaderFactory.getShader();
+ actor.add_effect_with_name('burn-my-windows-effect', shader);
+
+ // At the end of the animation, we restore the scale of the overview clone (if any)
+ // and call the methods which would have been called by the original ease() calls at
+ // the end of the standard fade-in animation.
+ const endID = shader.connect('end-animation', () => {
+ shader.disconnect(endID);
+
+ if (actor._bmwOverviewClone) {
+ actor._bmwOverviewClone.overlayEnabled = true;
+ actor._bmwOverviewCloneContainer.scale_x = 1.0;
+ actor._bmwOverviewCloneContainer.scale_y = 1.0;
+ }
+
+ // Restore the original scale of the window actor.
+ actor.scale_x = 1.0;
+ actor.scale_y = 1.0;
+
+ // Remove the shader and mark it being re-usable for future animations.
+ actor.remove_effect(shader);
+ shader.returnToFactory();
+
+ // Finally, once the animation is done or interrupted, we call the methods which
+ // should have been called by the original ease() methods.
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1487
+ // https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1558.
+ if (forOpening) {
+ Main.wm._mapWindowDone(global.window_manager, actor);
+ } else {
+ Main.wm._destroyWindowDone(global.window_manager, actor);
+ }
+ });
+
+ // To make things deterministic during testing, we set the effect duration to 8
+ // seconds.
+ const duration = testMode ?
+ 8000 :
+ profile.settings.get_int(effect.constructor.getNick() + '-animation-time');
+
+ // Finally start the animation!
+ shader.beginAnimation(profile.settings, forOpening, testMode, duration, actor);
+ }
+
+ // This is required to enable window-close animations in the overview. See the comment
+ // for Workspace.prototype._windowRemoved above for an explanation.
+ _shouldDestroy(workspace, metaWindow) {
+ const index = workspace._lookupIndex(metaWindow);
+ if (index == -1) {
+ return true;
+ }
+
+ const actor = workspace._windows[index]._windowActor;
+ const shader = actor.get_effect('burn-my-windows-effect');
+
+ return shader == null;
+ }
+}
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ar/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ar/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..6e95eca
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ar/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/az/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/az/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..891ad55
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/az/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/cs/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/cs/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..b8a86f8
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/cs/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/da/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/da/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..df5adac
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/da/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/de/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/de/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..aef1fa2
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/de/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/el/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/el/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..8bbafe8
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/el/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/eo/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/eo/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..b6378a0
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/eo/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/es/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/es/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..6f5075f
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/es/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/et/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/et/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..0c0acf3
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/et/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fa/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fa/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..7774041
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fa/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fi/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fi/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..2cf5b4f
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fi/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fr/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fr/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..8b6fb43
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/fr/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/he/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/he/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..987bdfd
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/he/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hi/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hi/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..cbef7b2
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hi/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hu/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hu/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..f9792e4
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/hu/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/id/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/id/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..c2a931c
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/id/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/it/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/it/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..36fc404
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/it/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ja/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ja/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..f5565f1
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ja/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/kab/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/kab/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..b4578fb
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/kab/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ko/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ko/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..18211c9
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ko/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/lt/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/lt/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..f982815
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/lt/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nb_NO/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nb_NO/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..0a37a11
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nb_NO/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nl/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nl/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..2c51c6c
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/nl/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ota/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ota/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..dbc336f
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ota/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pl/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pl/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..a5700c1
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pl/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..96ec9fe
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt_BR/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt_BR/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..30f375e
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/pt_BR/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ro/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ro/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..11c5392
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ro/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ru/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ru/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..2fb0e3c
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ru/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sk/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sk/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..61f221a
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sk/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sv/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sv/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..a287302
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/sv/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ta/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ta/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..43fe2f7
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/ta/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/tr/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/tr/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..05ff048
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/tr/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/uk/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/uk/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..9d84a3f
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/uk/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hans/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hans/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..8fdcc07
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hans/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hant/LC_MESSAGES/burn-my-windows.mo b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hant/LC_MESSAGES/burn-my-windows.mo
new file mode 100644
index 0000000..7c22512
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/locale/zh_Hant/LC_MESSAGES/burn-my-windows.mo
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/metadata.json b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/metadata.json
new file mode 100644
index 0000000..57af505
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/metadata.json
@@ -0,0 +1,23 @@
+{
+ "_generated": "Generated by SweetTooth, do not edit",
+ "description": "Disintegrate your windows with style.",
+ "donations": {
+ "github": "schneegans",
+ "kofi": "schneegans",
+ "paypal": "simonschneegans"
+ },
+ "gettext-domain": "burn-my-windows",
+ "name": "Burn My Windows",
+ "settings-schema": "org.gnome.shell.extensions.burn-my-windows",
+ "shell-version": [
+ "45",
+ "46",
+ "47",
+ "48",
+ "49",
+ "50"
+ ],
+ "url": "https://github.com/Schneegans/Burn-My-Windows",
+ "uuid": "burn-my-windows@schneegans.github.com",
+ "version": 48
+} \ No newline at end of file
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/prefs.js b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/prefs.js
new file mode 100644
index 0000000..8476964
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/prefs.js
@@ -0,0 +1,941 @@
+//////////////////////////////////////////////////////////////////////////////////////////
+// ) ( //
+// ( /( ( ( ) ( ( ( ( )\ ) ( ( //
+// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( //
+// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ //
+// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) //
+// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
+// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
+// |__/ //
+//////////////////////////////////////////////////////////////////////////////////////////
+
+// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+'use strict';
+
+import Gio from 'gi://Gio';
+import Gtk from 'gi://Gtk';
+import GLib from 'gi://GLib';
+import Gdk from 'gi://Gdk';
+import Adw from 'gi://Adw';
+
+import * as utils from './src/utils.js';
+import {ProfileManager} from './src/ProfileManager.js';
+
+import Apparition from './src/effects/Apparition.js';
+import AuraGlow from './src/effects/AuraGlow.js';
+import BrokenGlass from './src/effects/BrokenGlass.js';
+import Doom from './src/effects/Doom.js';
+import EnergizeA from './src/effects/EnergizeA.js';
+import EnergizeB from './src/effects/EnergizeB.js';
+import Fire from './src/effects/Fire.js';
+import Focus from './src/effects/Focus.js';
+import Glide from './src/effects/Glide.js';
+import Glitch from './src/effects/Glitch.js';
+import Hexagon from './src/effects/Hexagon.js';
+import Incinerate from './src/effects/Incinerate.js';
+import Matrix from './src/effects/Matrix.js';
+import Mushroom from './src/effects/Mushroom.js';
+import PaintBrush from './src/effects/PaintBrush.js';
+import Pixelate from './src/effects/Pixelate.js';
+import PixelWheel from './src/effects/PixelWheel.js';
+import PixelWipe from './src/effects/PixelWipe.js';
+import Portal from './src/effects/Portal.js';
+import RGBWarp from './src/effects/RGBWarp.js';
+import SnapOfDisintegration from './src/effects/SnapOfDisintegration.js';
+import TeamRocket from './src/effects/TeamRocket.js';
+import TRexAttack from './src/effects/TRexAttack.js';
+import TVEffect from './src/effects/TVEffect.js';
+import TVGlitch from './src/effects/TVGlitch.js';
+import Wisps from './src/effects/Wisps.js';
+
+
+import {ExtensionPreferences, gettext as _} from 'resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js';
+
+// Currently, the extension supports only one set of UI files. In the past, there were
+// three different sets for GTK3, GTK4, and Adwaita. This method returns the name of the
+// current UI directory. It's still here since it might be useful in the future.
+function getUIDir() {
+ return 'adw';
+}
+
+//////////////////////////////////////////////////////////////////////////////////////////
+// The preferences dialog is organized in pages, each of which is loaded from a //
+// separate ui file. There's one page with general options, all other paged are loaded //
+// from the respective effects. //
+//////////////////////////////////////////////////////////////////////////////////////////
+
+export default class BurnMyWindowsPreferences extends ExtensionPreferences {
+
+ // ------------------------------------------------------------ constructor / destructor
+
+ fillPreferencesWindow(window) {
+ window.set_default_size(650, 750);
+
+ // New effects must be registered here and in extension.js.
+ this._ALL_EFFECTS = [
+ Apparition, AuraGlow, BrokenGlass,
+ Doom, EnergizeA, EnergizeB,
+ Fire, Focus, Glide,
+ Glitch, Hexagon, Incinerate,
+ Matrix, Mushroom, PaintBrush,
+ Pixelate, PixelWheel, PixelWipe,
+ Portal, RGBWarp, SnapOfDisintegration,
+ TeamRocket, TRexAttack, TVEffect,
+ TVGlitch, Wisps,
+ ];
+
+
+ // Load all of our resources.
+ this._resources =
+ Gio.Resource.load(this.path + '/resources/burn-my-windows.gresource');
+ Gio.resources_register(this._resources);
+
+ // Make sure custom icons are found.
+ Gtk.IconTheme.get_for_display(Gdk.Display.get_default()).add_resource_path('/img');
+
+ // Load the general user interface files.
+ this._builder = new Gtk.Builder();
+ this._builder.add_from_resource(`/ui/common/menus.ui`);
+ this._builder.add_from_resource(`/ui/${getUIDir()}/prefs.ui`);
+
+
+ // Store a reference to the general settings object.
+ this._settings = this.getSettings();
+
+ // This tracks all available effect profiles.
+ this._profileManager = new ProfileManager(this.metadata);
+
+ // This is used to track all connections to properties of the current effect profile.
+ // Whenever the current effect profile changes, all connections are disconnected.
+ this._profileConnections = [];
+
+ // Load the current effect profile. If there is none, we create a default profile.
+ this._settings.connect('changed::active-profile', () => {
+ this._loadActiveProfile();
+ });
+
+ // Check whether the power profiles daemon is available - if not, we hide the
+ // corresponding settings row.
+ let hasPowerProfiles = false;
+ try {
+ const PowerProfilesProxy = Gio.DBusProxy.makeProxyWrapper(
+ utils.getStringResource('/interfaces/net.hadess.PowerProfiles.xml'));
+ let powerProfilesProxy = new PowerProfilesProxy(
+ Gio.DBus.system, 'net.hadess.PowerProfiles', '/net/hadess/PowerProfiles');
+
+ hasPowerProfiles = powerProfilesProxy.get_name_owner() != null;
+ } catch (e) {
+ // Maybe the service is masked...
+ }
+
+
+ let powerProfileRow = this._builder.get_object('profile-power-profile');
+ powerProfileRow.set_visible(hasPowerProfiles);
+
+ // Wire up the window picker of the profile editor. Whenever the app-chooser button is
+ // clicked, we call a method of the extension which will initiate the window picking.
+ this._builder.get_object('profile-choose-app-button').connect('clicked', () => {
+ Gio.DBus.session.call('org.gnome.Shell',
+ '/org/gnome/shell/extensions/BurnMyWindows',
+ 'org.gnome.shell.extensions.BurnMyWindows', 'PickWindow',
+ null, null, Gio.DBusCallFlags.NO_AUTO_START, -1, null, null);
+ });
+
+ // If the window picking was successful, this D-Bus signal will be emitted. If a
+ // window was picked, we add it to the list of window name.
+ this._dbusConnection = Gio.DBus.session.signal_subscribe(
+ 'org.gnome.Shell', 'org.gnome.shell.extensions.BurnMyWindows', 'WindowPicked',
+ '/org/gnome/shell/extensions/BurnMyWindows', null, Gio.DBusSignalFlags.NONE,
+ (conn, sender, obj_path, iface, signal, params) => {
+ const val = params.get_child_value(0).get_string()[0];
+ if (val != 'window-not-found') {
+ const entry = this._builder.get_object('profile-app');
+
+ // Split the current value at each |, trim spaces, and remove empty components.
+ let apps = entry.text.split('|').map(item => item.trim()).filter(v => v != '');
+
+ // If the list is empty, we simply use the name of the picked window.
+ if (apps.length == 0) {
+ entry.text = val;
+ } else {
+
+ // Else we append the new application name, remove any duplicates, and sort
+ // the resulting list alphabetically.
+ apps.push(val);
+ apps = [...new Set(apps)].sort();
+ entry.text = apps.join(' | ');
+ }
+ }
+ });
+
+
+ // This is our top-level widget which we will return later.
+ this._widget = this._builder.get_object('general-prefs');
+
+ // Add the functionality to the choose-all and choose-none buttons.
+ this._builder.get_object('choose-all-effects-button').connect('clicked', () => {
+ this._ALL_EFFECTS.forEach(effect => {
+ this.getProfileSettings().set_boolean(`${effect.getNick()}-enable-effect`, true);
+ });
+ });
+
+ this._builder.get_object('choose-no-effects-button').connect('clicked', () => {
+ this._ALL_EFFECTS.forEach(effect => {
+ this.getProfileSettings().set_boolean(`${effect.getNick()}-enable-effect`, false);
+ });
+ });
+
+ // search for effect feature
+ this._searchEntry = this._builder.get_object('search_entry');
+ this._searchEntry.connect('search-changed', () => {
+ const query = this._searchEntry.get_text().toLowerCase();
+
+ // If only one effect is left, we will expand it automatically.
+ let lastRow = null;
+ let numRows = 0;
+
+ this._effectRows.forEach(row => {
+ row.set_expanded(false);
+
+ if (query === '') {
+ row.show(); // Show all effects if query is empty
+ } else {
+ // Show or hide each effect based on query match
+ const showEffect = row.name.toLowerCase().includes(query);
+
+ if (showEffect) {
+ row.show();
+ lastRow = row;
+ numRows++;
+ } else {
+ row.hide();
+ }
+ }
+ });
+
+ // If only one effect is left, we expand it automatically.
+ if (numRows === 1) {
+ lastRow.set_expanded(true);
+ }
+ });
+
+ // Then add a preferences group for the effect expander rows.
+ const group = this._builder.get_object('effects-group');
+
+ // This stores all expander rows for the effects. We use this to implement the
+ // accordion-like behavior of the effect settings.
+ this._effectRows = [];
+
+ // Now add all the rows.
+ this._ALL_EFFECTS.forEach(effect => {
+ const [minMajor, minMinor] = effect.getMinShellVersion();
+ if (utils.shellVersionIsAtLeast(minMajor, minMinor)) {
+
+ const uiFile = `/ui/${getUIDir()}/${effect.getNick()}.ui`;
+
+ // Is there a better way to test for the existence of a resource file?
+ let hasPrefs = false;
+ try {
+ Gio.resources_get_info(uiFile, 0);
+ hasPrefs = true;
+ } catch (e) {
+ // Nothing todo, there
+ }
+
+ // Add the settings page to the builder.
+ if (hasPrefs) {
+ this._builder.add_from_resource(uiFile);
+ }
+
+ // The preview button.
+ let previewButton = Gtk.Button.new_from_icon_name('bmw-preview-symbolic');
+ previewButton.get_style_context().add_class('circular');
+ previewButton.get_style_context().add_class('flat');
+ previewButton.set_tooltip_text(_('Preview this effect'));
+ previewButton.set_valign(Gtk.Align.CENTER);
+ previewButton.connect('clicked', () => {
+ this._previewEffect(effect);
+ });
+
+ // The toggle button for enabling and disabling the effect.
+ const button = Gtk.Switch.new();
+ button.set_valign(Gtk.Align.CENTER);
+ this._builder.expose_object(`${effect.getNick()}-enable-effect`, button);
+
+ let row;
+ if (hasPrefs) {
+
+ // Add the effect's preferences (if any).
+ row = this._builder.get_object(`${effect.getNick()}-prefs`);
+ } else {
+ row = Adw.ActionRow.new();
+ }
+
+ // On older versions of Adw (e.g. on GNOME Shell <43), the set_use_markup() does
+ // not yet exist.
+ if (row.set_use_markup) {
+ row.set_title('<b>' + effect.getLabel() + '</b>');
+ row.set_use_markup(true);
+ } else {
+ row.set_title(effect.getLabel());
+ }
+
+ // this is the fix for the merge issue when an effect doesn't have a discription
+ row.name = effect.getLabel();
+
+
+ // Un-expand any previously expanded effect row. This way we ensure that there
+ // is only one expanded row at any time.
+ if (hasPrefs) {
+ row.connect('notify::expanded', currentRow => {
+ if (currentRow.get_expanded()) {
+ this._effectRows.forEach(row => {
+ if (row != currentRow) {
+ row.set_expanded(false);
+ }
+ });
+ }
+ });
+ this._effectRows.push(row);
+ row.add_action(button);
+ } else {
+ row.add_suffix(button);
+ }
+
+ row.add_prefix(previewButton);
+
+ group.add(row);
+ }
+ });
+
+
+ // Some things can only be done once the widget is shown as we do not have access to
+ // the toplevel widget before.
+ this._widget.connect('realize', (widget) => {
+ const window = widget.get_root();
+
+ // Show the version number in the title bar.
+ window.set_title(`Burn-My-Windows ${this.metadata.version}`);
+
+ this._loadActiveProfile();
+ this._updateProfileMenu();
+
+ // Show an Adw.Toast or a Gtk.InfoBar whenever Burn-My-Windows was updated. We use a
+ // small timeout so that it is not shown instantaneously.
+ const lastVersion = this._settings.get_int('last-prefs-version');
+ if (lastVersion < this.metadata.version) {
+ this._showUpdateInfoTimeout =
+ GLib.timeout_add(GLib.PRIORITY_DEFAULT, 2000, () => {
+ this._showUpdateInfoTimeout = 0;
+
+ const toast = Adw.Toast.new(_('Burn-My-Windows has been updated!'));
+ toast.set_button_label(_('View Changelog'));
+ toast.set_action_name('prefs.changelog');
+ toast.set_timeout(0);
+
+ toast.connect(
+ 'dismissed',
+ () => this._settings.set_int('last-prefs-version', this.metadata.version));
+
+ window.add_toast(toast);
+
+ return false;
+ });
+ }
+
+ // Count the number of times the user has opened the preferences window. Every now
+ // and then, we show a dialog asking the user to support the extension. We connect
+ // to the notify::visible signal to ensure that the dialog can be a modal dialog.
+ window.connect('notify::visible', (window) => {
+ // Do not show the dialog when the window is hidden.
+ if (!window.get_visible()) {
+ return;
+ }
+
+ // Do not show the dialog when the user has disabled it.
+ if (!this._settings.get_boolean('show-support-dialog')) {
+ return;
+ }
+
+ const count = this._settings.get_int('prefs-open-count') + 1;
+ this._settings.set_int('prefs-open-count', count);
+
+ // Show the dialog every 10th time.
+ if (count % 10 == 0) {
+ const dialog = this._createMessageDialog(
+ '❤️ Do you love Burn-My-Windows?',
+ `Even the smallest donation can have a big impact! If just one of ten Burn-My-Windows users donated $1 per month, I could dedicate myself to creating awesome open-source projects full-time!
+
+Ko-fi: <a href='https://ko-fi.com/schneegans'>https://ko-fi.com/schneegans</a>
+GitHub: <a href='https://github.com/sponsors/schneegans'>https://github.com/sponsors/schneegans</a>`,
+ window, [
+ {
+ label: 'Do not show this again!',
+ destructive: true,
+ default: false,
+ action: () => {
+ this._settings.set_boolean('show-support-dialog', false);
+ }
+ },
+ {
+ label: 'Remind me later.',
+ destructive: false,
+ default: true,
+ }
+ ]);
+
+ dialog.show();
+ }
+ });
+
+ // Populate the menu with actions.
+ const group = Gio.SimpleActionGroup.new();
+ window.insert_action_group('prefs', group);
+
+ // Add the main menu to the title bar.
+ {
+ // Add the menu button to the title bar.
+ const menu = this._builder.get_object('menu-button');
+
+ // Starting with GNOME Shell 42, we have to hack our way through the widget tree
+ // of the Adw.PreferencesWindow...
+ const header = this._findWidgetByType(window.get_content(), Adw.HeaderBar);
+ header.pack_start(menu);
+ header.set_title_widget(this._builder.get_object('profile-button'));
+
+ // GNOME Shell extensions are forced to use a AdwPreferencesWindow. This already
+ // includes a Gtk.ScrolledWindow as well as an Adw.Clamp. For the profile
+ // editing, we want to use an Adw.Flap which reveals itself from the top. This
+ // needs to be inserted in the widget hierarchy above the Adw.Clamp, else it
+ // would look ugly. Therefore, we fiddle around with the internal widgets...
+ const flap = this._builder.get_object('profile-editor-flap');
+ const clamp = this._findWidgetByType(window.get_content(), Adw.Clamp);
+ const viewport = clamp.get_parent();
+ viewport.get_parent().set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER);
+ viewport.set_child(flap);
+
+ const scrolledWindow = Gtk.ScrolledWindow.new();
+ scrolledWindow.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
+ scrolledWindow.set_propagate_natural_height(true);
+ scrolledWindow.set_vexpand(true);
+ scrolledWindow.set_child(clamp);
+
+ flap.set_content(scrolledWindow);
+
+ const addURIAction = (name, uri) => {
+ const action = Gio.SimpleAction.new(name, null);
+ action.connect('activate', () => Gtk.show_uri(null, uri, Gdk.CURRENT_TIME));
+ group.add_action(action);
+ };
+
+ // clang-format off
+ addURIAction('homepage', 'https://github.com/Schneegans/Burn-My-Windows');
+ addURIAction('bugs', 'https://github.com/Schneegans/Burn-My-Windows/issues');
+ addURIAction('new-effect', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/how-to-create-new-effects.md');
+ addURIAction('translate', 'https://hosted.weblate.org/engage/burn-my-windows/');
+ addURIAction('donate-kofi', 'https://ko-fi.com/schneegans');
+ addURIAction('donate-github', 'https://github.com/sponsors/Schneegans');
+ addURIAction('donate-paypal', 'https://www.paypal.me/simonschneegans');
+ addURIAction('donate-crypto', 'https://schneegans.cb.id');
+ addURIAction('show-sponsors', 'https://schneegans.github.io/sponsors');
+ addURIAction('wallpapers', 'https://github.com/Schneegans/ai-wallpapers');
+ addURIAction('profile-dir', `file://${GLib.get_user_config_dir()}/burn-my-windows/profiles`);
+ // clang-format on
+
+ // The changelog action is a bit different, as it may get activated when the
+ // view-changelog button is pressed which is shown in an Adw.Toast or a
+ // Gtk.InfoBar whenever Burn-My-Windows gets updated. To ensure that the
+ // notification is shown only once, we have to store the current version of
+ // Burn-My-Windows in the settings.
+ const changelogAction = Gio.SimpleAction.new('changelog', null);
+ changelogAction.connect('activate', () => {
+ Gtk.show_uri(
+ null,
+ 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/changelog.md',
+ Gdk.CURRENT_TIME);
+ this._settings.set_int('last-prefs-version', this.metadata.version)
+ });
+ group.add_action(changelogAction);
+
+ // Add the about dialog.
+ const aboutAction = Gio.SimpleAction.new('about', null);
+ aboutAction.connect('activate', () => {
+ // The JSON report format from weblate is a bit weird. Here we extract all
+ // unique names from the translation report.
+ const translators = new Set();
+ this._getJSONResource('/credits/translators.json').forEach(i => {
+ for (const j of Object.values(i)) {
+ j.forEach(k => translators.add(k.full_name));
+ }
+ });
+
+ const dialog = new Adw.AboutWindow({transient_for: window, modal: true});
+ dialog.set_application_icon('burn-my-windows-symbolic');
+ dialog.set_application_name('Burn-My-Windows');
+ dialog.set_version(`${this.metadata.version}`);
+ dialog.set_developer_name('Simon Schneegans');
+ dialog.set_issue_url('https://github.com/Schneegans/Burn-My-Windows/issues');
+ dialog.set_translator_credits([...translators].join('\n'));
+ dialog.set_copyright('© 2023 Simon Schneegans');
+ dialog.set_website('https://github.com/Schneegans/Burn-My-Windows');
+ dialog.set_license_type(Gtk.License.GPL_3_0);
+
+ dialog.show();
+ });
+
+ group.add_action(aboutAction);
+ }
+
+ // Setup all the profile-related actions.
+ {
+ // Allow switching the current profile.
+ const activeProfileAction = this._settings.create_action('active-profile');
+ group.add_action(activeProfileAction);
+
+ // This action creates a new profile and makes it the active one.
+ const newProfileAction = Gio.SimpleAction.new('profile-new', null);
+ newProfileAction.connect('activate', () => {
+ const profile = this._profileManager.createProfile();
+ this._settings.set_string('active-profile', profile.path);
+
+ // Start editing the profile.
+ this._builder.get_object('edit-profile-button').active = true;
+
+ // The number of profiles has changed, so we have to update the profile
+ // selection menu.
+ this._updateProfileMenu();
+ });
+ group.add_action(newProfileAction);
+
+ // This action shows a confirmation dialog. Upon user approval, the currently
+ // active profile is deleted. We use the more beautiful Adw.MessageDialog if it is
+ // available (usually on GNOME 43 and beyond).
+ const deleteProfileDialog = this._createMessageDialog(
+ _('Delete this Profile?'),
+ _('The current effect profile with all its effect settings will be permanently lost.'),
+ window, [
+ {
+ label: _('Cancel'),
+ destructive: false,
+ default: true,
+ },
+ {
+ label: _('Delete'),
+ destructive: true,
+ default: false,
+ action: () => {
+ // Stop editing the current profile.
+ this._builder.get_object('edit-profile-button').active = false;
+
+ // Delete the currently active profile.
+ this._profileManager.deleteProfile(this._activeProfile.path);
+
+ // Select another one.
+ this._settings.set_string('active-profile',
+ this._profileManager.getProfiles()[0].path);
+
+ // The number of profiles has changed, so we have to update the profile
+ // selection menu.
+ this._updateProfileMenu();
+ }
+ }
+ ]);
+
+ // This action deletes the currently active profile.
+ const deleteProfileAction = Gio.SimpleAction.new('profile-delete', null);
+ deleteProfileAction.connect('activate', () => {
+ deleteProfileDialog.show();
+ });
+ group.add_action(deleteProfileAction);
+ }
+ });
+
+ // As we do not have something like a destructor, we just listen for the destroy
+ // signal of our main widget.
+ this._widget.connect('destroy', () => {
+ // Unregister our resources.
+ Gio.resources_unregister(this._resources);
+
+ // Disconnect from the window-picker API.
+ Gio.DBus.session.signal_unsubscribe(this._dbusConnection);
+
+ // If the settings dialog got closed too quickly, this may not have been shown.
+ if (this._showUpdateInfoTimeout > 0) {
+ GLib.source_remove(this._showUpdateInfoTimeout);
+ }
+ });
+
+ window.add(this._widget);
+ }
+
+ // -------------------------------------------------------------------- public interface
+
+ // Returns the internally used Gtk.Builder. Effects can use this to modify the UI of the
+ // preferences dialog.
+ getBuilder() {
+ return this._builder;
+ }
+
+ // Returns a Gio.Settings object for the current effect profile.
+ getProfileSettings() {
+ return this._activeProfile.settings;
+ }
+
+ // Connects an Adw.ComboRow (or anything else which has an 'selected' property) to a
+ // settings key. It also binds the corresponding reset button.
+ bindComboRow(settingsKey) {
+ this._bind(settingsKey, 'selected');
+ }
+
+ // Connects a Gtk.ComboBox (or anything else which has an 'active' property) to a
+ // settings key. It also binds the corresponding reset button.
+ bindComboBox(settingsKey) {
+ this._bind(settingsKey, 'active');
+ }
+
+ // Connects a Gtk.Entry (or anything else which has an 'text' property) to a
+ // settings key. It also binds the corresponding reset button.
+ bindEntry(settingsKey) {
+ this._bind(settingsKey, 'text');
+ }
+
+ // Connects a Gtk.Adjustment (or anything else which has a 'value' property) to a
+ // settings key. It also binds the corresponding reset button.
+ bindAdjustment(settingsKey) {
+ this._bind(settingsKey, 'value');
+ }
+
+ // Connects a Gtk.Switch (or anything else which has an 'active' property) to a settings
+ // key. It also binds the corresponding reset button.
+ bindSwitch(settingsKey) {
+ this._bind(settingsKey, 'active');
+ }
+
+ // Colors are stored as strings like 'rgb(1, 0.5, 0)'. As Gio.Settings.bind_with_mapping
+ // is not available yet, we need to do the color conversion manually. It also binds the
+ // corresponding reset button.
+ bindColorButton(settingsKey) {
+
+ const button = this._builder.get_object(settingsKey);
+
+ if (button) {
+
+ // Update the settings when the color is modified.
+ if (!button._isConnected) {
+ button.connect('color-set', () => {
+ this.getProfileSettings().set_string(settingsKey,
+ button.get_rgba().to_string());
+ });
+
+ button._isConnected = true;
+ }
+
+ // Update the button state when the settings change.
+ const settingSignalHandler = () => {
+ const rgba = new Gdk.RGBA();
+ rgba.parse(this.getProfileSettings().get_string(settingsKey));
+ button.rgba = rgba;
+ };
+
+ this._connectProfileSetting('changed::' + settingsKey, settingSignalHandler);
+
+ // Initialize the button with the state in the settings.
+ settingSignalHandler();
+ }
+
+ this._bindResetButton(settingsKey);
+ }
+
+ // ----------------------------------------------------------------------- private stuff
+
+ // This loads all settings from the profile given in the settings key 'active-profile'.
+ _loadActiveProfile() {
+
+ // Disconnect any connection to the previously active profile.
+ this._disconnectProfileSettings();
+
+ // Find the active profile in the list of all profiles.
+ const allProfiles = this._profileManager.getProfiles();
+ const path = this._settings.get_string('active-profile');
+ this._activeProfile = allProfiles.find(p => p.path == path);
+
+ // If, for whatever reason, it is not found, select the first one. Setting the
+ // settings key will trigger this method again.
+ if (!this._activeProfile) {
+ this._activeProfile = allProfiles[0];
+ this._settings.set_string('active-profile', this._activeProfile.path);
+ return;
+ }
+
+ // Connect all profile options.
+ const updateProfileButtonMenuIfChanged = (settingsKey) => {
+ this._connectProfileSetting('changed::' + settingsKey, () => {
+ this._updateProfileButton();
+ this._updateProfileMenu();
+ });
+ };
+
+ updateProfileButtonMenuIfChanged('profile-app');
+ updateProfileButtonMenuIfChanged('profile-animation-type');
+ updateProfileButtonMenuIfChanged('profile-window-type');
+ updateProfileButtonMenuIfChanged('profile-color-scheme');
+ updateProfileButtonMenuIfChanged('profile-power-mode');
+ updateProfileButtonMenuIfChanged('profile-power-profile');
+ updateProfileButtonMenuIfChanged('profile-high-priority');
+
+ this.bindEntry('profile-app');
+ this.bindComboRow('profile-animation-type');
+ this.bindComboRow('profile-window-type');
+ this.bindComboRow('profile-color-scheme');
+ this.bindComboRow('profile-power-mode');
+ this.bindComboRow('profile-power-profile');
+ this.bindSwitch('profile-high-priority');
+
+ // Connect all effect settings.
+ this._ALL_EFFECTS.forEach(effect => {
+ const [minMajor, minMinor] = effect.getMinShellVersion();
+ if (utils.shellVersionIsAtLeast(minMajor, minMinor)) {
+ this.bindSwitch(`${effect.getNick()}-enable-effect`);
+ effect.bindPreferences(this);
+ }
+ });
+
+ // Update the label in the profile-select button.
+ this._updateProfileButton();
+ }
+
+ // This updates the label of the profile-selection button according to the currently
+ // active profile. It's called whenever the active profile is changed or whenever a
+ // configuration option of the profile is changed.
+ _updateProfileButton() {
+ this._builder.get_object('choose-profile-button').label =
+ this._getProfileName(this.getProfileSettings());
+ }
+
+ // This updates the list of available profiles in the dropdown of the profile-selection
+ // button. It's called whenever one of the configuration option of the currently active
+ // profile is changed, or whenever a profile is added / removed.
+ _updateProfileMenu() {
+
+ // First, clear the menu section.
+ const profileSection = this._builder.get_object('profile-section');
+ profileSection.remove_all();
+
+ // Then add an entry for each available profile.
+ this._profileManager.getProfiles().forEach(profile => {
+ const label = this._getProfileName(profile.settings);
+ const item = Gio.MenuItem.new(label, 'prefs.active-profile');
+ item.set_action_and_target_value('prefs.active-profile',
+ GLib.Variant.new_string(profile.path));
+ profileSection.append_item(item);
+ });
+ }
+
+ // Profiles are named according to their configuration. This method returns a localized
+ // string describing the settings of the profile.
+ _getProfileName(settings) {
+ let items = [];
+
+ // If an app is configured, use it as first component for the profile's name.
+ const app = settings.get_string('profile-app');
+ if (app != '') {
+ items.push(app);
+ }
+
+ // Now add components to the name for each non-default profile option. Make sure that
+ // these are the same strings as used in the UI files!
+ const addComponent = (settingsKey, options) => {
+ const option = settings.get_int(settingsKey);
+ if (option > 0) {
+ items.push(options[option - 1]);
+ }
+ };
+
+ // clang-format off
+ addComponent('profile-animation-type', [_('Opening Windows'),
+ _('Closing Windows')]);
+ addComponent('profile-window-type', [_('Normal Windows'),
+ _('Dialog Windows')]);
+ addComponent('profile-color-scheme', [_('Default Color Scheme'),
+ _('Dark Color Scheme')]);
+ addComponent('profile-power-mode', [_('On Battery'),
+ _('Plugged In')]);
+ addComponent('profile-power-profile', [_('Power-Saver Mode'),
+ _('Balanced Mode'),
+ _('Performance Mode'),
+ _('Power Saver or Balanced'),
+ _('Balanced or Performance')]);
+ // clang-format on
+
+ // If the profile is a high-priority profile, also add this..
+ if (settings.get_boolean('profile-high-priority')) {
+ items.push(_('High Priority'));
+ }
+
+ let name = '';
+
+ if (items.length == 0) {
+ name = _('Standard Profile');
+ } else {
+ name = items.join(' · ');
+ }
+
+ return name;
+ }
+
+ // This wrapper connects a given callback to a profile settings key. Use this instead of
+ // the direct connect() call on the profile settings to make sure that the callback is
+ // disconnected when the active profile changes.
+ _connectProfileSetting(key, callback) {
+ this._profileConnections.push(this.getProfileSettings().connect(key, callback));
+ }
+
+ // This is called whenever the currently edited effect profile changes. It unbinds all
+ // callbacks bound with the above method before.
+ _disconnectProfileSettings() {
+ this._profileConnections.forEach(c => this.getProfileSettings().disconnect(c));
+ this._profileConnections = [];
+ }
+
+ // Searches for a reset button for the given settings key and make it reset the settings
+ // key when clicked.
+ _bindResetButton(settingsKey) {
+ const resetButton = this._builder.get_object('reset-' + settingsKey);
+ if (resetButton && !resetButton._isConnected) {
+ resetButton.connect('clicked', () => {
+ this.getProfileSettings().reset(settingsKey);
+ });
+ resetButton._isConnected = true;
+ }
+ }
+
+ // Connects any widget's property to a settings key. The widget must have the same ID as
+ // the settings key. It also binds the corresponding reset button.
+ _bind(settingsKey, property) {
+ const object = this._builder.get_object(settingsKey);
+
+ if (object) {
+ // Unbind any previous binding (potentially to a previously edited profile).
+ Gio.Settings.unbind(object, property);
+ this.getProfileSettings().bind(settingsKey, object, property,
+ Gio.SettingsBindFlags.DEFAULT);
+ }
+
+ this._bindResetButton(settingsKey);
+ }
+
+ // Reads the contents of a JSON file contained in the global resources archive. The data
+ // is parsed and returned as a JavaScript object / array.
+ _getJSONResource(path) {
+ return JSON.parse(utils.getStringResource(path));
+ }
+
+ // This traverses the widget tree below the given parent recursively and returns the
+ // first widget of the given type.
+ _findWidgetByType(parent, type) {
+ for (const child of [...parent]) {
+ if (child instanceof type) return child;
+
+ const match = this._findWidgetByType(child, type);
+ if (match) return match;
+ }
+
+ return null;
+ }
+
+ // Opens a modal window using the given effect.
+ _previewEffect(effect) {
+
+ // Set the to-be-previewed effect.
+ this._settings.set_string('preview-effect', effect.getNick());
+
+ // Make sure that the window.show() firther below "sees" this change.
+ Gio.Settings.sync();
+
+ // Create the preview-window.
+ const window = new Gtk.Window({
+ // Translators: %s will be replaced by the effect's name.
+ title: _('Preview for %s').replace('%s', effect.getLabel()),
+ default_width: 800,
+ default_height: 450,
+ modal: true,
+ transient_for: this._widget.get_root()
+ });
+
+ // Add a header bar to the window.
+ const header = Gtk.HeaderBar.new();
+ window.set_titlebar(header);
+
+ const box = new Gtk.Box({
+ orientation: Gtk.Orientation.VERTICAL,
+ valign: Gtk.Align.CENTER,
+ spacing: 10,
+ margin_start: 50,
+ margin_end: 50
+ });
+
+ const label = Gtk.Label.new(_('Close this Window to Preview the Effect!'));
+ label.wrap = true;
+ label.justify = Gtk.Justification.CENTER;
+ label.get_style_context().add_class('large-title');
+
+ const image = new Gtk.Image({
+ icon_name: 'burn-my-windows-symbolic',
+ pixel_size: 128,
+ });
+
+ box.append(image);
+ box.append(label);
+
+ window.set_child(box);
+ window.show();
+ }
+
+ // Helper function to show a message dialog. The dialog is modal and has a title, a
+ // message and a list of buttons. Each button is an object with a label, a default flag
+ // and a destructive flag. Each button object can also have an "action" callback that is
+ // called when the button is clicked.
+ // This method works on GTK3, GTK4, and libadwaita.
+ _createMessageDialog(title, message, window, buttons) {
+ let dialog = new Adw.MessageDialog({
+ heading: title,
+ body: message,
+ body_use_markup: true,
+ modal: true,
+ });
+
+ buttons.forEach((button, i) => {
+ const response = i.toString();
+ dialog.add_response(response, button.label);
+
+ if (button.default) {
+ dialog.set_default_response(response);
+ dialog.set_close_response(response);
+ }
+
+ if (button.destructive) {
+ dialog.set_response_appearance(response, Adw.ResponseAppearance.DESTRUCTIVE);
+ }
+ });
+
+ dialog.set_hide_on_close(true);
+ dialog.set_transient_for(window);
+
+ // If the dialog is closed or a button is clicked, we hide the dialog and call the
+ // button's action callback if it exists.
+ dialog.connect('response', (dialog, response) => {
+ const i = parseInt(response);
+
+ const button = buttons[i];
+ if (button && button.action) {
+ button.action();
+ }
+
+ dialog.hide();
+ });
+
+ return dialog;
+ }
+}
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/resources/burn-my-windows.gresource b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/resources/burn-my-windows.gresource
new file mode 100644
index 0000000..b52a7db
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/resources/burn-my-windows.gresource
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/gschemas.compiled b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/gschemas.compiled
new file mode 100644
index 0000000..5fac657
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/gschemas.compiled
Binary files differ
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml
new file mode 100644
index 0000000..e6b87a4
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml
@@ -0,0 +1,1119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
+SPDX-License-Identifier: CC0-1.0
+-->
+
+<schemalist>
+
+ <schema path="/org/gnome/shell/extensions/burn-my-windows-profile/" id="org.gnome.shell.extensions.burn-my-windows-profile">
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Profile Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="profile-app" type="s">
+ <default>""</default>
+ <summary>Profile App</summary>
+ <description>The application name for which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-animation-type" type="i">
+ <default>0</default>
+ <range min="0" max="2" />
+ <summary>Profile Animation Type</summary>
+ <description>The animation types for which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-window-type" type="i">
+ <default>0</default>
+ <range min="0" max="2" />
+ <summary>Profile Window Type</summary>
+ <description>The window types for which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-color-scheme" type="i">
+ <default>0</default>
+ <range min="0" max="2" />
+ <summary>Profile Color Scheme</summary>
+ <description>The desktop color schemes for which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-power-mode" type="i">
+ <default>0</default>
+ <range min="0" max="2" />
+ <summary>Profile Power Mode</summary>
+ <description>The power mode for which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-power-profile" type="i">
+ <default>0</default>
+ <range min="0" max="5" />
+ <summary>Profile Power Profile</summary>
+ <description>The power profiles in which the current effect settings should be used.</description>
+ </key>
+
+ <key name="profile-high-priority" type="b">
+ <default>false</default>
+ <summary>Profile High Priority</summary>
+ <description>Use this profile even if there are better matching profiles.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Apparition Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="apparition-enable-effect" type="b">
+ <default>false</default>
+ <summary>Apparition Enable Effect</summary>
+ <description>Use the apparition effect.</description>
+ </key>
+
+ <key name="apparition-animation-time" type="i">
+ <default>300</default>
+ <summary>Apparition Animation Time</summary>
+ <description>The time the apparition effect takes.</description>
+ </key>
+
+ <key name="apparition-randomness" type="d">
+ <default>0.5</default>
+ <summary>Apparition Randomness</summary>
+ <description>The amount of randomness of the apparition effect.</description>
+ </key>
+
+ <key name="apparition-twirl-intensity" type="d">
+ <default>5.0</default>
+ <summary>Apparition Twirl Intensity</summary>
+ <description>The amount of twirling of the apparition effect.</description>
+ </key>
+
+ <key name="apparition-shake-intensity" type="d">
+ <default>3.0</default>
+ <summary>Apparition Shake Intensity</summary>
+ <description>The amount of shaking of the apparition effect.</description>
+ </key>
+
+ <key name="apparition-suction-intensity" type="d">
+ <default>0.75</default>
+ <summary>Apparition Suction Intensity</summary>
+ <description>The amount of suction of the apparition effect.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Pixelate Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="pixelate-enable-effect" type="b">
+ <default>false</default>
+ <summary>Pixelate Enable Effect</summary>
+ <description>Use the Pixelate effect.</description>
+ </key>
+
+ <key name="pixelate-animation-time" type="i">
+ <default>500</default>
+ <summary>Pixelate Animation Time</summary>
+ <description>The time the Pixelate effect takes.</description>
+ </key>
+
+ <key name="pixelate-noise" type="d">
+ <default>40</default>
+ <summary>Pixelate Noise</summary>
+ <description>The noise of the effect.</description>
+ </key>
+
+ <key name="pixelate-pixel-size" type="i">
+ <default>10</default>
+ <summary>Pixelate Pixel Size</summary>
+ <description>The size of the maximum pixelation.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Pixel Wipe Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="pixel-wipe-enable-effect" type="b">
+ <default>false</default>
+ <summary>Pixel Wipe Enable Effect</summary>
+ <description>Use the Pixel Wipe effect.</description>
+ </key>
+
+ <key name="pixel-wipe-animation-time" type="i">
+ <default>1000</default>
+ <summary>Pixel Wipe Animation Time</summary>
+ <description>The time the Pixel Wipe effect takes.</description>
+ </key>
+
+ <key name="pixel-wipe-pixel-size" type="i">
+ <default>10</default>
+ <summary>Pixel Wipe Pixel Size</summary>
+ <description>The size of the maximum pixelation.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Pixel Wheel Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="pixel-wheel-enable-effect" type="b">
+ <default>false</default>
+ <summary>Pixel Wheel Enable Effect</summary>
+ <description>Use the Pixel Wheel effect.</description>
+ </key>
+
+ <key name="pixel-wheel-animation-time" type="i">
+ <default>300</default>
+ <summary>Pixel Wheel Animation Time</summary>
+ <description>The time the Pixel Wheel effect takes.</description>
+ </key>
+
+ <key name="pixel-wheel-spoke-count" type="i">
+ <default>12</default>
+ <summary>Pixel Wheel Spoke Count</summary>
+ <description>The number of sections in the wheel.</description>
+ </key>
+
+ <key name="pixel-wheel-pixel-size" type="d">
+ <default>10</default>
+ <summary>Pixel Wheel Pixel Size</summary>
+ <description>The size of the maximum pixelation.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Doom Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="doom-enable-effect" type="b">
+ <default>false</default>
+ <summary>Doom Enable Effect</summary>
+ <description>Use the Doom effect.</description>
+ </key>
+
+ <key name="doom-animation-time" type="i">
+ <default>1000</default>
+ <summary>Doom Animation Time</summary>
+ <description>The time the Doom effect takes.</description>
+ </key>
+
+ <key name="doom-horizontal-scale" type="d">
+ <default>10.0</default>
+ <summary>Doom Horizontal Scale</summary>
+ <description>The X scale of the effect.</description>
+ </key>
+
+ <key name="doom-vertical-scale" type="d">
+ <default>10.0</default>
+ <summary>Doom Vertical Scale</summary>
+ <description>The Y scale of the effect.</description>
+ </key>
+
+ <key name="doom-pixel-size" type="i">
+ <default>10</default>
+ <summary>Doom Pixel Size</summary>
+ <description>The size of the maximum pixelation.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Fire Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="fire-enable-effect" type="b">
+ <default>true</default>
+ <summary>Fire Enable Effect</summary>
+ <description>Use the fire effect.</description>
+ </key>
+
+ <key name="fire-animation-time" type="i">
+ <default>1500</default>
+ <summary>Fire Animation Time</summary>
+ <description>The time the fire effect takes.</description>
+ </key>
+
+ <key name="fire-movement-speed" type="d">
+ <default>0.5</default>
+ <summary>Fire Movement Speed</summary>
+ <description>The speed at which the fire moves.</description>
+ </key>
+
+ <key name="fire-scale" type="d">
+ <default>1.0</default>
+ <summary>Fire Scale</summary>
+ <description>The size of the fire.</description>
+ </key>
+
+ <key name="fire-random-color" type="b">
+ <default>false</default>
+ <summary>use a random color for the fire</summary>
+ <description>use a random color of the fire</description>
+ </key>
+
+ <key name="fire-3d-noise" type="b">
+ <default>false</default>
+ <summary>Fire 3D Noise</summary>
+ <description>Use a 3D noise for the fire.</description>
+ </key>
+
+ <key name="fire-color-1" type="s">
+ <default>"rgba(76, 51, 25, 0.0)"</default>
+ <summary>Fire Color 1</summary>
+ <description>The first color of the fire gradient.</description>
+ </key>
+
+ <key name="fire-color-2" type="s">
+ <default>"rgba(180, 55, 30, 0.7)"</default>
+ <summary>Fire Color 2</summary>
+ <description>The second color of the fire gradient.</description>
+ </key>
+
+ <key name="fire-color-3" type="s">
+ <default>"rgba(255, 76, 38, 0.9)"</default>
+ <summary>Fire Color 3</summary>
+ <description>The third color of the fire gradient.</description>
+ </key>
+
+ <key name="fire-color-4" type="s">
+ <default>"rgba(255, 166, 25, 1)"</default>
+ <summary>Fire Color 4</summary>
+ <description>The fourth color of the fire gradient.</description>
+ </key>
+
+ <key name="fire-color-5" type="s">
+ <default>"rgba(255, 255, 255, 1)"</default>
+ <summary>Fire Color 5</summary>
+ <description>The fifth color of the fire gradient.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Glide Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="glide-enable-effect" type="b">
+ <default>false</default>
+ <summary>Glide Enable Effect</summary>
+ <description>Use the glide effect.</description>
+ </key>
+
+ <key name="glide-animation-time" type="i">
+ <default>250</default>
+ <summary>Glide Animation Time</summary>
+ <description>The time the glide effect takes.</description>
+ </key>
+
+ <key name="glide-scale" type="d">
+ <default>0.95</default>
+ <summary>Glide Scale</summary>
+ <description>The scale of the window.</description>
+ </key>
+
+ <key name="glide-squish" type="d">
+ <default>0.15</default>
+ <summary>Glide Squish</summary>
+ <description>The amount of squishing.</description>
+ </key>
+
+ <key name="glide-tilt" type="d">
+ <default>-0.3</default>
+ <summary>Glide Tilt</summary>
+ <description>The amount of tilting.</description>
+ </key>
+
+ <key name="glide-shift" type="d">
+ <default>-0.05</default>
+ <summary>Glide Shift</summary>
+ <description>The amount of shifting.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Matrix Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="matrix-enable-effect" type="b">
+ <default>false</default>
+ <summary>Matrix Enable Effect</summary>
+ <description>Use the matrix effect.</description>
+ </key>
+
+ <key name="matrix-animation-time" type="i">
+ <default>1500</default>
+ <summary>Matrix Animation Time</summary>
+ <description>The time the matrix effect takes.</description>
+ </key>
+
+ <key name="matrix-scale" type="i">
+ <default>20</default>
+ <summary>Matrix Scale</summary>
+ <description>The size of the matrix letters.</description>
+ </key>
+
+ <key name="matrix-randomness" type="d">
+ <default>1.0</default>
+ <summary>Matrix Randomness</summary>
+ <description>The randomness of the matrix effect.</description>
+ </key>
+
+ <key name="matrix-tip-color" type="s">
+ <default>"rgb(255, 255, 255)"</default>
+ <summary>Matrix Tip Color</summary>
+ <description>The color of the matrix trail tips.</description>
+ </key>
+
+ <key name="matrix-trail-color" type="s">
+ <default>"rgb(25, 255, 89)"</default>
+ <summary>Matrix Trail Color</summary>
+ <description>The color matrix trails.</description>
+ </key>
+
+ <key name="matrix-overshoot" type="d">
+ <default>0.25</default>
+ <summary>Matrix Overshoot</summary>
+ <description>The vertical overshooting of the matrix effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- TV Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="tv-enable-effect" type="b">
+ <default>false</default>
+ <summary>TV Enable Effect</summary>
+ <description>Use the tv effect.</description>
+ </key>
+
+ <key name="tv-animation-time" type="i">
+ <default>400</default>
+ <summary>TV Animation Time</summary>
+ <description>The time the tv effect takes.</description>
+ </key>
+
+ <key name="tv-effect-color" type="s">
+ <default>"rgb(255, 255, 255)"</default>
+ <summary>TV Effect Color</summary>
+ <description>The color of the TV effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Paint-Brush Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="paint-brush-enable-effect" type="b">
+ <default>false</default>
+ <summary>Paint Brush Enable Effect</summary>
+ <description>Use the paint-brush effect.</description>
+ </key>
+
+ <key name="paint-brush-animation-time" type="i">
+ <default>1000</default>
+ <summary>Paint Brush Animation Time</summary>
+ <description>The time the paint-brush effect takes.</description>
+ </key>
+
+ <key name="paint-brush-size" type="i">
+ <default>3</default>
+ <summary>Paint Brush Size</summary>
+ <description>Affects the number of paint strokes.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- T-Rex Attack Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="trex-enable-effect" type="b">
+ <default>false</default>
+ <summary>T-Rex Enable Effect</summary>
+ <description>Use the trex effect.</description>
+ </key>
+
+ <key name="trex-animation-time" type="i">
+ <default>1000</default>
+ <summary>T-Rex Animation Time</summary>
+ <description>The time the trex effect takes.</description>
+ </key>
+
+ <key name="trex-scratch-color" type="s">
+ <default>"rgb(170, 0, 0)"</default>
+ <summary>Claw Scratch Color</summary>
+ <description>The color of the claw scratches.</description>
+ </key>
+
+ <key name="trex-scratch-scale" type="d">
+ <default>1.0</default>
+ <summary>Claw Scratch Scale</summary>
+ <description>Size of the claw scratches.</description>
+ </key>
+
+ <key name="trex-scratch-warp" type="d">
+ <default>0.15</default>
+ <summary>Claw Scratch Warp</summary>
+ <description>Intensity of the claw scratch warp effect.</description>
+ </key>
+
+ <key name="trex-scratch-count" type="i">
+ <default>5</default>
+ <summary>Claw Scratch Count</summary>
+ <description>Number of claw scratches drawn on top of each other.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Hexagon Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="hexagon-enable-effect" type="b">
+ <default>false</default>
+ <summary>Hexagon Enable Effect</summary>
+ <description>Use the Hexagon effect.</description>
+ </key>
+
+ <key name="hexagon-animation-time" type="i">
+ <default>1500</default>
+ <summary>Hexagon Animation Time</summary>
+ <description>The time the Hexagon effect takes.</description>
+ </key>
+
+ <key name="hexagon-scale" type="d">
+ <default>3.0</default>
+ <summary>Hexagon Scale</summary>
+ <description>The size of the effect.</description>
+ </key>
+
+ <key name="hexagon-line-width" type="d">
+ <default>2.0</default>
+ <summary>Hexagon Line Width</summary>
+ <description>The width of the lines.</description>
+ </key>
+
+ <key name="hexagon-line-color" type="s">
+ <default>"rgba(200, 255, 255, 0.5)"</default>
+ <summary>Hexagon Line Color</summary>
+ <description>The color of the lines.</description>
+ </key>
+
+ <key name="hexagon-glow-color" type="s">
+ <default>"rgba(20, 80, 255, 0.5)"</default>
+ <summary>Hexagon Glow Color</summary>
+ <description>The color of the glow effect.</description>
+ </key>
+
+ <key name="hexagon-additive-blending" type="b">
+ <default>true</default>
+ <summary>Hexagon Additive Blending</summary>
+ <description>Use additive blending for the line and the glow.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Incinerate Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="incinerate-enable-effect" type="b">
+ <default>false</default>
+ <summary>Incinerate Enable Effect</summary>
+ <description>Use the Incinerate effect.</description>
+ </key>
+
+ <key name="incinerate-animation-time" type="i">
+ <default>2000</default>
+ <summary>Incinerate Animation Time</summary>
+ <description>The time the Incinerate effect takes.</description>
+ </key>
+
+ <key name="incinerate-scale" type="d">
+ <default>1.0</default>
+ <summary>Incinerate Scale</summary>
+ <description>The scale of the effect.</description>
+ </key>
+
+ <key name="incinerate-turbulence" type="d">
+ <default>0.3</default>
+ <summary>Incinerate Turbulence</summary>
+ <description>The turbulence of the effect.</description>
+ </key>
+
+ <key name="incinerate-color" type="s">
+ <default>"rgb(255, 180, 127)"</default>
+ <summary>Incinerate Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+ <key name="incinerate-use-pointer" type="b">
+ <default>true</default>
+ <summary>Incinerate Use Pointer</summary>
+ <description>Use the pointer location for the incinerate effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Energize A Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="energize-a-enable-effect" type="b">
+ <default>false</default>
+ <summary>Energize A Enable Effect</summary>
+ <description>Use the Energize A effect.</description>
+ </key>
+
+ <key name="energize-a-animation-time" type="i">
+ <default>2000</default>
+ <summary>Energize A Animation Time</summary>
+ <description>The time the Energize A effect takes.</description>
+ </key>
+
+ <key name="energize-a-scale" type="d">
+ <default>1.0</default>
+ <summary>Energize A Scale</summary>
+ <description>The size of the effect.</description>
+ </key>
+
+ <key name="energize-a-color" type="s">
+ <default>"rgb(255, 200, 50)"</default>
+ <summary>Energize A Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Energize B Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="energize-b-enable-effect" type="b">
+ <default>false</default>
+ <summary>Energize B Enable Effect</summary>
+ <description>Use the Energize B effect.</description>
+ </key>
+
+ <key name="energize-b-animation-time" type="i">
+ <default>1000</default>
+ <summary>Energize B Animation Time</summary>
+ <description>The time the Energize B effect takes.</description>
+ </key>
+
+ <key name="energize-b-scale" type="d">
+ <default>1.0</default>
+ <summary>Energize B Scale</summary>
+ <description>The size of the effect.</description>
+ </key>
+
+ <key name="energize-b-color" type="s">
+ <default>"rgb(160, 180, 255)"</default>
+ <summary>Energize B Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Glitch Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="glitch-enable-effect" type="b">
+ <default>false</default>
+ <summary>Glitch Enable Effect</summary>
+ <description>Use the Glitch effect.</description>
+ </key>
+
+ <key name="glitch-animation-time" type="i">
+ <default>750</default>
+ <summary>Glitch Animation Time</summary>
+ <description>The time the Glitch effect takes.</description>
+ </key>
+
+ <key name="glitch-scale" type="d">
+ <default>1.0</default>
+ <summary>Glitch Scale</summary>
+ <description>The size of the effect.</description>
+ </key>
+
+ <key name="glitch-strength" type="d">
+ <default>2.0</default>
+ <summary>Glitch Strength</summary>
+ <description>The intensity of the effect.</description>
+ </key>
+
+ <key name="glitch-speed" type="d">
+ <default>2.0</default>
+ <summary>Glitch Speed</summary>
+ <description>The speed of the effect.</description>
+ </key>
+
+ <key name="glitch-color" type="s">
+ <default>"rgb(100, 160, 255)"</default>
+ <summary>Glitch Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- TV Glitch Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="tv-glitch-enable-effect" type="b">
+ <default>false</default>
+ <summary>TV Glitch Enable Effect</summary>
+ <description>Use the TV Glitch effect.</description>
+ </key>
+
+ <key name="tv-glitch-animation-time" type="i">
+ <default>750</default>
+ <summary>TV Glitch Animation Time</summary>
+ <description>The time the TV Glitch effect takes.</description>
+ </key>
+
+ <key name="tv-glitch-scale" type="d">
+ <default>1.0</default>
+ <summary>TV Glitch Scale</summary>
+ <description>The size of the effect.</description>
+ </key>
+
+ <key name="tv-glitch-strength" type="d">
+ <default>2.0</default>
+ <summary>TV Glitch Strength</summary>
+ <description>The intensity of the effect.</description>
+ </key>
+
+ <key name="tv-glitch-speed" type="d">
+ <default>2.0</default>
+ <summary>TV Glitch Speed</summary>
+ <description>The speed of the effect.</description>
+ </key>
+
+ <key name="tv-glitch-color" type="s">
+ <default>"rgb(100, 160, 255)"</default>
+ <summary>TV Glitch Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Wisps Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="wisps-enable-effect" type="b">
+ <default>false</default>
+ <summary>Wisps Enable Effect</summary>
+ <description>Use the wisps effect.</description>
+ </key>
+
+ <key name="wisps-animation-time" type="i">
+ <default>1500</default>
+ <summary>Wisps Animation Time</summary>
+ <description>The time the wisps effect takes.</description>
+ </key>
+
+ <key name="wisps-scale" type="d">
+ <default>1.0</default>
+ <summary>Wisps Scale</summary>
+ <description>The size of the wisps.</description>
+ </key>
+
+ <key name="wisps-color-1" type="s">
+ <default>"rgb(255, 100, 200)"</default>
+ <summary>Wisps Effect Color 1</summary>
+ <description>A color of the wisps effect.</description>
+ </key>
+
+ <key name="wisps-color-2" type="s">
+ <default>"rgb(100, 100, 255)"</default>
+ <summary>Wisps Effect Color 2</summary>
+ <description>A color of the wisps effect.</description>
+ </key>
+
+ <key name="wisps-color-3" type="s">
+ <default>"rgb(100, 200, 255)"</default>
+ <summary>Wisps Effect Color 3</summary>
+ <description>A color of the wisps effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Broken Glass Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="broken-glass-enable-effect" type="b">
+ <default>false</default>
+ <summary>Broken Glass Enable Effect</summary>
+ <description>Use the broken glass effect.</description>
+ </key>
+
+ <key name="broken-glass-animation-time" type="i">
+ <default>1000</default>
+ <summary>Broken Glass Animation Time</summary>
+ <description>The time the broken glass effect takes.</description>
+ </key>
+
+ <key name="broken-glass-scale" type="d">
+ <default>1.0</default>
+ <summary>Broken Glass Scale</summary>
+ <description>The size of the broken glass effect.</description>
+ </key>
+
+ <key name="broken-glass-gravity" type="d">
+ <default>-1.0</default>
+ <summary>Broken Glass Gravity</summary>
+ <description>The gravity of the broken glass effect.</description>
+ </key>
+
+ <key name="broken-glass-blow-force" type="d">
+ <default>0.5</default>
+ <summary>Broken Glass Blow Force</summary>
+ <description>The blow force of the broken glass effect.</description>
+ </key>
+
+ <key name="broken-glass-use-pointer" type="b">
+ <default>false</default>
+ <summary>Broken Glass Use Pointer</summary>
+ <description>Use the pointer location for the broken glass effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Portal Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="portal-enable-effect" type="b">
+ <default>false</default>
+ <summary>Portal Enable Effect</summary>
+ <description>Use the Portal effect.</description>
+ </key>
+
+ <key name="portal-animation-time" type="i">
+ <default>1250</default>
+ <summary>Portal Animation Time</summary>
+ <description>The time the Portal effect takes.</description>
+ </key>
+
+ <key name="portal-color" type="s">
+ <default>"rgb(121, 233, 24)"</default>
+ <summary>Portal Color</summary>
+ <description>The color of the effect.</description>
+ </key>
+
+ <key name="portal-rotation-speed" type="d">
+ <default>0.3</default>
+ <summary>Portal Rotation Speed</summary>
+ <description>The angular speed of the portal.</description>
+ </key>
+
+ <key name="portal-whirling" type="d">
+ <default>1.0</default>
+ <summary>Portal Whirling</summary>
+ <description>The amount of distortion.</description>
+ </key>
+
+ <key name="portal-details" type="d">
+ <default>15.0</default>
+ <summary>Portal Details</summary>
+ <description>The amount of details in the portal.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Snap of Disintegration Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="snap-enable-effect" type="b">
+ <default>false</default>
+ <summary>Snap Enable Effect</summary>
+ <description>Use the snap effect.</description>
+ </key>
+
+ <key name="snap-animation-time" type="i">
+ <default>1500</default>
+ <summary>Snap Animation Time</summary>
+ <description>The time the snap effect takes.</description>
+ </key>
+
+ <key name="snap-scale" type="d">
+ <default>3.0</default>
+ <summary>Snap Scale</summary>
+ <description>The size of the snap effect.</description>
+ </key>
+
+ <key name="snap-color" type="s">
+ <default>"rgb(50, 40, 35)"</default>
+ <summary>Snap Effect Color</summary>
+ <description>The color of the dust.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Focus Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="focus-enable-effect" type="b">
+ <default>false</default>
+ <summary>Focus Enable Effect</summary>
+ <description>Use the Focus effect.</description>
+ </key>
+
+ <key name="focus-animation-time" type="i">
+ <default>500</default>
+ <summary>Focus Animation Time</summary>
+ <description>The time the Focus effect takes.</description>
+ </key>
+
+ <key name="focus-blur-amount" type="i">
+ <default>50</default>
+ <summary>Focus Blur Amount</summary>
+ <description>The Blur Amount before Focusing.</description>
+ </key>
+
+ <key name="focus-blur-quality" type="i">
+ <default>3</default>
+ <summary>Focus Blur Quality</summary>
+ <description>The Quality of the Blur (Setting this too high may increase GPU load and affect performance)</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Mushroom Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="mushroom-enable-effect" type="b">
+ <default>false</default>
+ <summary>mushroom Enable Effect</summary>
+ <description>Use the mushroom effect.</description>
+ </key>
+
+ <key name="mushroom-animation-time" type="i">
+ <default>1500</default>
+ <summary>mushroom Animation Time</summary>
+ <description>The time the mushroom effect takes.</description>
+ </key>
+
+ <!-- <key name="mushroom-8bit-enable" type="b">
+ <default>true</default>
+ <summary>mushroom 8Bit Animation</summary>
+ <description>use the old style.</description>
+ </key> -->
+
+ <key name="mushroom-scale-style" type="d">
+ <default>1.0</default>
+ <summary>8Bit or Smooth Scaling</summary>
+ <description>How the window scales</description>
+ </key>
+
+ <key name="mushroom-spark-count" type="i">
+ <default>4</default>
+ <summary>The Number of Sparks</summary>
+ <description>The Number of Sparks</description>
+ </key>
+
+ <key name="mushroom-spark-color" type="s">
+ <default>"rgba(255, 255, 255, 1.0)"</default>
+ <summary>The Sparks Color</summary>
+ <description>The Sparks Color</description>
+ </key>
+
+ <key name="mushroom-spark-rotation" type="d">
+ <default>0.3</default>
+ <summary>The Number of Rotations the Sparks do</summary>
+ <description>The Number of Rotations the Sparks do</description>
+ </key>
+
+ <key name="mushroom-rays-color" type="s">
+ <default>"rgba(255, 255, 255, 1.0)"</default>
+ <summary>The Rays Color</summary>
+ <description>The Rays Color</description>
+ </key>
+
+ <key name="mushroom-ring-count" type="i">
+ <default>3</default>
+ <summary>Number of Rings</summary>
+ <description>Number of Rings</description>
+ </key>
+
+ <key name="mushroom-ring-rotation" type="d">
+ <default>1.33</default>
+ <summary>The Number of Rotations/Cycles the Stars do</summary>
+ <description>The Number of Rotations/Cycles the Stars do</description>
+ </key>
+
+ <key name="mushroom-star-count" type="i">
+ <default>5</default>
+ <summary>The Number of Stars in each Ring</summary>
+ <description>The Number of Stars in each Ring</description>
+ </key>
+
+ <key name="mushroom-star-color-0" type="s">
+ <default>"rgba(233, 249, 1, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+ <key name="mushroom-star-color-1" type="s">
+ <default>"rgba(233, 249, 1, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+ <key name="mushroom-star-color-2" type="s">
+ <default>"rgba(91, 255, 1, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+ <key name="mushroom-star-color-3" type="s">
+ <default>"rgba(91, 255, 1, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+ <key name="mushroom-star-color-4" type="s">
+ <default>"rgba(0, 240, 236, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+ <key name="mushroom-star-color-5" type="s">
+ <default>"rgba(0, 240, 236, 1.0)"</default>
+ <summary>Star Color 1</summary>
+ <description>The Nth color of the Star gradient.</description>
+ </key>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Aura Glow Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="aura-glow-enable-effect" type="b">
+ <default>false</default>
+ <summary>Aura Glow Enable Effect</summary>
+ <description>Use the Aura Glow effect.</description>
+ </key>
+
+ <key name="aura-glow-animation-time" type="i">
+ <default>750</default>
+ <summary>Aura Glow Animation Time</summary>
+ <description>The time the Aura Glow effect takes.</description>
+ </key>
+
+ <key name="aura-glow-random-color" type="b">
+ <default>false</default>
+ <summary>Aura Glow Random Color Offset</summary>
+ <description>Ramdomize the color offset</description>
+ </key>
+
+ <key name="aura-glow-start-hue" type="d">
+ <default>0.0</default>
+ <summary>Aura Glow Color Offset</summary>
+ <description>Changes the inital color of the glow</description>
+ </key>
+
+ <key name="aura-glow-speed" type="d">
+ <default>2.5</default>
+ <summary>Aura Glow Color Speed</summary>
+ <description>The Speed at which the color changes</description>
+ </key>
+
+ <key name="aura-glow-saturation" type="d">
+ <default>0.75</default>
+ <summary>Aura Glow Color Saturation</summary>
+ <description>Amount of color in the effect</description>
+ </key>
+
+ <key name="aura-glow-edge-size" type="d">
+ <default>0.75</default>
+ <summary>Aura Glow Size of the Color Edge</summary>
+ <description>Size of the Color Edge</description>
+ </key>
+
+ <key name="aura-glow-edge-hardness" type="d">
+ <default>0.25</default>
+ <summary>Aura Glow Edge Hardness</summary>
+ <description>The Hardness of the Edge</description>
+ </key>
+
+ <key name="aura-glow-blur" type="d">
+ <default>15.0</default>
+ <summary>Aura Glow Blur</summary>
+ <description>Changes the Blue Amount</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- RGBWarp Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="rgbwarp-enable-effect" type="b">
+ <default>false</default>
+ <summary>RGBWarp Enable Effect</summary>
+ <description>Use the RGBWarp.</description>
+ </key>
+
+ <key name="rgbwarp-animation-time" type="i">
+ <default>750</default>
+ <summary>RGBWarp Animation Time</summary>
+ <description>The time the RGBWarp effect takes.</description>
+ </key>
+
+ <key name="rgbwarp-brightness" type="d">
+ <default>1.0</default>
+ <summary>RGBWarp Brightness</summary>
+ <description>brightness of the effect.</description>
+ </key>
+
+ <key name="rgbwarp-speed-r" type="d">
+ <default>1.0</default>
+ <summary>RGBWarp Red Speed</summary>
+ <description>Red speed of the effect.</description>
+ </key>
+
+ <key name="rgbwarp-speed-g" type="d">
+ <default>0.90</default>
+ <summary>RGBWarp Green Speed</summary>
+ <description>Green speed of the effect.</description>
+ </key>
+
+ <key name="rgbwarp-speed-b" type="d">
+ <default>0.80</default>
+ <summary>RGBWarp Blue Speed</summary>
+ <description>Blue speed of the effect.</description>
+ </key>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- Team Rocket Effect Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="team-rocket-enable-effect" type="b">
+ <default>false</default>
+ <summary>Team Rocket Enable Effect</summary>
+ <description>Use the Team Rocket effect.</description>
+ </key>
+
+ <key name="team-rocket-animation-time" type="i">
+ <default>1500</default>
+ <summary>Team Rocket Animation Time</summary>
+ <description>The time the Team Rocket effect takes.</description>
+ </key>
+
+ <key name="team-rocket-animation-split" type="d">
+ <default>0.5</default>
+ <summary>Window vs Sparkle split</summary>
+ <description>Window vs Sparkle split</description>
+ </key>
+
+ <key name="team-rocket-horizontal-sparkle-position" type="d">
+ <default>0.0</default>
+ <summary>Team Rocket X</summary>
+ <description>X position</description>
+ </key>
+
+ <key name="team-rocket-vertical-sparkle-position" type="d">
+ <default>0.5</default>
+ <summary>Team Rocket Y</summary>
+ <description>Y position</description>
+ </key>
+
+ <key name="team-rocket-window-rotation" type="b">
+ <default>true</default>
+ <summary>Rotate the Window</summary>
+ <description>Rotate the Window</description>
+ </key>
+
+ <key name="team-rocket-sparkle-rot" type="d">
+ <default>0.33</default>
+ <summary>Sparkle Rotation</summary>
+ <description>Sparkle Rotation</description>
+ </key>
+
+ <key name="team-rocket-sparkle-size" type="d">
+ <default>0.75</default>
+ <summary>Sparkle Size</summary>
+ <description>Sparkle Size</description>
+ </key>
+
+
+ </schema>
+
+</schemalist>
diff --git a/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml
new file mode 100644
index 0000000..844fc0e
--- /dev/null
+++ b/raveos-gnome-theme/theme-data/extensions/installed/burn-my-windows@schneegans.github.com/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
+SPDX-License-Identifier: CC0-1.0
+-->
+
+<schemalist>
+
+ <schema path="/org/gnome/shell/extensions/burn-my-windows/" id="org.gnome.shell.extensions.burn-my-windows">
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+ <!-- General Options -->
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+ <key name="active-profile" type="s">
+ <default>""</default>
+ <summary>Active Profile</summary>
+ <description>The currently active effect profile.</description>
+ </key>
+
+ <key name="preview-effect" type="s">
+ <default>""</default>
+ <summary>Preview Effect</summary>
+ <description>The effect with this nick will be used for the next window animation.</description>
+ </key>
+
+ <key name="test-mode" type="b">
+ <default>false</default>
+ <summary>Test Mode</summary>
+ <description>If set to true, all animations will show only one still frame to allow for continuous integration tests.</description>
+ </key>
+
+ <key name="last-prefs-version" type="i">
+ <default>0</default>
+ <summary>Last Prefs Version</summary>
+ <description>Used to check whether the extension got updated from the preferences dialog.</description>
+ </key>
+
+ <key name="last-extension-version" type="i">
+ <default>0</default>
+ <summary>Last Extension Version</summary>
+ <description>Used to check whether the extension got updated from the extension side.</description>
+ </key>
+
+ <key name="prefs-open-count" type="i">
+ <default>0</default>
+ <summary>Prefs Open Count</summary>
+ <description>The number of times the settings dialog was openend.</description>
+ </key>
+
+ <key name="show-support-dialog" type="b">
+ <default>true</default>
+ <summary>Show Support Dialog</summary>
+ <description>If set to false, the ask-for-support dialog will never be shown.</description>
+ </key>
+
+ </schema>
+
+</schemalist> \ No newline at end of file