diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index eb6cfbf..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-modules/radix/secrets.scm
diff --git a/.guix-authorizations b/.guix-authorizations
deleted file mode 100644
index 3b1651e..0000000
--- a/.guix-authorizations
+++ /dev/null
@@ -1,4 +0,0 @@
-(authorizations
- (version 0)
- (("99D0 38B0 CC2F 7356 34D0 82F3 5A8F 3D62 C87A 2B33")
- (name "Luis Guilherme Coelho Bueno")))
diff --git a/.guix-channel b/.guix-channel
deleted file mode 100644
index c06519a..0000000
--- a/.guix-channel
+++ /dev/null
@@ -1,3 +0,0 @@
-(channel
- (version 0)
- (url "https://codeberg.org/anemofilia/radix"))
diff --git a/99D038B0CC2F735634D082F35A8F3D62C87A2B33.key b/99D038B0CC2F735634D082F35A8F3D62C87A2B33.key
new file mode 100644
index 0000000..566556a
--- /dev/null
+++ b/99D038B0CC2F735634D082F35A8F3D62C87A2B33.key
@@ -0,0 +1,52 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBGTT6acBEADTP28hhEw0BwAQvOXMZdbte1EdiCd99Eg8x/v0MH5gRN66BiTn
+9SYEeNWi4U+QptsfMF9u9kxIcm1Vk38dntR6bPq7ZNhr09zeQSJe0LDF8aMclmyJ
+K5dANwiUb8hCSeus762f7HrbMkQ8G0tBhQW+ijpX6qhuGQFcA3m+qqsviR68KIvh
+/VdMBt4V2cIDw6gzN58+UXZs7XWIKUXqdiXqI8yCqnWwivL1PmlLIYLkZz/bBhQJ
+Jkm3auhcMrkf5cifZjnekPdTceU8pz8DDC0bLOL9znwTjDPQA6Qq545XPmYWtPOC
+zS0D+AlKPOhb3KMpRaC2aqJSLpUbxhXccLT5bRMjNBQFiNo+shcOTC4cTqZpvxUj
+OnUBXBCcyIimEBS51pSps2ROGRpvzwLlaacQkE11JQszx4B0huWZLwDInKLcTWGm
+Fe++qmxJJMMXz8ac3ZHKecd1NJS7dcrsGbOqP7dYcbEioHZ8OSjr3dAKHgj0LX/a
+n1VC4D6IVF+uY1JoIaRULzhrPYDWwlSR1xcq7pHB7NIhMuWuJaDqAi1i9uIOMGfU
+wTgOvDhckn7rxsBTVmJUhKQ8zOf70rDGCQrbczdna+GOYjeBCcsRjpb4aA38zias
+NfxaRMOpfmrcRrPC/xK4stPtHb3UJh/kwjkaUjHDDZZnN2G5SlyHvV/uoQARAQAB
+tDJMdWlzIEd1aWxoZXJtZSBDb2VsaG8gQnVlbm8gPGxnY29lbGhvQGRpc3Jvb3Qu
+b3JnPokCVAQTAQgAPhYhBJnQOLDML3NWNNCC81qPPWLIeiszBQJk0+mnAhsDBQkJ
+ZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEFqPPWLIeisznd4QAJXdAQY9
+lQr5eHqorCqrJwB5IVxey6MVIks0k1go5DDqdFAYZJ3JPZI8UYx8irn9Bb0ywqCP
+OSqjV/gGdvUjGrnwT1ekX9jE/5SOXDaZLvacPQA6/f2GXJv0ELxCZN6slL71SKmc
+ek1emcuH8DEL7UyiiLx1xT+Jb5CXYiB+cj6LjPvDnJEFHqFvh+JJ945ff6JR9eMz
+rY0qcmltMoD9ZA8rmj1nXF8OUUa1Kxs0o+9tbrGSRcLxKgLZauTxJomav5ZrWAHZ
+2VzQysSpo2+eM35WPupmheUVW4nc3fZr5IivYy8IyHyzrU0brIrABGLvsErJQXME
+7zJmn2KJY0Dx8SVRnpaiHmrfgijR71WZXcs0oq8OMIqdAceIhUDLvlIPhsumaHRx
+bxGK9TWdER610df9uBAQN1NZF5uv5+VO23kD6d5MHD5tW2sfPdOIe+WITAe4luHc
+iWCMGbWu0/z/tYKYx483sXKpWNjrBLOFLLwQ9FDJ0zKZJeJAoyivix3wk3ymoAQ+
+F9GGXysh7c3IZPvLGWKvtmFwpCIfOsIsmeu7k9GRUcxIUhCDzfm1mIf3DGajej0Y
+Ar+8DhNEeZqY5vcfvgH1QM9lMLtDnNrpS5x+2QEG+JrNCZek81p4adp0ySuI27LS
+TmBf0paNOAuXBGkiNAkFt+BFvPmMe/UyegBLuQINBGTT6acBEACpNtFwF/LKpPp7
+ayxQHPpJRk4zOBlWdRh7440yRPaLCNvFmG9KAiUhXP5t4Sr79EncrOIel2CqKjyU
+aCpCFMZHiTGzAe33jw0jT4HjlaBqZg6S83D5KykqrGquqIkueRkRrhKIFsaTxy+k
+Y8J8q4dzCRm6XrOohAD9Qj2f3KfyQaic4Cj/QdS2vLVpFAzKHMFIJbZRAAV5bUbA
+CS+HGvLMpbU2mpPyR/LlEhdb5ASWcmy0jSXhko9uFniXW8dhQYEDMKTBrVSQVaSz
+ycvI9w34bzwawS8pu7c9GEZj7Ak082d7/vkLMO+T16o/zZ0DlU2JGIqJmFWSTYnm
+4ThRkHcXo0JZY/6oakX3Cj9GPFjmaa1RzAZlfcq240f5qxCYMbwfNLVPgR3RT8NC
+mXcfCqL50fIoSkkcBRzyBBGleVcYGK0/g8VrleSs2sSa9sng5+MyquSiKUnW7y04
+gg3NPFwJlQTt4hoBrLjPVk4r5BT0bBtJ3FkhK03+NNSCFe74tErk8ySGMQZqbE3J
+BuqHYFu8XtNHS1+Z5xcczbpIKqSQyrsjID/2AGm9J3ywNJjS1+Hjp4pw5vv6Y4qs
+cPyTVy9Ut6QdD0f1PlFatVfBfnQdhYzeKkDl74ueqS3y8QXApOoiTlLMjZK2Ptya
+ZzXvEGRYA2M8iyuP+zNTLWQ6a9gFxQARAQABiQI8BBgBCAAmFiEEmdA4sMwvc1Y0
+0ILzWo89Ysh6KzMFAmTT6acCGwwFCQlmAYAACgkQWo89Ysh6KzO7LRAAzsV3Mq17
+Y9p4iczW7ICfPEovzJm+vmk5/kPBbBzr7tpssgyS8F+IqyZOZSU9yP6o4u9tzU1P
+MHMtPpu/e1ZJ/1N6v85ZXC1QanhCGReKEYKvGmLr0SDz8ACuXmFdKjunYN1hS/YR
+jZIRggxvnfDTIq1/fUiwXEq3RHjt30nojL8lVlTlxYi9uBaWEmAmDqiPc2/ZP7TT
+CP+L+/oK5jvY/GMg0MtRf77N6GWwcQFL4nn8XOhCwvi34Omv3ytod13ev+BLm7VH
+UG9JM96hyyCqVk2N0cw5ubRwpmxDJ4E3p3i4y1pQ8PKFXHGBrXTadSC6Gt6mC+0R
+6VBMfy7MFygKpcurxI90tkgjSOKVBaNhCU919mnG8YzWostf7k8UKuJPx1gemSd9
+xFDt94CVYZwy4La9DbPnObO/uet4HteBvLZyY5HRexPzc9jJZeB1RCT5K90CGSFy
+Y7jo9J1xdMHs6dqKZHrrGR90eMfQSqOUOAPFfLq+SfuG769kWhFvUI2qaSgRycax
+8Fmy23hnbbVto4/epJuKIxAMOx26j636HZWt0yoAjtzMgk2Xv2SCZVl1Ix9phVgN
+pdcJAexhEJQ3mDaRimAzBwjjssLeGSAi+ZM7PoI5dJOIJgVbmzi3wlQbuTh/GI1x
+do9bePTKcl7Ow3GKr3qEeO8jiwlPUTz6Nis=
+=9VpF
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index d41c0bd..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,232 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-Version 3, 29 June 2007
-
-Copyright © 2007 Free Software Foundation, Inc.
-
-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.
-
-
- Copyright (C)
-
- 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 .
-
-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:
-
- Copyright (C)
- 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 .
-
-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 .
diff --git a/README.md b/README.md
deleted file mode 100644
index 1de5266..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# radix
-
-My personal guix channel.
\ No newline at end of file
diff --git a/buer.scm b/buer.scm
deleted file mode 100644
index 2b16062..0000000
--- a/buer.scm
+++ /dev/null
@@ -1,229 +0,0 @@
-#|Modules|#
-(use-modules
- #|GNU |# (gnu)
- (gnu artwork)
- (gnu services)
- #|Guix |# (guix gexp)
- #|Misc |# (ice-9 match)
- #|Radix|# (radix packages linux)
- (radix services linux)
- (radix system setuid)
- (radix secrets)
- (radix utils)
- ((radix files doas) #:prefix file:doas-)
- ((radix files thinkfan) #:prefix file:thinkfan-))
-
-(use-system-modules
- #|N|# nss)
-
-(use-service-modules
- #|A|# admin
- #|D|# desktop
- #|M|# mcron
- #|N|# networking
- #|S|# sound sysctl)
-
-(use-package-modules
- #|A|# admin
- #|B|# base
- #|C|# certs compression curl
- #|F|# file
- #|G|# gawk glib guile guile-xyz
- #|L|# less linux
- #|M|# man maths
- #|P|# pulseaudio
- #|S|# shells
- #|T|# texinfo text-editors tmux
- #|V|# vpn)
-
-#|Operating system definition|#
-(operating-system
- (host-name "buer")
- (timezone "America/Sao_Paulo")
- (locale "en_US.utf8")
-
- (keyboard-layout
- (keyboard-layout "us,br"
- #:options '("grp:menu_switch"
- "parens:swap_brackets"
- "caps:swapescape")))
-
- (bootloader
- (bootloader-configuration
- (bootloader grub-bootloader)
- (targets '("/dev/sda"))
- (theme (grub-theme
- (image (file-append %artwork-repository
- "/backgrounds/guix-silver-checkered-16-9.svg"))
- (resolution '(1280 . 720))
- (gfxmode '("1280x720x32"))))))
-
- (kernel linux-libre-6.4)
- (kernel-arguments
- (list "modprobe.blacklist=usbmouse,usbkbd"
- "thinkpad_acpi.fan_control=1"
- "loglevel=5"
- "quiet"))
-
- (file-systems
- (cons* (file-system
- (device (file-system-label "guix-root"))
- (mount-point "/")
- (type "ext4"))
- (file-system
- (device (file-system-label "HOME"))
- (mount-point "/home")
- (type "ext4"))
- %base-file-systems))
-
- (swap-devices
- (list (swap-space
- (target (file-system-label "swap")))))
-
- (users
- (cons* (user-account
- (name "radio")
- (password %radio-password)
- (shell (file-append dash "/bin/dash"))
- (group "users")
- (supplementary-groups `("audio" "input" "video" "wheel")))
- (user-account
- (name "root")
- (password %root-password)
- (uid 0)
- (group "root")
- (shell (file-append dash "/bin/dash")))
- %base-user-accounts))
-
- #|System level packages|#
- (packages
- (list #|admin |# htop inetutils isc-dhcp opendoas shadow
- #|base |# coreutils diffutils findutils grep patch sed tar which
- #|certs |# nss-certs
- #|compression |# bzip2 gzip lzip unzip xz zstd
- #|curl |# curl
- #|gawk |# gawk
- #|guile |# guile-3.0-latest guile-colorized guile-readline
- #|less |# less
- #|linux |# alsa-lib alsa-plugins alsa-utils e2fsprogs eudev fuse
- inotify-tools iproute kbd kmod lm-sensors procps psmisc
- thinkfan-next util-linux
- #|man |# man-db mandoc man-pages
- #|math |# libqalculate
- #|pulseaudio |# pulseaudio
- #|shells |# dash
- #|texinfo |# info-reader
- #|text-editors|# kakoune
- #|tmux |# tmux
- #|vpn |# wireguard-tools))
-
- #|Do not generate a sudoers file|#
- (sudoers-file #f)
-
- #|Run some programs from each package with file owner privileges|#
- (setuid-programs
- (map-setuid-programs
- (shadow '("passwd" "chfn" "sg" "su" "newgrp" "newuidmap" "newgidmap"))
- (inetutils '("ping" "ping6"))
- (opendoas '("doas"))
- (fuse '("fusermount"))
- (util-linux '("mount" "umount"))))
-
- #|Allow resolution of '.local' host names with mDNS|#
- (name-service-switch %mdns-host-lookup-nss)
-
- #|System services|#
- (services
- (list #|TTY services|#
- (service virtual-terminal-service-type)
- (service console-font-service-type
- (associate-right
- (%default-console-font '("tty1" "tty2"))))
- (service agetty-service-type
- (agetty-configuration
- (extra-options '("-L"))
- (term "vt100")
- (tty #f)))
- (service mingetty-service-type
- (mingetty-configuration (tty "tty1")))
- (service mingetty-service-type
- (mingetty-configuration (tty "tty2")))
-
- #|Login services|#
- (service login-service-type)
- (service elogind-service-type)
-
- #|Log services|#
- (service rottlog-service-type)
- (service syslog-service-type
- (syslog-configuration
- (syslogd (file-append inetutils "/libexec/syslogd"))
- (config-file %default-syslog.conf)))
- (service log-cleanup-service-type
- (log-cleanup-configuration
- (directory "/var/log/guix/drvs")
- (expiry (* 3 30 24 3600))))
-
- #|Guix services|#
- (service guix-service-type
- (guix-configuration
- (build-accounts 16)
- (extra-options '("--max-jobs=8" "--cores=4"))))
-
- #|Mcron service|#
- (simple-service 'mcron-jobs mcron-service-type
- (list #~(job "5 0 * * *"
- "guix gc --optimize -F 5G")))
-
- #|Device management services|#
- (service udev-service-type
- (udev-configuration
- (udev eudev)
- (rules (list lvm2 fuse alsa-utils crda))))
-
- #|Sound services|#
- (service alsa-service-type)
-
- #|Network services|#
- (service static-networking-service-type
- (list (static-networking
- (addresses
- (list (network-address
- (device "lo")
- (value "127.0.0.1/8"))))
- (provision '(loopback)))))
- (service wpa-supplicant-service-type
- (wpa-supplicant-configuration
- (config-file "/etc/wpa_supplicant.conf")
- (interface "wlp2s0")
- (extra-options '("-B"))))
- (service dhcp-client-service-type
- (dhcp-client-configuration
- (interfaces 'all)))
-
- #|Thinkfan services|#
- (simple-service 'thinkfan-config etc-service-type
- `(("modprobe.d/thinkfan.conf" ,file:thinkfan-modprobe-config)
- ("thinkfan.conf" ,file:thinkfan-config)))
- (service thinkfan-service-type
- (thinkfan-configuration
- (config-file file:thinkfan-config)
- (respawn? #f)))
-
- #|Doas config service|#
- (simple-service 'doas-config etc-service-type
- `(("doas.conf" ,file:doas-config)))
-
- #|Special file services|#
- (service special-files-service-type
- `(("/bin/sh" ,(file-append dash "/bin/dash"))
- ("/usr/bin/env" ,(file-append coreutils "/bin/env"))))
-
- #|Miscellaneous services|#
- (service urandom-seed-service-type)
- (service nscd-service-type)
- (service sysctl-service-type
- (sysctl-configuration
- (sysctl (file-append procps "/sbin/sysctl"))
- (settings '(("fs.protected_hardlinks" . "1")
- ("fs.protected_symlinks" . "1"))))))))
diff --git a/files/awesome/rc.lua b/files/awesome/rc.lua
deleted file mode 100644
index 7e787c2..0000000
--- a/files/awesome/rc.lua
+++ /dev/null
@@ -1,1034 +0,0 @@
--- awesome_mode: api-level=4:screen=on
--- If LuaRocks is installed, make sure that packages installed through it are
--- found (e.g. lgi). If LuaRocks is not installed, do nothing.
-pcall(require, "luarocks.loader")
-
--- @DOC_REQUIRE_SECTION@
--- Standard awesome library
-local gears = require("gears")
-local awful = require("awful")
- require("awful.autofocus")
- require("collision")()
-
--- Widget and layout library
-local wibox = require("wibox")
-
--- Theme handling library
-local beautiful = require("beautiful")
-
--- Notification library
-local naughty = require("naughty")
-
--- Declarative object management
-local ruled = require("ruled")
-local menubar = require("menubar")
-local hotkeys_popup = require("awful.hotkeys_popup")
-
--- Freedesktop
-local freedesktop = require("freedesktop")
-
--- Lain utils
-local lain = require("lain")
-
--- DPI
-local dpi = require("beautiful.xresources").apply_dpi
-
--- Table
-local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
-
--- Enable hotkeys help widget for VIM and other apps
--- when client with a matching name is opened:
--- require("awful.hotkeys_popup.keys")
-
--- {{{ Error handling
--- Check if awesome encountered an error during startup and fell back to
--- another config (This code will only ever execute for the fallback config)
--- @DOC_ERROR_HANDLING@
-naughty.connect_signal("request::display_error", function(message, startup)
- naughty.notification {
- urgency = "critical",
- title = "Oops, an error happened"..(startup and " during startup!" or "!"),
- message = message
- }
-end)
--- }}}
-
--- {{{ Variable definitions
--- @DOC_LOAD_THEME@
--- Themes define colours, icons, font and wallpapers.
-beautiful.init(gears.filesystem.get_dir("config").."/themes/current-theme.lua")
-local theme = beautiful.get()
-
--- @DOC_DEFAULT_APPLICATIONS@
--- This is used later as the default terminal and editor to run.
-terminal = "xst"
-editor = "kak"
-browser = "icecat"
-editor_cmd = terminal.." -e "..editor
-file_manager = terminal.." -g 137x31-320+16 -c Lf -e "..gears.filesystem.get_dir("config").."/../lf/lfrun"
-irc_client = terminal.." -g 137x31-320+16 -c Weechat -e weechat"
-rss_reader = terminal.." -g 137x31-320+16 -e newsraft"
-music_player = terminal.." -g 137x31-320+16 -e ncmpcpp"
-link_handler = "dmenu_link"
-
--- Default modkey.
--- Usually, Mod4 is the key with a logo between Control and Alt.
--- If you do not like this or do not have such a key,
--- I suggest you to remap Mod4 to another key using xmodmap or other tools.
--- However, you can use another modifier like Mod1, but it may interact with others.
-modkey = "Mod4"
-altkey = "Mod1"
--- }}}
-
--- {{{ Menu
--- @DOC_MENU@
--- Create a launcher widget and a main menu
-myawesomemenu = {
- { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
- { "manual", terminal .. " -e man awesome" },
- { "edit config", editor_cmd .. " " .. awesome.conffile },
- { "restart", awesome.restart },
- { "quit", function() awesome.quit() end },
-}
-
-mymainmenu = freedesktop.menu.build {
- before = {
- { "awesome", myawesomemenu },
- -- other triads can be put here
- },
- after = {
- { "open terminal", terminal },
- -- other triads can be put here
- }
-}
-
-mylauncher = awful.widget.launcher({
- image = beautiful.awesome_icon,
- menu = mymainmenu
-})
-
--- Menubar configuration
-menubar.utils.terminal = terminal
--- }}}
-
--- {{{ Tag layout
--- @DOC_LAYOUT@
--- Table of layouts to cover with awful.layout.inc, order matters.
-tag.connect_signal("request::default_layouts",
- function()
- awful.layout.append_default_layouts({
- --awful.layout.suit.floating,
- awful.layout.suit.tile,
- --awful.layout.suit.tile.left,
- awful.layout.suit.tile.bottom,
- --awful.layout.suit.tile.top,
- awful.layout.suit.max,
- --awful.layout.suit.fair,
- --awful.layout.suit.fair.horizontal,
- --awful.layout.suit.spiral,
- --awful.layout.suit.spiral.dwindle,
- --awful.layout.suit.max.fullscreen,
- --awful.layout.suit.magnifier,
- --awful.layout.suit.corner.nw,
- })
- end)
--- }}}
-
--- {{{ Wallpaper
--- @DOC_WALLPAPER@
-screen.connect_signal("request::wallpaper",
- function(s)
- awful.wallpaper {
- screen = s,
- widget = {
- {
- image = beautiful.wallpaper,
- upscale = true,
- downscale = true,
- widget = wibox.widget.imagebox,
- },
- valign = "center",
- halign = "center",
- tiled = false,
- widget = wibox.container.tile,
- }
- }
- end)
--- }}}
-
--- {{{ Wibar
-local markup = lain.util.markup
-local separators = lain.util.separators
-
--- Keyboard map indicator and switcher
-mykeyboardlayout = awful.widget.keyboardlayout()
-
--- Create a textclock widget
-mytextclock = wibox.widget.textclock()
-
-local clock = awful.widget.watch(
- "date +'%a %d %b %R'", 60,
- function(widget, stdout)
- widget:set_markup(" " .. markup.font(beautiful.font, stdout))
- end
-)
-
--- Calendar
-beautiful.cal = lain.widget.cal({
- icons = "",
- attach_to = { clock },
- notification_preset = {
- font = beautiful.font,
- fg = beautiful.fg_normal,
- bg = beautiful.bg_normal
- }
-})
-
--- MPD
-local musicplr = terminal .. " -title Music -g 137x31-320+16 -e ncmpcpp"
-local mpdicon = wibox.widget.imagebox(beautiful.widget_music)
-mpdicon:buttons(my_table.join(
- awful.button({ modkey }, 1, function () awful.spawn.with_shell(musicplr) end),
- awful.button({ }, 1, function ()
- os.execute("mpc prev")
- beautiful.mpd.update()
- end),
- awful.button({ }, 2, function ()
- os.execute("mpc toggle")
- beautiful.mpd.update()
- end),
- awful.button({ }, 3, function ()
- os.execute("mpc next")
- beautiful.mpd.update()
- end)))
-beautiful.mpd = lain.widget.mpd({
- settings = function()
- if mpd_now.state == "play" then
- artist = mpd_now.artist .. " "
- title = mpd_now.title .. " "
- mpdicon:set_image(beautiful.widget_music_on)
- elseif mpd_now.state == "pause" then
- artist = "mpd "
- title = "paused "
- else
- artist = ""
- title = ""
- mpdicon:set_image(beautiful.widget_music)
- end
-
- widget:set_markup(markup.font(beautiful.font, markup("#8581E0", artist) .. title))
- end
-})
-
--- Mail IMAP check
---[[
-local mailicon = wibox.widget.imagebox(beautiful.widget_mail)
-mailicon:buttons(my_table.join(awful.button({ }, 1, function () awful.spawn(mail) end)))
-beautiful.mail = lain.widget.imap({
- timeout = 180,
- server = "server",
- mail = "luisguilhermecoelho@usp.br",
- password = "",
- settings = function()
- if mailcount > 0 then
- widget:set_markup(markup.font(beautiful.font, " " .. mailcount .. " "))
- mailicon:set_image(beautiful.widget_mail_on)
- else
- widget:set_text("")
- mailicon:set_image(beautiful.widget_mail)
- end
- end
-})
---]]
-
--- MEM
-local memicon = wibox.widget.imagebox(beautiful.widget_mem)
-local mem = lain.widget.mem({
- settings = function()
- widget:set_markup(markup.font(beautiful.font, mem_now.used .. "MB "))
- end
-})
-
--- CPU
-local cpuicon = wibox.widget.imagebox(beautiful.widget_cpu)
-local cpu = lain.widget.cpu({
- settings = function()
- widget:set_markup(markup.font(beautiful.font, cpu_now.usage .. "% "))
- end
-})
-
--- Coretemp
-local tempicon = wibox.widget.imagebox(beautiful.widget_temp)
-local temp = lain.widget.temp({
- settings = function()
- widget:set_markup(markup.font(beautiful.font, math.ceil(coretemp_now) .. "°C "))
- end
-})
-
--- Battery
-local baticon = wibox.widget.imagebox(beautiful.widget_battery)
-local bat = lain.widget.bat({
- settings = function()
- if bat_now.status and bat_now.status ~= "N/A" then
- if bat_now.ac_status == 1 then
- baticon:set_image(beautiful.widget_ac)
- elseif bat_now.perc and tonumber(bat_now.perc) < 25 then
- baticon:set_image(beautiful.widget_battery_20)
- elseif bat_now.perc and tonumber(bat_now.perc) < 45 then
- baticon:set_image(beautiful.widget_battery_40)
- elseif bat_now.perc and tonumber(bat_now.perc) < 65 then
- baticon:set_image(beautiful.widget_battery_60)
- elseif bat_now.perc and tonumber(bat_now.perc) < 85 then
- baticon:set_image(beautiful.widget_battery_80)
- else
- baticon:set_image(beautiful.widget_battery_100)
- end
- widget:set_markup(markup.font(beautiful.font, bat_now.perc .. "% "))
- else
- widget:set_markup(markup.font(beautiful.font, "AC "))
- baticon:set_image(beautiful.widget_ac)
- end
- end
-})
-
--- ALSA volume
-local volicon = wibox.widget.imagebox(beautiful.widget_vol)
-beautiful.volume = lain.widget.alsa({
- settings = function()
- if volume_now.status == "off" then
- volicon:set_image(beautiful.widget_vol_mute)
- elseif volume_now.level then
- if tonumber(volume_now.level) == 0 then
- volicon:set_image(beautiful.widget_vol_no)
- elseif tonumber(volume_now.level) <= 50 then
- volicon:set_image(beautiful.widget_vol_low)
- else
- volicon:set_image(beautiful.widget_vol)
- end
- end
-
- widget:set_markup(markup.font(beautiful.font, volume_now.level .. "% "))
- end
-})
-beautiful.volume.widget:buttons(awful.util.table.join(
- awful.button({}, 4, function ()
- awful.util.spawn("amixer set Master 1%+")
- beautiful.volume.update()
- end),
- awful.button({}, 5, function ()
- awful.util.spawn("amixer set Master 1%-")
- beautiful.volume.update()
- end)
-))
-
--- Net
-local netdownicon = wibox.widget.imagebox(beautiful.widget_netdown)
-local netdowninfo = wibox.widget.textbox()
-local netupicon = wibox.widget.imagebox(beautiful.widget_netup)
-local netupinfo = lain.widget.net({
- settings = function()
- widget:set_markup(markup.font(beautiful.font, net_now.sent .. " "))
- netdowninfo:set_markup(markup.font(beautiful.font, net_now.received .. " "))
- end
-})
-
--- Separators
-local spr = wibox.widget.textbox(' ')
-local arrl_dl = separators.arrow_left(beautiful.bg_focus, "alpha")
-local arrl_ld = separators.arrow_left("alpha", beautiful.bg_focus)
-
--- @DOC_FOR_EACH_SCREEN@
-screen.connect_signal("request::desktop_decoration", function(s)
- -- Each screen has its own tag table.
- awful.tag({ "α", "β", "γ", "δ", "ε", "ζ", "η" }, s, awful.layout.layouts[1])
-
- -- Create a promptbox for each screen
- s.mypromptbox = awful.widget.prompt()
-
- -- Create an imagebox widget which will contain an icon indicating which layout we're using.
- -- We need one layoutbox per screen.
- s.mylayoutbox = awful.widget.layoutbox {
- screen = s,
- buttons = {
- awful.button({ }, 1, function () awful.layout.inc( 1) end),
- awful.button({ }, 3, function () awful.layout.inc(-1) end),
- awful.button({ }, 4, function () awful.layout.inc(-1) end),
- awful.button({ }, 5, function () awful.layout.inc( 1) end),
- }
- }
-
- -- Create a taglist widget
- s.mytaglist = awful.widget.taglist {
- screen = s,
- filter = awful.widget.taglist.filter.all,
- buttons = {
- awful.button({ }, 1, function(t) t:view_only() end),
- awful.button({ modkey }, 1, function(t)
- if client.focus then
- client.focus:move_to_tag(t)
- end
- end),
- awful.button({ }, 3, awful.tag.viewtoggle),
- awful.button({ modkey }, 3, function(t)
- if client.focus then
- client.focus:toggle_tag(t)
- end
- end),
- -- Changing workspaces with scroll is so irritating
- -- awful.button({ }, 4, function(t) awful.tag.viewprev(t.screen) end),
- -- awful.button({ }, 5, function(t) awful.tag.viewnext(t.screen) end),
- }
- }
-
- -- @TASKLIST_BUTTON@
- -- Create a tasklist widget
- s.mytasklist = awful.widget.tasklist {
- screen = s,
- filter = awful.widget.tasklist.filter.currenttags,
- buttons = {
- awful.button({ }, 1, function (c)
- c:activate { context = "tasklist", action = "toggle_minimization" }
- end),
- awful.button({ }, 3, function() awful.menu.client_list { theme = { width = 250 } } end),
- awful.button({ }, 4, function() awful.client.focus.byidx(-1) end),
- awful.button({ }, 5, function() awful.client.focus.byidx( 1) end),
- }
- }
-
- -- @DOC_WIBAR@
- -- Create the wibox
- s.mywibox = awful.wibar {
- height = dpi(19),
- position = "top",
- screen = s,
- -- @DOC_SETUP_WIDGETS@
- widget = {
- layout = wibox.layout.align.horizontal,
- { -- Left widgets
- layout = wibox.layout.fixed.horizontal,
- --mylauncher,
- s.mytaglist,
- s.mypromptbox,
- },
- -- Middle widget
- s.mytasklist,
- { -- Right widgets
- layout = wibox.layout.fixed.horizontal,
- --mykeyboardlayout,
- --wibox.widget.systray(),
- spr,
- arrl_ld,
- wibox.container.background(netdownicon, beautiful.bg_focus),
- wibox.container.background(netdowninfo, beautiful.bg_focus),
- wibox.container.background(netupicon, beautiful.bg_focus),
- wibox.container.background(netupinfo.widget, beautiful.bg_focus),
- arrl_dl,
- wibox.container.background(memicon, beautiful.bg_normal),
- wibox.container.background(mem.widget, beautiful.bg_normal),
- arrl_ld,
- wibox.container.background(cpuicon, beautiful.bg_focus),
- wibox.container.background(cpu.widget, beautiful.bg_focus),
- arrl_dl,
- wibox.container.background(tempicon, beautiful.bg_normal),
- wibox.container.background(temp.widget, beautiful.bg_normal),
- arrl_ld,
- wibox.container.background(volicon, beautiful.bg_focus),
- wibox.container.background(beautiful.volume.widget, beautiful.bg_focus),
- arrl_dl,
- wibox.container.background(baticon, beautiful.bg_normal),
- wibox.container.background(bat.widget, beautiful.bg_normal),
- arrl_ld,
- wibox.container.background(clock, beautiful.bg_focus),
- wibox.container.background(spr, beautiful.bg_focus),
- arrl_dl,
- wibox.container.background(s.mylayoutbox, beautiful.bg_normal),
- },
- }
- }
---[[
- s.mybottomwibox = awful.wibar {
- height = dpi(19),
- position = "bottom",
- screen = s,
- -- @DOC_SETUP_WIDGETS@
- widget = {
- layout = wibox.layout.align.horizontal,
- { -- Left widgets
- layout = wibox.layout.fixed.horizontal,
- --s.mypromptbox,
- spr,--mylauncher,
- --s.mytaglist,
- --s.mypromptbox,
- },
- -- Middle widget
- --s.mytasklist,
- spr,
- { -- Right widgets
- layout = wibox.layout.fixed.horizontal,
- --mykeyboardlayout,
- --wibox.widget.systray(),
- spr,
- arrl_ld,
- wibox.container.background(mpdicon, theme.bg_focus),
- wibox.container.background(beautiful.mpd.widget, theme.bg_focus),
- --arrl_dl,
- --wibox.container.background(mailicon, theme.bg_normal),
- --wibox.container.background(beautiful.mail.widget, theme.bg_normal),
- },
- }
- }
---]]
-end)
-
--- }}}
-
--- {{{ Mouse bindings
--- @DOC_ROOT_BUTTONS@
-awful.mouse.append_global_mousebindings({
- awful.button({ }, 2, function () mymainmenu:toggle() end),
- --awful.button({ }, 4, awful.tag.viewprev),
- --awful.button({ }, 5, awful.tag.viewnext),
-})
--- }}}
-
--- {{{ Key bindings
--- @DOC_GLOBAL_KEYBINDINGS@
-
--- General Awesome keys
-awful.keyboard.append_global_keybindings({
- awful.key({ modkey, }, "s",
- function () hotkeys_popup.widget.new(
- { width = 909,
- height = 0.525*awful.screen.focused().workarea.height,
- font = "Meslo LG M DZ 8",
- description_font = "Meslo LG M DZ 8"}):show_help() end,
- {description="show help", group="awesome"}),
---[[awful.key({ modkey, }, "w", function ()
- mymainmenu:show() end,
- {description = "show main menu", group = "awesome"}), ]]
- awful.key({ modkey, "Control" }, "r", awesome.restart,
- {description = "reload awesome", group = "awesome"}),
- awful.key({ modkey, "Control" }, "q", awesome.quit,
- {description = "quit awesome", group = "awesome"}),
- awful.key({ altkey, }, "Print", function ()
- os.execute("screenshot activewindow") end,
- {description = "print focused window", group = "launcher"}),
- awful.key({ }, "Print", function ()
- os.execute("screenshot selectregion") end,
- {description = "print selected region", group = "launcher"}),
- awful.key({ }, "XF86WebCam", function ()
- os.execute("cam") end,
- {description = "run cam", group = "launcher"}),
- awful.key({ modkey, }, "c", function ()
- awful.spawn("keepassxc") end,
- {description = "run keepassxc", group = "launcher"}),
- awful.key({ modkey, }, "a", function ()
- awful.spawn("telegram-desktop") end,
- {description = "run telegram-desktop", group = "launcher"}),
- awful.key({ modkey, }, "r", function ()
- awful.spawn.with_shell("notify-send $(rem)") end,
- {description = "run telegram-desktop", group = "launcher"}),
- awful.key({ modkey, }, "w", function ()
- awful.spawn.raise_or_spawn(irc_client) end,
- {description = "run irc client", group = "launcher"}),
- awful.key({ modkey, }, "e", function ()
- awful.spawn(editor_cmd) end,
- {description = "run editor", group = "launcher"}),
- awful.key({ modkey, }, "Down", function ()
- awful.spawn(music_player) end,
- {description = "run music player", group = "launcher"}),
- awful.key({ modkey, }, "b", function ()
- awful.spawn(browser) end,
- {description = "run browser", group = "launcher"}),
- awful.key({ modkey, }, "d", function ()
- awful.spawn(file_manager) end,
- {description = "run file manager", group = "launcher"}),
- awful.key({ }, "XF86Launch1", function ()
- awful.spawn.raise_or_spawn(rss_reader) end,
- {description = "run newsraft", group = "launcher"}),
- awful.key({"Mod4" }, "x", function ()
- os.execute("xkill") end,
- {description = "launch xkill", group = "launcher"}),
- awful.key({"Mod4" }, "z", function ()
- os.execute("anna") end,
- {description = "loot some ships", group = "launcher"}),
- awful.key({"Mod4" }, "g", function ()
- awful.spawn(terminal.." -e lf /home/radio/projects/guile/radix") end,
- {description = "run link handler", group = "launcher"}),
- awful.key({ modkey, }, "Return", function ()
- awful.spawn(terminal) end,
- {description = "run terminal", group = "launcher",}),
- awful.key({ modkey, }, ":", function ()
- awful.screen.focused().mypromptbox:run() end,
- {description = "run prompt", group = "launcher"}),
---[[
- awful.key({ modkey }, "p", function()
- menubar.show() end,
- {description = "show the menubar", group = "launcher"}),
- awful.key({ modkey }, "x",
- function ()
- awful.prompt.run {
- prompt = "Run Lua code: ",
- textbox = awful.screen.focused().mypromptbox.widget,
- exe_callback = awful.util.eval,
- history_path = awful.util.get_cache_dir() .. "/history_eval"
- }
- end,
- {description = "lua execute prompt", group = "awesome"}),
---]]
-})
-
--- Tags related keybindings
-awful.keyboard.append_global_keybindings({
- awful.key({ modkey, }, "h", awful.tag.viewprev,
- {description = "focus previous tag", group = "tag"}),
- awful.key({ modkey, }, "l", awful.tag.viewnext,
- {description = "focus next tag", group = "tag"}),
- awful.key({ modkey, }, "Escape", awful.tag.history.restore,
- {description = "go back", group = "tag"}),
-})
-
--- Focus related keybindings
-awful.keyboard.append_global_keybindings({
- awful.key({ modkey, }, "j", function ()
- awful.client.focus.byidx( 1) end,
- {description = "focus previous by index", group = "client"}
- ),
- awful.key({ modkey, }, "k", function ()
- awful.client.focus.byidx(-1) end,
- {description = "focus next by index", group = "client"}
- ),
- awful.key({ modkey, }, "Tab", function ()
- awful.client.focus.history.previous()
- if client.focus then
- client.focus:raise()
- end
- end,
- {description = "go back", group = "client"}),
- awful.key({ modkey, "Control" }, "h", function ()
- awful.screen.focus_relative( 1) end,
- {description = "focus the next screen", group = "screen"}),
- awful.key({ modkey, "Control" }, "l", function ()
- awful.screen.focus_relative(-1) end,
- {description = "focus the previous screen", group = "screen"}),
- awful.key({ modkey, "Control" }, ".", function ()
- local c = awful.client.restore()
- -- Focus restored client
- if c then
- c:activate { raise = true, context = "key.unminimize" }
- end
- end,
- {description = "restore minimized", group = "client"}),
-})
-
--- Layout related keybindings
-awful.keyboard.append_global_keybindings({
- --awful.key({ modkey, "Shift" }, "j", function ()
- -- awful.client.swap.byidx( 1) end,
- -- {description = "swap with next client by index", group = "client"}),
- --awful.key({ modkey, "Shift" }, "k", function ()
- -- awful.client.swap.byidx( -1) end,
- -- {description = "swap with previous client by index", group = "client"}),
- --awful.key({ modkey, }, "l", function ()
- -- awful.tag.incmwfact( 0.05) end,
- -- {description = "increase master width factor", group = "layout"}),
- --awful.key({ modkey, }, "h", function ()
- -- awful.tag.incmwfact(-0.05) end,
- -- {description = "decrease master width factor", group = "layout"}),
- awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
- {description = "jump to urgent client", group = "client"}),
- awful.key({ modkey, "Control" }, "h", function ()
- awful.tag.incnmaster( 1, nil, true) end,
- {description = "increase the number of master clients", group = "layout"}),
- awful.key({ modkey, "Control" }, "l", function ()
- awful.tag.incnmaster(-1, nil, true) end,
- {description = "decrease the number of master clients", group = "layout"}),
- --awful.key({ modkey, "Control" }, "h", function ()
- -- awful.tag.incncol( 1, nil, true) end,
- -- {description = "increase the number of columns", group = "layout"}),
- --awful.key({ modkey, "Control" }, "l", function ()
- -- awful.tag.incncol(-1, nil, true) end,
- -- {description = "decrease the number of columns", group = "layout"}),
- awful.key({ modkey, }, "space", function ()
- awful.layout.inc( 1) end,
- {description = "select next", group = "layout"}),
- awful.key({ modkey, "Control" }, "space", function ()
- awful.layout.inc(-1) end,
- {description = "select previous", group = "layout"}),
-})
-
--- @DOC_NUMBER_KEYBINDINGS@
-
-awful.keyboard.append_global_keybindings({
- awful.key {
- modifiers = { modkey },
- keygroup = "numrow",
- description = "only view tag",
- group = "tag",
- on_press = function (index)
- local screen = awful.screen.focused()
- local tag = screen.tags[index]
- if tag then
- tag:view_only()
- end
- end,
- },
- awful.key {
- modifiers = { modkey, "Control" },
- keygroup = "numrow",
- description = "toggle tag",
- group = "tag",
- on_press = function (index)
- local screen = awful.screen.focused()
- local tag = screen.tags[index]
- if tag then
- awful.tag.viewtoggle(tag)
- end
- end,
- },
- awful.key {
- modifiers = { modkey, "Shift" },
- keygroup = "numrow",
- description = "move focused client to tag",
- group = "tag",
- on_press = function (index)
- if client.focus then
- local tag = client.focus.screen.tags[index]
- if tag then
- client.focus:move_to_tag(tag)
- end
- end
- end,
- },
- awful.key {
- modifiers = { modkey, "Control", "Shift" },
- keygroup = "numrow",
- description = "toggle focused client on tag",
- group = "tag",
- on_press = function (index)
- if client.focus then
- local tag = client.focus.screen.tags[index]
- if tag then
- client.focus:toggle_tag(tag)
- end
- end
- end,
- },
-})
-
--- Audio related keybindings
-awful.keyboard.append_global_keybindings({
- awful.key({ }, "XF86AudioRaiseVolume", function ()
- awful.util.spawn("amixer -q set Master 1%+", false) end,
- {description = "volume up", group = "hotkeys"}),
- awful.key({ }, "XF86AudioLowerVolume", function ()
- awful.util.spawn("amixer -q set Master 1%-", false) end,
- {description = "volume down", group = "hotkeys"}),
- awful.key({ }, "XF86AudioMute", function ()
- awful.util.spawn("amixer -D set Master 1+ toggle", false) end,
- {description = "toggle mute", group = "hotkeys"}),
-})
-
--- MPD related keybinds
-awful.keyboard.append_global_keybindings({
- awful.key({ }, "XF86AudioPlay", function ()
- os.execute("mpc toggle")
- -- beautiful.mpd.update() -- MPD widget must be set
- end,
- {description = "mpc toggle", group = "widgets"}),
- awful.key({ }, "XF86AudioStop", function ()
- os.execute("mpc stop")
- -- beautiful.mpd.update() -- MPD widget must be set
- end,
- {description = "mpc stop", group = "widgets"}),
- awful.key({ }, "XF86AudioPrev", function ()
- os.execute("mpc prev")
- -- beautiful.mpd.update() -- MPD widget must be set
- end,
- {description = "mpc prev", group = "widgets"}),
- awful.key({ }, "XF86AudioNext", function ()
- os.execute("mpc next")
- -- beautiful.mpd.update() -- MPD widget must be set
- end,
- {description = "mpc next", group = "widgets"}),
--- awful.key({ altkey }, "0", function ()
--- local common = { text = "MPD widget ", position = "top_middle", timeout = 2 }
--- if beautiful.mpd.timer.started then
--- beautiful.mpd.timer:stop()
--- common.text = common.text .. lain.util.markup.bold("OFF")
--- else
--- beautiful.mpd.timer:start()
--- common.text = common.text .. lain.util.markup.bold("ON")
--- end
--- naughty.notify(common)
--- end,
--- {description = "ncmpcpp on/off", group = "widgets"}),
-})
-
--- Generic hotkeys
-awful.keyboard.append_global_keybindings({
- awful.key({ "Control", }, "space", function()
- naughty.destroy_all_notifications() end,
- {description = "destroy notifications", group = "hotkeys"}),
- awful.key({ }, "XF86Sleep", function ()
- os.execute("doas zzz") end,
- {description = "Sleep", group = "hotkeys"}),
- awful.key({ }, "XF86Battery", function ()
- os.execute("i3lock -u -i /home/radio/Pictures/guix-artwork/backgrounds/guix-silver-checkered-16-9.svg") end,
- {description = "lock screen", group = "hotkeys"}),
-})
-
--- Show/hide wibox
-awful.keyboard.append_global_keybindings({
- awful.key({ modkey }, "Up", function ()
- for s in screen do
- s.mywibox.visible = not s.mywibox.visible
- end
- end,
- {description = "toggle wibox", group = "awesome"}),
---[[ awful.key({ modkey }, "Down", function ()
- for s in screen do
- s.mybottomwibox.visible = not s.mybottomwibox.visible
- end
- end,
- {description = "toggle bottom wibox", group = "awesome"}),
---]]
-})
-
--- @DOC_CLIENT_BUTTONS@
-client.connect_signal("request::default_mousebindings", function()
- awful.mouse.append_client_mousebindings({
- awful.button({ }, 1, function (c)
- c:activate { context = "mouse_click" } end),
- awful.button({ modkey, }, 1, function (c)
- c:activate { context = "mouse_click", action = "mouse_move" } end),
- awful.button({ modkey, }, 3, function (c)
- c:activate { context = "mouse_click", action = "mouse_resize"} end),
- })
-end)
-
--- @DOC_CLIENT_KEYBINDINGS@
-client.connect_signal("request::default_keybindings", function()
- awful.keyboard.append_client_keybindings({
- awful.key({ modkey, }, "f", function (c)
- c.fullscreen = not c.fullscreen
- c:raise()
- end,
- {description = "toggle fullscreen", group = "client"}),
- awful.key({ modkey, }, "q", function (c)
- c:kill() end,
- {description = "close", group = "client"}),
- awful.key({ modkey, "Shift" }, "Return", function (c)
- c:swap(awful.client.getmaster()) end,
- {description = "move to master", group = "client"}),
- awful.key({ modkey, }, "o", function (c)
- c:move_to_screen() end,
- {description = "move to screen", group = "client"}),
- awful.key({ modkey, }, "t", function (c)
- c.ontop = not c.ontop end,
- {description = "toggle keep on top", group = "client"}),
- awful.key({ modkey, }, ".", function (c)
- c.minimized = true end ,
- {description = "minimize", group = "client"}),
- awful.key({ modkey, }, "m", lain.util.magnify_client,
- {description = "toggle magnify", group = "client"})})
-end)
-
--- }}}
-
--- {{{ Rules
--- Rules to apply to new clients.
--- @DOC_RULES@
-ruled.client.connect_signal("request::rules", function()
- -- @DOC_GLOBAL_RULE@
- -- All clients will match this rule.
- ruled.client.append_rule {
- id = "global",
- rule = { },
- properties = {
- focus = awful.client.focus.filter,
- raise = true,
- screen = awful.screen.preferred,
- placement = awful.placement.no_overlap+awful.placement.no_offscreen
- }
- }
-
- -- @DOC_FLOATING_RULE@
- -- Floating clients.
- ruled.client.append_rule {
- id = "floating",
- rule_any = {
- instance = {
- "copyq",
- "pinentry"
- },
- class = {
- "Arandr",
- "TelegramDesktop",
- "KeePassXC",
- "Gpick",
- "Keepassxc",
- "Tor Browser",
- "Weechat",
- "Wpa_gui",
- "veromix",
- "xtightvncviewer"
- },
- -- Note that the name property shown in xprop might be set slightly after creation of the client
- -- and the name shown there might not match defined rules here.
- name = {
- "Event Tester", -- xev.
- },
- role = {
- "AlarmWindow", -- Thunderbird's calendar.
- "ConfigManager", -- Thunderbird's about:config.
- "pop-up", -- e.g. Browser's (detached) Developer Tools.
- }
- },
- properties = { floating = true }
- }
-
- -- Please st, respect my size hints :(
- ruled.client.append_rule {
- id = "respeitador de size hints",
- rule_any = {
- class = {"Emacs", "St"},
- },
- properties = { size_hints_honor = false }
- }
-
- -- @DOC_ONTOP_RULE@
- -- Ontop clients.
- ruled.client.append_rule {
- id = "ontop",
- rule_any = {
- name = { "Media viewer" },
- class = { "mpv" },
- },
- properties = { ontop = true },
- }
-
- -- Establish a default size and position for telegram
- ruled.client.append_rule {
- id = "TelegramDesktop",
- rule_any = {
- class = { "TelegramDesktop" },
- },
- except_any = {
- name = { "Choose Files", "Media viewer" }
- },
- properties = {
- above = true,
- placement = awful.placement.centered,
- width = 380,
- height = awful.screen.focused().workarea.height - 4 * beautiful.useless_gap - 2
- }
- }
-
- -- @DOC_DIALOG_RULE@
- -- Add titlebars to normal clients and dialogs
- ruled.client.append_rule {
- -- @DOC_CSD_TITLEBARS@
- id = "titlebars",
- rule_any = { type = { "normal", "dialog" } },
- properties = { titlebars_enabled = false }
- }
-
- -- Set Firefox to always map on the tag named "2" on screen 1.
- -- ruled.client.append_rule {
- -- rule = { class = "Firefox" },
- -- properties = { screen = 1, tag = "2" }
- -- }
-end)
--- }}}
-
--- {{{ Titlebars
--- @DOC_TITLEBARS@
--- Add a titlebar if titlebars_enabled is set to true in the rules.
-client.connect_signal("request::titlebars", function(c)
- -- buttons for the titlebar
- local buttons = {
- awful.button({ }, 1, function()
- c:activate { context = "titlebar", action = "mouse_move" }
- end),
- awful.button({ }, 3, function()
- c:activate { context = "titlebar", action = "mouse_resize"}
- end),
- }
-
- awful.titlebar(c).widget = {
- { -- Left
- awful.titlebar.widget.iconwidget(c),
- buttons = buttons,
- layout = wibox.layout.fixed.horizontal
- },
- { -- Middle
- { -- Title
- halign = "center",
- widget = awful.titlebar.widget.titlewidget(c)
- },
- buttons = buttons,
- layout = wibox.layout.flex.horizontal
- },
- { -- Right
- awful.titlebar.widget.floatingbutton (c),
- awful.titlebar.widget.maximizedbutton(c),
- awful.titlebar.widget.stickybutton (c),
- awful.titlebar.widget.ontopbutton (c),
- awful.titlebar.widget.closebutton (c),
- layout = wibox.layout.fixed.horizontal()
- },
- layout = wibox.layout.align.horizontal
- }
-end)
--- }}}
-
---{{{ Autorun programs
-autorun = true
-autorunApps = {
- "xrdb /home/radio/.Xresources",
- "keepassxc",
- "/home/radio/.profile",
- "xmodmap .xmodmap",
- "mpd --no-config",
- "xset r rate 160 35",
- "xset b off",
- "setxkbmap -layout 'us,br' -option 'grp:menu_switch,parens:swap_brackets,caps:swapescape'",
- "xbanish",
- -- "/home/radio/.config/tox/toxic-scripts/auto-open.sh",
- "xset r rate 200 30",
- "pkill oneko",
- "oneko -tofocus -bg '#606060' -fg '#101010' -speed 22",
- "adjust-trackpoint",
- }
-if autorun then
- for app = 1, #autorunApps do
- awful.util.spawn(autorunApps[app])
- end
-end
----}}}
-
-
--- {{{ Notifications
-
-ruled.notification.connect_signal('request::rules', function()
- -- All notifications will match this rule.
- ruled.notification.append_rule {
- rule = { },
- properties = {
- screen = awful.screen.preferred,
- implicit_timeout = 5,
- }
- }
-end)
-
-naughty.connect_signal("request::display", function(n)
- naughty.layout.box { notification = n }
-end)
-
--- }}}
-
--- Enable sloppy focus, so that focus follows mouse.
-client.connect_signal("mouse::enter", function(c)
- c:activate { context = "mouse_enter", raise = false }
-end)
diff --git a/files/awesome/themes/anemofilia-old/icons/ac.png b/files/awesome/themes/anemofilia-old/icons/ac.png
deleted file mode 100755
index 92c74fd..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/ac.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/ac.png~ b/files/awesome/themes/anemofilia-old/icons/ac.png~
deleted file mode 100755
index 1298817..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/ac.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_100.png b/files/awesome/themes/anemofilia-old/icons/battery_100.png
deleted file mode 100644
index 428b4ed..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_100.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_20.png b/files/awesome/themes/anemofilia-old/icons/battery_20.png
deleted file mode 100644
index 8e4305f..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_20.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_40.png b/files/awesome/themes/anemofilia-old/icons/battery_40.png
deleted file mode 100644
index ad6fc38..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_40.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_60.png b/files/awesome/themes/anemofilia-old/icons/battery_60.png
deleted file mode 100644
index f7c6d78..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_60.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_80.png b/files/awesome/themes/anemofilia-old/icons/battery_80.png
deleted file mode 100644
index 7f31597..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_80.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_empty.png b/files/awesome/themes/anemofilia-old/icons/battery_empty.png
deleted file mode 100755
index b841ace..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_empty.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_empty.png~ b/files/awesome/themes/anemofilia-old/icons/battery_empty.png~
deleted file mode 100755
index 84645aa..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_empty.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/battery_low.png~ b/files/awesome/themes/anemofilia-old/icons/battery_low.png~
deleted file mode 100755
index 8d44edf..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/battery_low.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/centerwork.png b/files/awesome/themes/anemofilia-old/icons/centerwork.png
deleted file mode 100755
index 9071516..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/centerwork.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/centerworkh.png b/files/awesome/themes/anemofilia-old/icons/centerworkh.png
deleted file mode 100755
index b1d1379..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/centerworkh.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/cpu.png b/files/awesome/themes/anemofilia-old/icons/cpu.png
deleted file mode 100755
index e493262..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/cpu.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/cpu.png~ b/files/awesome/themes/anemofilia-old/icons/cpu.png~
deleted file mode 100755
index 985eb65..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/cpu.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/dwindle.png b/files/awesome/themes/anemofilia-old/icons/dwindle.png
deleted file mode 100755
index 649ea99..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/dwindle.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/fairh.png b/files/awesome/themes/anemofilia-old/icons/fairh.png
deleted file mode 100755
index 66b7125..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/fairh.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/fairv.png b/files/awesome/themes/anemofilia-old/icons/fairv.png
deleted file mode 100755
index 13c4836..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/fairv.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/floating1.png b/files/awesome/themes/anemofilia-old/icons/floating1.png
deleted file mode 100644
index 05cca28..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/floating1.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/hdd.png b/files/awesome/themes/anemofilia-old/icons/hdd.png
deleted file mode 100755
index 0fb6833..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/hdd.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/keyboardicon.png b/files/awesome/themes/anemofilia-old/icons/keyboardicon.png
deleted file mode 100644
index 13e2a24..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/keyboardicon.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/magnifier.png b/files/awesome/themes/anemofilia-old/icons/magnifier.png
deleted file mode 100755
index 60d3e0d..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/magnifier.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/mail.png b/files/awesome/themes/anemofilia-old/icons/mail.png
deleted file mode 100755
index 75a02fb..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/mail.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/mail_on.png b/files/awesome/themes/anemofilia-old/icons/mail_on.png
deleted file mode 100755
index d5a15b2..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/mail_on.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/max.png b/files/awesome/themes/anemofilia-old/icons/max.png
deleted file mode 100755
index 0cba687..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/max.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/max.png~ b/files/awesome/themes/anemofilia-old/icons/max.png~
deleted file mode 100755
index bea6b55..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/max.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/mem.png b/files/awesome/themes/anemofilia-old/icons/mem.png
deleted file mode 100755
index 5b2910e..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/mem.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net.png b/files/awesome/themes/anemofilia-old/icons/net.png
deleted file mode 100755
index bc42fdc..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net_down.png b/files/awesome/themes/anemofilia-old/icons/net_down.png
deleted file mode 100755
index a7e76ae..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net_down.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net_down.png~ b/files/awesome/themes/anemofilia-old/icons/net_down.png~
deleted file mode 100755
index 09433b1..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net_down.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net_up.png b/files/awesome/themes/anemofilia-old/icons/net_up.png
deleted file mode 100755
index 827db64..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net_up.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net_up.png~ b/files/awesome/themes/anemofilia-old/icons/net_up.png~
deleted file mode 100755
index 395d014..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net_up.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/net_wired.png b/files/awesome/themes/anemofilia-old/icons/net_wired.png
deleted file mode 100755
index e8cc2bd..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/net_wired.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/note.png b/files/awesome/themes/anemofilia-old/icons/note.png
deleted file mode 100755
index 4cadb42..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/note.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/note_on.png b/files/awesome/themes/anemofilia-old/icons/note_on.png
deleted file mode 100755
index ac4c19e..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/note_on.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/scissors.png b/files/awesome/themes/anemofilia-old/icons/scissors.png
deleted file mode 100755
index f8c700d..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/scissors.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/spiral.png b/files/awesome/themes/anemofilia-old/icons/spiral.png
deleted file mode 100755
index d9ee0f6..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/spiral.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/submenu.png b/files/awesome/themes/anemofilia-old/icons/submenu.png
deleted file mode 100755
index b55ebce..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/submenu.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/task.png b/files/awesome/themes/anemofilia-old/icons/task.png
deleted file mode 100755
index 9701b68..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/task.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/temp.png b/files/awesome/themes/anemofilia-old/icons/temp.png
deleted file mode 100755
index a0cf39f..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/temp.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/tile1.png b/files/awesome/themes/anemofilia-old/icons/tile1.png
deleted file mode 100644
index 3f1b72f..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/tile1.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/tilebottom1.png b/files/awesome/themes/anemofilia-old/icons/tilebottom1.png
deleted file mode 100644
index 03120f0..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/tilebottom1.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/tileleft1.png b/files/awesome/themes/anemofilia-old/icons/tileleft1.png
deleted file mode 100644
index 16b12ce..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/tileleft1.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/tiletop1.png b/files/awesome/themes/anemofilia-old/icons/tiletop1.png
deleted file mode 100644
index f16a015..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/tiletop1.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/close_focus.png b/files/awesome/themes/anemofilia-old/icons/titlebar/close_focus.png
deleted file mode 100755
index b2051b0..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/close_focus.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/close_normal.png b/files/awesome/themes/anemofilia-old/icons/titlebar/close_normal.png
deleted file mode 100755
index da6028c..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/close_normal.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_active.png
deleted file mode 100755
index 5fe84c0..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_inactive.png
deleted file mode 100755
index 47f19f6..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_focus_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_active.png
deleted file mode 100755
index 576fa36..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_inactive.png
deleted file mode 100755
index 4adc5e9..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/floating_normal_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_active.png
deleted file mode 100755
index 7d9a11a..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_inactive.png
deleted file mode 100755
index bce1d00..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_focus_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_active.png
deleted file mode 100755
index 9f24945..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_inactive.png
deleted file mode 100755
index 2e56d32..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/maximized_normal_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_active.png
deleted file mode 100755
index 41a69e2..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_inactive.png
deleted file mode 100755
index 2f3a2be..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_focus_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_active.png
deleted file mode 100755
index 0f937b7..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_inactive.png
deleted file mode 100755
index a9a3206..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/ontop_normal_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_active.png
deleted file mode 100755
index a9bc8a2..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_inactive.png
deleted file mode 100755
index 5493d8e..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_focus_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_active.png b/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_active.png
deleted file mode 100755
index 1e150f5..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_active.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_inactive.png b/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_inactive.png
deleted file mode 100755
index 7e6c99b..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/titlebar/sticky_normal_inactive.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol.png b/files/awesome/themes/anemofilia-old/icons/vol.png
deleted file mode 100644
index 17335e7..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol.png~ b/files/awesome/themes/anemofilia-old/icons/vol.png~
deleted file mode 100644
index 7c3be43..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_low.png b/files/awesome/themes/anemofilia-old/icons/vol_low.png
deleted file mode 100644
index 2c78312..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_low.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_low.png~ b/files/awesome/themes/anemofilia-old/icons/vol_low.png~
deleted file mode 100644
index c85a146..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_low.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_mute.png b/files/awesome/themes/anemofilia-old/icons/vol_mute.png
deleted file mode 100644
index bb6e4cb..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_mute.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_mute.png~ b/files/awesome/themes/anemofilia-old/icons/vol_mute.png~
deleted file mode 100644
index 8f3b431..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_mute.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_no.png b/files/awesome/themes/anemofilia-old/icons/vol_no.png
deleted file mode 100644
index 8576456..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_no.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/icons/vol_no.png~ b/files/awesome/themes/anemofilia-old/icons/vol_no.png~
deleted file mode 100644
index 0649889..0000000
Binary files a/files/awesome/themes/anemofilia-old/icons/vol_no.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia-old/theme.lua b/files/awesome/themes/anemofilia-old/theme.lua
deleted file mode 100644
index e10956c..0000000
--- a/files/awesome/themes/anemofilia-old/theme.lua
+++ /dev/null
@@ -1,380 +0,0 @@
---[[
- _ __ _ _ _ _ _
- / \ _ __ ___ _ __ ___ ___ / _(_| (_) __ _ | |_| |__ ___ _ __ ___ ___
- / _ \ | '_ \ / _ | '_ ` _ \ / _ \| |_| | | |/ _` | | __| '_ \ / _ | '_ ` _ \ / _ \
- / ___ \| | | | __| | | | | | (_) | _| | | | (_| | | |_| | | | __| | | | | | __/
-/_/ \_|_| |_|\___|_| |_| |_|\___/|_| |_|_|_|\__,_| \__|_| |_|\___|_| |_| |_|\___|
-
-
---]]
-local gears = require("gears")
-local lain = require("lain")
-local awful = require("awful")
-local wibox = require("wibox")
-local dpi = require("beautiful.xresources").apply_dpi
-
-local os = os
-local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
-
-local theme = {}
-theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/anemofilia"
-theme.wallpaper = os.getenv("HOME") .. "Pictures/Wallpapers/\wall" --theme.dir .. "/wall.png"
-theme.font = "Meslo LG M DZ 9"
-theme.fg_normal = "#DDDDDD"
-theme.fg_focus = "#8581E0"--"#EA6F81"
-theme.fg_urgent = "#DCE081"--"#CC9393"
-theme.bg_normal = "#1A1A1A"
-theme.bg_focus = "#313131"
-theme.bg_urgent = "#1A1A1A"
-theme.border_width = dpi(1)
-theme.border_normal = "#3F3F3F"
-theme.border_focus = "#8581E0"--"#7F7F7F"
-theme.border_marked = "#CC9393"
-theme.tasklist_bg_focus = "#1A1A1A"
-theme.titlebar_bg_focus = theme.bg_focus
-theme.titlebar_bg_normal = theme.bg_normal
-theme.titlebar_fg_focus = theme.fg_focus
-theme.menu_height = dpi(20)
-theme.menu_width = dpi(140)
-theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
-theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
-theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
-theme.layout_tile = theme.dir .. "/icons/tile1.png"
-theme.layout_tileleft = theme.dir .. "/icons/tileleft1.png"
-theme.layout_tilebottom = theme.dir .. "/icons/tilebottom1.png"
-theme.layout_tiletop = theme.dir .. "/icons/tiletop1.png"
-theme.layout_fairv = theme.dir .. "/icons/fairv.png"
-theme.layout_fairh = theme.dir .. "/icons/fairh.png"
-theme.layout_spiral = theme.dir .. "/icons/spiral.png"
-theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
-theme.layout_max = theme.dir .. "/icons/max.png"
-theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
-theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
-theme.layout_floating = theme.dir .. "/icons/floating1.png"
-theme.widget_ac = theme.dir .. "/icons/ac.png"
-theme.widget_battery_100 = theme.dir .. "/icons/battery_100.png"
-theme.widget_battery_80 = theme.dir .. "/icons/battery_80.png"
-theme.widget_battery_60 = theme.dir .. "/icons/battery_60.png"
-theme.widget_battery_40 = theme.dir .. "/icons/battery_40.png"
-theme.widget_battery_20 = theme.dir .. "/icons/battery_20.png"
-theme.widget_mem = theme.dir .. "/icons/mem.png"
-theme.widget_cpu = theme.dir .. "/icons/cpu.png"
-theme.widget_temp = theme.dir .. "/icons/temp.png"
-theme.widget_netdown = theme.dir .. "/icons/net_down.png"
-theme.widget_netup = theme.dir .. "/icons/net_up.png"
-theme.widget_hdd = theme.dir .. "/icons/hdd.png"
-theme.widget_music = theme.dir .. "/icons/note.png"
-theme.widget_music_on = theme.dir .. "/icons/note_on.png"
-theme.widget_vol = theme.dir .. "/icons/vol.png"
-theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
-theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
-theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
-theme.widget_mail = theme.dir .. "/icons/mail.png"
-theme.widget_mail_on = theme.dir .. "/icons/mail_on.png"
-theme.tasklist_plain_task_name = false
-theme.tasklist_disable_icon = true
-theme.gap_single_client = true
-theme.useless_gap = dpi(4)
-theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
-theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"
-theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png"
-theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png"
-theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png"
-theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png"
-theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png"
-theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png"
-theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png"
-theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png"
-theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png"
-theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png"
-theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png"
-theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png"
-theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png"
-theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png"
-theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png"
-theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/maximized_normal_inactive.png"
-
-local markup = lain.util.markup
-local separators = lain.util.separators
-
-local mykeyboardlayout = awful.widget.keyboardlayout:new()
-
--- Textclock
-local clockicon = wibox.widget.imagebox(theme.widget_clock)
-local clock = awful.widget.watch(
- "date +'%a %d %b %R'", 60,
- function(widget, stdout)
- widget:set_markup(" " .. markup.font(theme.font, stdout))
- end
-)
-
--- Calendar
-theme.cal = lain.widget.cal({
- icons = "",
- attach_to = { clock },
- notification_preset = {
- font = theme.font,
- fg = theme.fg_normal,
- bg = theme.bg_normal
- }
-})
---]]--
-
--- Mail IMAP check
-local mailicon = wibox.widget.imagebox(theme.widget_mail)
---[[ commented because it needs to be set before use
-mailicon:buttons(my_table.join(awful.button({ }, 1, function () awful.spawn(mail) end)))
-theme.mail = lain.widget.imap({
- timeout = 180,
- server = "server",
- mail = "luisguilhermecoelho@usp.br",
- password = "ZeugmaTau-6,283Anemofilia",
- settings = function()
- if mailcount > 0 then
- widget:set_markup(markup.font(theme.font, " " .. mailcount .. " "))
- mailicon:set_image(theme.widget_mail_on)
- else
- widget:set_text("")
- mailicon:set_image(theme.widget_mail)
- end
- end
-})
---]]
-
--- MPD
-local musicplr = awful.util.terminal .. " -title Music -g 130x34-320+16 -e ncmpcpp"
-local mpdicon = wibox.widget.imagebox(theme.widget_music)
-mpdicon:buttons(my_table.join(
- awful.button({ modkey }, 1, function () awful.spawn.with_shell(musicplr) end),
- awful.button({ }, 1, function ()
- os.execute("mpc prev")
- theme.mpd.update()
- end),
- awful.button({ }, 2, function ()
- os.execute("mpc toggle")
- theme.mpd.update()
- end),
- awful.button({ }, 3, function ()
- os.execute("mpc next")
- theme.mpd.update()
- end)))
-theme.mpd = lain.widget.mpd({
- settings = function()
- if mpd_now.state == "play" then
- artist = mpd_now.artist .. " "
- title = mpd_now.title .. " "
- mpdicon:set_image(theme.widget_music_on)
- elseif mpd_now.state == "pause" then
- artist = "mpd "
- title = "paused "
- else
- artist = ""
- title = ""
- mpdicon:set_image(theme.widget_music)
- end
-
- widget:set_markup(markup.font(theme.font, markup("#EA6F81", artist) .. title))
- end
-})
-
--- MEM
-local memicon = wibox.widget.imagebox(theme.widget_mem)
-local mem = lain.widget.mem({
- settings = function()
- widget:set_markup(markup.font(theme.font, mem_now.used .. "MB "))
- end
-})
-
--- CPU
-local cpuicon = wibox.widget.imagebox(theme.widget_cpu)
-local cpu = lain.widget.cpu({
- settings = function()
- widget:set_markup(markup.font(theme.font, cpu_now.usage .. "% "))
- end
-})
-
--- Coretemp
-local tempicon = wibox.widget.imagebox(theme.widget_temp)
-local temp = lain.widget.temp({
- settings = function()
- widget:set_markup(markup.font(theme.font, math.ceil(coretemp_now) .. "°C "))
- end
-})
-
--- / fs
-local fsicon = wibox.widget.imagebox(theme.widget_hdd)
---[[ commented because it needs Gio/Glib >= 2.54
-theme.fs = lain.widget.fs({
- notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "Terminus 10" },
- settings = function()
- widget:set_markup(markup.font(theme.font, " " .. fs_now["/"].percentage .. "% "))
- end
-})
---]]
-
--- Battery
-local baticon = wibox.widget.imagebox(theme.widget_battery)
-local bat = lain.widget.bat({
- settings = function()
- if bat_now.status and bat_now.status ~= "N/A" then
- if bat_now.ac_status == 1 then
- baticon:set_image(theme.widget_ac)
- elseif bat_now.perc and tonumber(bat_now.perc) < 25 then
- baticon:set_image(theme.widget_battery_20)
- elseif bat_now.perc and tonumber(bat_now.perc) < 45 then
- baticon:set_image(theme.widget_battery_40)
- elseif bat_now.perc and tonumber(bat_now.perc) < 65 then
- baticon:set_image(theme.widget_battery_60)
- elseif bat_now.perc and tonumber(bat_now.perc) < 85 then
- baticon:set_image(theme.widget_battery_80)
- else
- baticon:set_image(theme.widget_battery_100)
- end
- widget:set_markup(markup.font(theme.font, bat_now.perc .. "% "))
- else
- widget:set_markup(markup.font(theme.font, "AC "))
- baticon:set_image(theme.widget_ac)
- end
- end
-})
-
--- ALSA volume
-local volicon = wibox.widget.imagebox(theme.widget_vol)
-theme.volume = lain.widget.alsa({
- settings = function()
- if volume_now.status == "off" then
- volicon:set_image(theme.widget_vol_mute)
- elseif tonumber(volume_now.level) == 0 then
- volicon:set_image(theme.widget_vol_no)
- elseif tonumber(volume_now.level) <= 50 then
- volicon:set_image(theme.widget_vol_low)
- else
- volicon:set_image(theme.widget_vol)
- end
-
- widget:set_markup(markup.font(theme.font, volume_now.level .. "% "))
- end
-})
-theme.volume.widget:buttons(awful.util.table.join(
- awful.button({}, 4, function ()
- awful.util.spawn("amixer set Master 1%+")
- theme.volume.update()
- end),
- awful.button({}, 5, function ()
- awful.util.spawn("amixer set Master 1%-")
- theme.volume.update()
- end)
-))
-
--- Net
-local netdownicon = wibox.widget.imagebox(theme.widget_netdown)
-local netdowninfo = wibox.widget.textbox()
-local netupicon = wibox.widget.imagebox(theme.widget_netup)
-local netupinfo = lain.widget.net({
- settings = function()
- widget:set_markup(markup.font(theme.font, net_now.sent .. " "))
- netdowninfo:set_markup(markup.font(theme.font, net_now.received .. " "))
- end
-})
-
--- System tray
-local systray = wibox.widget.systray()
-systray:set_base_size(20)
-systray:set_reverse(true)
-
--- Separators
-local spr = wibox.widget.textbox(' ')
-local arrl_dl = separators.arrow_left(theme.bg_focus, "alpha")
-local arrl_ld = separators.arrow_left("alpha", theme.bg_focus)
-
-function theme.at_screen_connect(s)
- -- Quake application
- s.quake = lain.util.quake({ app = awful.util.terminal })
-
- -- If wallpaper is a function, call it with the screen
- local wallpaper = theme.wallpaper
- if type(wallpaper) == "function" then
- wallpaper = wallpaper(s)
- end
- gears.wallpaper.maximized(wallpaper, s, true)
-
- -- Tags
- awful.tag(awful.util.tagnames, s, awful.layout.layouts)
-
- -- Create a promptbox for each screen
- s.mypromptbox = awful.widget.prompt()
- -- Create an imagebox widget which will contains an icon indicating which layout we're using.
- -- We need one layoutbox per screen.
- s.mylayoutbox = awful.widget.layoutbox(s)
- s.mylayoutbox:buttons(my_table.join(
- awful.button({}, 1, function () awful.layout.inc( 1) end),
- awful.button({}, 2, function () awful.layout.set( awful.layout.layouts[1] ) end),
- awful.button({}, 3, function () awful.layout.inc(-1) end),
- awful.button({}, 4, function () awful.layout.inc( 1) end),
- awful.button({}, 5, function () awful.layout.inc(-1) end)))
- -- Create a taglist widget
- s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
-
- -- Create a tasklist widget
- s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons)
-
- -- Create the wibox
- s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(19), bg = theme.bg_normal, fg = theme.fg_normal })
-
- -- Add widgets to the wibox
- s.mywibox:setup {
- layout = wibox.layout.align.horizontal,
- { -- Left widgets
- layout = wibox.layout.fixed.horizontal,
- --spr,
- s.mytaglist,
- s.mypromptbox,
- spr,
- },
- s.mytasklist, -- Middle widget
- { -- Right widgets
- layout = wibox.layout.fixed.horizontal,
- --systray,
- spr,
- --arrl_dl,
- --wibox.container.background(mpdicon, theme.bg_focus),
- --wibox.container.background(theme.mpd.widget, theme.bg_focus),
- arrl_ld,
- --wibox.container.background(mailicon, theme.bg_focus),
- --wibox.container.background(theme.mail.widget, theme.bg_focus),
- wibox.container.background(netdownicon, theme.bg_focus),
- wibox.container.background(netdowninfo, theme.bg_focus),
- wibox.container.background(netupicon, theme.bg_focus),
- wibox.container.background(netupinfo.widget, theme.bg_focus),
- arrl_dl,
- wibox.container.background(memicon, theme.bg_normal),
- wibox.container.background(mem.widget, theme.bg_normal),
- arrl_ld,
- wibox.container.background(cpuicon, theme.bg_focus),
- wibox.container.background(cpu.widget, theme.bg_focus),
- arrl_dl,
- wibox.container.background(tempicon, theme.bg_normal),
- wibox.container.background(temp.widget, theme.bg_normal),
- arrl_ld,
- --wibox.container.background(fsicon, theme.bg_focus),
- --wibox.container.background(theme.fs.widget, theme.bg_focus),
- --arrl_dl,
- wibox.container.background(volicon, theme.bg_focus),
- wibox.container.background(theme.volume.widget, theme.bg_focus),
- arrl_dl,
- wibox.container.background(baticon, theme.bg_normal),
- wibox.container.background(bat.widget, theme.bg_normal),
- arrl_ld,
- --wibox.container.background(neticon, theme.bg_focus),
- --wibox.container.background(net.widget, theme.bg_focus),
- --arrl_dl,
- wibox.container.background(clock, theme.bg_focus),
- wibox.container.background(spr, theme.bg_focus),
- arrl_dl,
- wibox.container.background(s.mylayoutbox, theme.bg_normal),
-
- },
- }
-end
-
-return theme
diff --git a/files/awesome/themes/anemofilia-old/wall.png b/files/awesome/themes/anemofilia-old/wall.png
deleted file mode 100644
index 3d4d2e0..0000000
Binary files a/files/awesome/themes/anemofilia-old/wall.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/anemofilia-background.png b/files/awesome/themes/anemofilia/anemofilia-background.png
deleted file mode 100644
index 7ab8fd3..0000000
Binary files a/files/awesome/themes/anemofilia/anemofilia-background.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/awesome-icon.png b/files/awesome/themes/anemofilia/awesome-icon.png
deleted file mode 100644
index 70978d3..0000000
Binary files a/files/awesome/themes/anemofilia/awesome-icon.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/ac.png b/files/awesome/themes/anemofilia/icons/ac.png
deleted file mode 100755
index 92c74fd..0000000
Binary files a/files/awesome/themes/anemofilia/icons/ac.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_100.png b/files/awesome/themes/anemofilia/icons/battery_100.png
deleted file mode 100644
index 428b4ed..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_100.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_20.png b/files/awesome/themes/anemofilia/icons/battery_20.png
deleted file mode 100644
index 8e4305f..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_20.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_40.png b/files/awesome/themes/anemofilia/icons/battery_40.png
deleted file mode 100644
index ad6fc38..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_40.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_60.png b/files/awesome/themes/anemofilia/icons/battery_60.png
deleted file mode 100644
index f7c6d78..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_60.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_80.png b/files/awesome/themes/anemofilia/icons/battery_80.png
deleted file mode 100644
index 7f31597..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_80.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/battery_empty.png b/files/awesome/themes/anemofilia/icons/battery_empty.png
deleted file mode 100755
index b841ace..0000000
Binary files a/files/awesome/themes/anemofilia/icons/battery_empty.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/cpu.png b/files/awesome/themes/anemofilia/icons/cpu.png
deleted file mode 100755
index e493262..0000000
Binary files a/files/awesome/themes/anemofilia/icons/cpu.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/mail.png b/files/awesome/themes/anemofilia/icons/mail.png
deleted file mode 100755
index 75a02fb..0000000
Binary files a/files/awesome/themes/anemofilia/icons/mail.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/mail_on.png b/files/awesome/themes/anemofilia/icons/mail_on.png
deleted file mode 100755
index 168c289..0000000
Binary files a/files/awesome/themes/anemofilia/icons/mail_on.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/mail_on.png~ b/files/awesome/themes/anemofilia/icons/mail_on.png~
deleted file mode 100755
index d5a15b2..0000000
Binary files a/files/awesome/themes/anemofilia/icons/mail_on.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/mem.png b/files/awesome/themes/anemofilia/icons/mem.png
deleted file mode 100755
index 5b2910e..0000000
Binary files a/files/awesome/themes/anemofilia/icons/mem.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/net_down.png b/files/awesome/themes/anemofilia/icons/net_down.png
deleted file mode 100755
index a7e76ae..0000000
Binary files a/files/awesome/themes/anemofilia/icons/net_down.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/net_up.png b/files/awesome/themes/anemofilia/icons/net_up.png
deleted file mode 100755
index 827db64..0000000
Binary files a/files/awesome/themes/anemofilia/icons/net_up.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/net_wired.png b/files/awesome/themes/anemofilia/icons/net_wired.png
deleted file mode 100755
index e8cc2bd..0000000
Binary files a/files/awesome/themes/anemofilia/icons/net_wired.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/note.png b/files/awesome/themes/anemofilia/icons/note.png
deleted file mode 100755
index 4cadb42..0000000
Binary files a/files/awesome/themes/anemofilia/icons/note.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/note_on.png b/files/awesome/themes/anemofilia/icons/note_on.png
deleted file mode 100755
index 0013fd9..0000000
Binary files a/files/awesome/themes/anemofilia/icons/note_on.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/note_on.png~ b/files/awesome/themes/anemofilia/icons/note_on.png~
deleted file mode 100755
index ac4c19e..0000000
Binary files a/files/awesome/themes/anemofilia/icons/note_on.png~ and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/screenlog.0 b/files/awesome/themes/anemofilia/icons/screenlog.0
deleted file mode 100644
index e69de29..0000000
diff --git a/files/awesome/themes/anemofilia/icons/temp.png b/files/awesome/themes/anemofilia/icons/temp.png
deleted file mode 100755
index a0cf39f..0000000
Binary files a/files/awesome/themes/anemofilia/icons/temp.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/vol.png b/files/awesome/themes/anemofilia/icons/vol.png
deleted file mode 100644
index a22a620..0000000
Binary files a/files/awesome/themes/anemofilia/icons/vol.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/vol_low.png b/files/awesome/themes/anemofilia/icons/vol_low.png
deleted file mode 100644
index 2c78312..0000000
Binary files a/files/awesome/themes/anemofilia/icons/vol_low.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/vol_mute.png b/files/awesome/themes/anemofilia/icons/vol_mute.png
deleted file mode 100644
index bb6e4cb..0000000
Binary files a/files/awesome/themes/anemofilia/icons/vol_mute.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/icons/vol_no.png b/files/awesome/themes/anemofilia/icons/vol_no.png
deleted file mode 100644
index 8576456..0000000
Binary files a/files/awesome/themes/anemofilia/icons/vol_no.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/fairv.png b/files/awesome/themes/anemofilia/layouts/fairv.png
deleted file mode 100755
index 13c4836..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/fairv.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/farih.png b/files/awesome/themes/anemofilia/layouts/farih.png
deleted file mode 100644
index 66b7125..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/farih.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/floating.png b/files/awesome/themes/anemofilia/layouts/floating.png
deleted file mode 100644
index 05cca28..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/floating.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/max.png b/files/awesome/themes/anemofilia/layouts/max.png
deleted file mode 100755
index 0cba687..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/max.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/tile.png b/files/awesome/themes/anemofilia/layouts/tile.png
deleted file mode 100644
index 3f1b72f..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/tile.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/tilebottom.png b/files/awesome/themes/anemofilia/layouts/tilebottom.png
deleted file mode 100644
index 03120f0..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/tilebottom.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/tileleft.png b/files/awesome/themes/anemofilia/layouts/tileleft.png
deleted file mode 100644
index 16b12ce..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/tileleft.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/layouts/tiletop.png b/files/awesome/themes/anemofilia/layouts/tiletop.png
deleted file mode 100644
index f16a015..0000000
Binary files a/files/awesome/themes/anemofilia/layouts/tiletop.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/taglist/square_sel.png b/files/awesome/themes/anemofilia/taglist/square_sel.png
deleted file mode 100644
index 2ebe2bb..0000000
Binary files a/files/awesome/themes/anemofilia/taglist/square_sel.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/taglist/square_unsel.png b/files/awesome/themes/anemofilia/taglist/square_unsel.png
deleted file mode 100644
index 4e9ef5d..0000000
Binary files a/files/awesome/themes/anemofilia/taglist/square_unsel.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/taglist/squarefz.png b/files/awesome/themes/anemofilia/taglist/squarefz.png
deleted file mode 100644
index 0927720..0000000
Binary files a/files/awesome/themes/anemofilia/taglist/squarefz.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/taglist/squarez.png b/files/awesome/themes/anemofilia/taglist/squarez.png
deleted file mode 100644
index 9b41c26..0000000
Binary files a/files/awesome/themes/anemofilia/taglist/squarez.png and /dev/null differ
diff --git a/files/awesome/themes/anemofilia/theme.lua b/files/awesome/themes/anemofilia/theme.lua
deleted file mode 100644
index 7239bae..0000000
--- a/files/awesome/themes/anemofilia/theme.lua
+++ /dev/null
@@ -1,143 +0,0 @@
---[[
-░█████╗░███╗░░██╗███████╗███╗░░░███╗░█████╗░███████╗██╗██╗░░░░░██╗░█████╗░
-██╔══██╗████╗░██║██╔════╝████╗░████║██╔══██╗██╔════╝██║██║░░░░░██║██╔══██╗
-███████║██╔██╗██║█████╗░░██╔████╔██║██║░░██║█████╗░░██║██║░░░░░██║███████║
-██╔══██║██║╚████║██╔══╝░░██║╚██╔╝██║██║░░██║██╔══╝░░██║██║░░░░░██║██╔══██║
-██║░░██║██║░╚███║███████╗██║░╚═╝░██║╚█████╔╝██║░░░░░██║███████╗██║██║░░██║
-╚═╝░░╚═╝╚═╝░░╚══╝╚══════╝╚═╝░░░░░╚═╝░╚════╝░╚═╝░░░░░╚═╝╚══════╝╚═╝╚═╝░░╚═╝
-▀▀█▀▀ █░░█ █▀▀ █▀▄▀█ █▀▀
-░░█░░ █▀▀█ █▀▀ █░▀░█ █▀▀
-░░▀░░ ▀░░▀ ▀▀▀ ▀░░░▀ ▀▀▀
--]]
-
-local themes_path = require("gears.filesystem").get_dir("config").."/themes/"
-local rnotification = require("ruled.notification")
-local dpi = require("beautiful.xresources").apply_dpi
-
--- {{{ Main
-local theme = {}
-theme.dir = themes_path .. "anemofilia"
-theme.wallpaper = theme.dir .. "/anemofilia-background.png"
--- }}}
-
--- {{{ Styles
-theme.font = "Meslo LG M DZ 9"
-theme.notification_font = theme.font
--- }}}
-
--- {{{ Colors
-theme.fg_normal = "#DDDDDD"
-theme.fg_focus = "#8581E0"
-theme.fg_urgent = "#DCE081"
-theme.bg_normal = "#1A1A1A"
-theme.bg_focus = "#313131"
-theme.bg_urgent = "#1A1A1A"
-theme.bg_systray = theme.bg_normal
-theme.tasklist_bg_focus = theme.bg_normal
--- }}}
-
--- Tasklist
---theme.tasklist_plain_task_name = true
-theme.tasklist_disable_icon = true
-
--- {{{ Borders
-theme.useless_gap = dpi(4)
-theme.border_width = dpi(1)
-theme.border_color_normal = "#3F3F3F"
-theme.border_color_active = "#8581E0"
-theme.border_color_marked = "#CC9393"
--- }}}
-
--- {{{ Titlebars
-theme.titlebar_bg_focus = "#3F3F3F"
-theme.titlebar_bg_normal = "#3F3F3F"
--- }}}
-
--- {{{ Wibox icons
- theme.widget_ac = theme.dir .. "/icons/ac.png"
- theme.widget_battery_100 = theme.dir .. "/icons/battery_100.png"
- theme.widget_battery_80 = theme.dir .. "/icons/battery_80.png"
- theme.widget_battery_60 = theme.dir .. "/icons/battery_60.png"
- theme.widget_battery_40 = theme.dir .. "/icons/battery_40.png"
- theme.widget_battery_20 = theme.dir .. "/icons/battery_20.png"
- theme.widget_mem = theme.dir .. "/icons/mem.png"
- theme.widget_cpu = theme.dir .. "/icons/cpu.png"
- theme.widget_temp = theme.dir .. "/icons/temp.png"
- theme.widget_netdown = theme.dir .. "/icons/net_down.png"
- theme.widget_netup = theme.dir .. "/icons/net_up.png"
- theme.widget_hdd = theme.dir .. "/icons/hdd.png"
- theme.widget_music = theme.dir .. "/icons/note.png"
- theme.widget_music_on = theme.dir .. "/icons/note_on.png"
- theme.widget_vol = theme.dir .. "/icons/vol.png"
- theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
- theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
- theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
--- }}}
-
--- There are other variable sets
--- overriding the default one when
--- defined, the sets are:
--- [taglist|tasklist]_[bg|fg]_[focus|urgent|occupied|empty|volatile]
--- titlebar_[normal|focus]
--- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
--- Example:
---theme.taglist_bg_focus = "#CC9393"
--- }}}
-
--- {{{ Widgets
--- You can add as many variables as
--- you wish and access them by using
--- beautiful.variable in your rc.lua
--- theme.fg_widget = "#AECF96"
--- theme.fg_center_widget = "#88A175"
--- theme.fg_end_widget = "#FF5656"
--- theme.bg_widget = "#494B4F"
--- theme.border_widget = "#FF8800"
--- }}}
-
--- {{{ Menu
--- Variables set for theming the menu:
--- menu_[bg|fg]_[normal|focus]
--- menu_[border_color|border_width]
-theme.menu_height = dpi(20)
-theme.menu_width = dpi(140)
--- }}}
-
--- {{{ Icons
--- {{{ Taglist
-theme.taglist_squares_sel = theme.dir .. "/taglist/square_sel.png"
-theme.taglist_squares_unsel = theme.dir .. "/taglist/square_unsel.png"
---theme.taglist_squares_resize = "false"
--- }}}
-
--- {{{ Misc
-theme.awesome_icon = theme.dir .. "/awesome-icon.png"
--- }}}
-
--- {{{ Layout
-theme.layout_tile = theme.dir .. "/layouts/tile.png"
-theme.layout_tileleft = theme.dir .. "/layouts/tileleft.png"
-theme.layout_tilebottom = theme.dir .. "/layouts/tilebottom.png"
-theme.layout_tiletop = theme.dir .. "/layouts/tiletop.png"
-theme.layout_fairv = theme.dir .. "/layouts/fairv.png"
-theme.layout_fairh = theme.dir .. "/layouts/fairh.png"
-theme.layout_max = theme.dir .. "/layouts/max.png"
-theme.layout_fullscreen = theme.dir .. "/layouts/fullscreen.png"
-theme.layout_magnifier = theme.dir .. "/layouts/magnifier.png"
-theme.layout_floating = theme.dir .. "/layouts/floating.png"
--- }}}
-
--- Set different colors for urgent notifications.
-rnotification.connect_signal('request::rules', function()
- rnotification.append_rule {
- rule = { urgency = 'critical' },
- properties = {
- bg = '#ff0000',
- fg = '#ffffff'
- }
- }
-end)
-
-return theme
-
--- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
diff --git a/files/bash/bash-functions b/files/bash/bash-functions
deleted file mode 100644
index fe080cf..0000000
--- a/files/bash/bash-functions
+++ /dev/null
@@ -1,5 +0,0 @@
-tf() { setsid -f "$@" >/dev/null 2>&1 & disown; }
-doas() { [ $# -eq 0 ] && $(which doas) -s || $(which doas) "$@"; }
-man() { kak -e "evaluate-commands man $1"; }
-zxz(){ printf "$1\n$(curl -F file=@$1 http://0x0.st)\n"; }
-
diff --git a/files/bash/bash-profile b/files/bash/bash-profile
deleted file mode 100644
index 1b87029..0000000
--- a/files/bash/bash-profile
+++ /dev/null
@@ -1,10 +0,0 @@
-# Set up the system, user profile, and related variables.
-# /etc/profile will be sourced by bash automatically
-# Set up the home environment profile.
-if [ -f ~/.profile ]; then source ~/.profile; fi
-
-# Honor per-interactive-shell startup file
-if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
-. "$GUIX_PROFILE/etc/profile"
-[ "$(tty)" = "/dev/tty1" ] && sx 1>/dev/null 2>&1
-
diff --git a/files/bash/bashrc b/files/bash/bashrc
deleted file mode 100644
index 2bb10df..0000000
--- a/files/bash/bashrc
+++ /dev/null
@@ -1,47 +0,0 @@
-alias df="df -h"
-alias diff="diff --color=auto"
-alias grep="grep --color=auto"
-alias ip="ip --color=auto"
-alias ls="ls --color=auto --group-directories-first --classify -hlv"
-alias ln="ln -sfn"
-alias info="info --init-file $XDG_CONFIG_HOME/infokeys"
-alias m="yt-dlp --prefer-free-formats --extract-audio"
-alias v="yt-dlp --prefer-free-formats"
-alias present="xrandr --output LVDS-1 --mode 1366x768 --scale 1x1 --output VGA-1 --same-as LVDS-1 --mode 1920x1080 --scale 0.711x0.711"
-alias lf="$XDG_CONFIG_HOME/lf/lfrun"
-alias gpg="gpg --homedir $XDG_DATA_HOME/gnupg"
-alias radio="https://radio.vern.cc"
-alias ':e'="kak"
-alias ':q'="exit"
-
-[ -f /etc/bashrc ] && source /etc/bashrc
-export PATH="$PATH:$(du $HOME/.local/bin/ \
- | cut -f2 \
- | tr '\n' ':' \
- | sed 's/:*$//')"
-export SHELL
-if [[ $- != *i* ]]; then
- [[ -n "$SSH_CLIENT" ]] && source /etc/profile
- return
-fi
-PS1='${GUIX_ENVIRONMENT:+[[34menv[0m ${GUIX_ENVIRONMENT}]\n}[34m\u[0m at [34m\W[0m $(git branch &>/dev/null && git branch 2>/dev/null | sed -n "s/* \(.*\)/on [34m\1[0m[0m /p")> [0m'
-[ "$TERM" = "linux" ] && {\
- echo -en "\e]P0"'070707'
- echo -en "\e]P1"'df6760'
- echo -en "\e]P2"'8be760'
- echo -en "\e]P3"'ffd17a'
- echo -en "\e]P4"'9688d9'
- echo -en "\e]P5"'86adff'
- echo -en "\e]P6"'86adff'
- echo -en "\e]P7"'f1f1f1'
- echo -en "\e]P8"'070707'
- echo -en "\e]P9"'df6760'
- echo -en "\e]PA"'8be760'
- echo -en "\e]PB"'ffd17a'
- echo -en "\e]PC"'9688d9'
- echo -en "\e]PD"'86adff'
- echo -en "\e]PE"'86adff'
- echo -en "\e]PF"'f1f1f1'
-}
-trap 'printf "\033]0;%s\007" "${BASH_COMMAND//[^[:print:]]/}"' DEBUG
-
diff --git a/files/doas/doas-completion b/files/doas/doas-completion
deleted file mode 100644
index 8aab5ae..0000000
--- a/files/doas/doas-completion
+++ /dev/null
@@ -1,56 +0,0 @@
-# bash completion for doas(8) -*- shell-script -*-
-
-_doas()
-{
- local cur prev words cword split
- _init_completion -s || return
-
- local i mode=normal
-
- [[ $mode == normal ]] &&
- for ((i = 1; i <= cword; i++)); do
- if [[ ${words[i]} != -* ]]; then
- local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
- local root_command=${words[i]}
- _command_offset $i
- return
- fi
- if [[ ${words[i]} == -@(!(-*)e*|-edit) ]]; then
- mode=edit
- break
- fi
- [[ ${words[i]} == \
- -@(user|other-user|group|close-from|prompt|!(-*)[uUgCp]) ]] &&
- ((i++))
- done
-
- case "$prev" in
- --user | --other-user | -!(-*)[uU])
- COMPREPLY=($(compgen -u -- "$cur"))
- return
- ;;
- --group | -!(-*)g)
- COMPREPLY=($(compgen -g -- "$cur"))
- return
- ;;
- --close-from | --prompt | -!(-*)[Cp])
- return
- ;;
- esac
-
- $split && return
-
- if [[ $cur == -* ]]; then
- local opts=$(_parse_help "$1")
- COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur"))
- [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
- return
- fi
- if [[ $mode == edit ]]; then
- _filedir
- fi
-} &&
- complete -F _doas doas
-
-# ex: filetype=sh
-
diff --git a/files/doas/doas.conf b/files/doas/doas.conf
deleted file mode 100644
index c3bf8d7..0000000
--- a/files/doas/doas.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-permit setenv { GUILE_LOAD_PATH } :wheel
-permit keepenv :wheel cmd kak args
-permit keepenv :wheel cmd emacsclient args
-permit nopass :wheel cmd halt args
-permit nopass :wheel cmd reboot args
-permit nopass :wheel cmd guix args pull
-permit nopass :wheel cmd herd args status
-permit nopass :wheel cmd herd args doc thinkfan
-permit nopass :wheel cmd herd args stop thinkfan
-permit nopass :wheel cmd herd args start thinkfan
-permit nopass :wheel cmd herd args status thinkfan
-permit nopass :wheel cmd herd args restart thinkfan
-permit nopass :wheel cmd herd args doc wpa-supplicant
-permit nopass :wheel cmd herd args stop wpa-supplicant
-permit nopass :wheel cmd herd args start wpa-supplicant
-permit nopass :wheel cmd herd args status wpa-supplicant
-permit nopass :wheel cmd herd args restart wpa-supplicant
-
diff --git a/files/emacs/init.el b/files/emacs/init.el
deleted file mode 100644
index 20744d0..0000000
--- a/files/emacs/init.el
+++ /dev/null
@@ -1,229 +0,0 @@
-;; Who am I?
-(setq user-full-name "Luis Guilherme Coelho"
- user-email-address "lgcoelho@disroot.org"
- copyright-names-regexp (format "%s <%s>"
- user-full-name
- user-mail-address))
-(load-file "~/projects/guix/etc/copyright.el")
-
-;; Emacs directories
-(setq user-emacs-directory "~/.config/emacs")
-
-;; Organizing backups
-(setq backup-directory-alist
- '(("." . "~/.local/share/emacs/saves")))
-
-;; Emacs load path
-(add-to-list 'load-path
- "~/.guix-profile/share/emacs/site-lisp")
-(setq-default buffer-file-coding-system
- 'utf-8-unix)
-
-;; Garbage collection
-(setq gc-cons-threshold (* 50 1000 1000))
-
-;; No more tabs
-(setq-default indent-line-function 'insert-tab
- indent-tabs-mode nil)
-
-;; Profile emacs startup
-(add-hook 'emacs-startup-hook
- (lambda () (message
- "*:** Emacs loaded in %s seconds with %d garbage collections."
- (emacs-init-time "%.2f")
- gcs-done)))
-
-;; Disable compiler and large file warnings
-(setq native-comp-async-report-warnings-errors nil
- large-file-warning-threshold nil)
-
-;; Remove start message and scratch message
-(setq inhibit-startup-message t
- initial-scratch-message nil)
-
-;; Enable some minor modes globally
-(dolist (mode '(server-mode ; Emacs server
- savehist-mode ; Command history
- column-number-mode ; Cursor column number
- global-prettify-symbols-mode ; Pretty symbols
- delete-selection-mode)) ; Normal selection behavior
- (funcall mode 1))
-
-;; Disable some minor modes globally
-(dolist (mode '(tool-bar-mode menu-bar-mode ; Menus
- scroll-bar-mode ; Scroll-bar
- tooltip-mode ; Tooltip
- indent-tabs-mode ; Tabs
- blink-cursor-mode ; Cursor
- fringe-mode)) ; Fringe
- (funcall mode 0))
-
-;; Line numbers settings
-(setq display-line-numbers-type 'relative
- display-line-numbers-current-absolute t
- display-line-numbers-grow-only t
- display-line-numbers-width-start t)
-
-;; Display whitespaces
-(setq-default fill-column 80)
-(setq whitespace-display-mappings
- '((space-mark ?\ [?⋅] [?.])
- (space-mark ?\xA0 [?⋅] [?_])
- (newline-mark ?\n [?¬ ?\n] [?$ ?\n])
- (tab-mark ?\t [?» ?\t] [?\\ ?\t])))
-(dolist (mode '(text-mode-hook
- prog-mode-hook
- conf-mode-hook))
- (add-hook mode (lambda ()
- (setq display-line-numbers-witdth
- (length (format "%s" (count-lines (point-max)
- (point-min)))))
- (dolist (mode '(display-line-numbers-mode
- rainbow-delimiters-mode
- display-fill-column-indicator-mode
- whitespace-mode))
- (funcall mode 1)))))
-(add-hook 'org-mode-hook
- (lambda ()
- (dolist (mode '(whitespace-mode
- display-fill-column-indicator-mode))
- (funcall mode 0))
- (setq org-pretty-entities t)))
-
-;; Aesthetics
-(load-theme 'meimuna t)
-(setq cursor-type 'box)
-
-;; Smooth scroll
-(setq scroll-step 1)
-
-;; Please never show me a dialog box again
-(setq use-dialog-box nil)
-
-;; IRC
-(setq circe-nick "anemofilia")
-(setq circe-channels '("#emacs"
- "#gnu"
- "#guile"
- "#guix"
- "#libreboot"))
-
-;; EMMS
-(setq emms-player-list '(emms-player-mpv))
-
-(require 'setup)
-(setup-define :pkg
- (lambda (feature-or-package)
- `(unless (locate-file ,(symbol-name feature-or-package)
- load-path
- (get-load-suffixes))
- (:package ',feature-or-package)))
- :documentation "Install PACKAGE if it is not available locally.
-This macro can be used as NAME, and it will replace itself with
-the first PACKAGE."
- :repeatable t
- :shorthand #'cadr)
-
-(setup-define :disabled
- (lambda () `,(setup-quit))
- :documentation "Always stop evaluating the body.")
-
-(setup-define :load-after
- (lambda (features &rest body)
- (let ((body `(progn
- (require ',(setup-get 'feature))
- ,@body)))
- (dolist (feature (if (listp features)
- (nreverse features)
- (list features)))
- (setq body `(with-eval-after-load ',feature ,body)))
- body))
- :documentation "Load the current feature after FEATURES."
- :indent 1)
-
-(setup-define :file-match
- (lambda (regexp)
- `(add-to-list 'auto-mode-alist (cons ,regexp ',(setup-get 'mode))))
- :documentation "Associate the current mode with files that match REGEXP."
- :debug '(form)
- :repeatable t)
-
-(setup-define :leader
- (lambda (&rest args)
- `(with-eval-after-load 'general
- (general-define-key ,@args
- :states 'normal
- :keymaps 'override
- :prefix "SPC"
- :global-prefix "C-SPC")))
- :documentation "Define a leader keybind"
- :debug '(form)
- :indent 0)
-
-(setup-define :local-leader
- (lambda (&rest args)
- `(with-eval-after-load 'general
- (let ((map ',(setup-get 'map)))
- (general-define-key ,@args
- :states 'normal
- :keymaps map
- :prefix "SPC m"
- :global-prefix "C-SPC m"))))
- :documentation "Define a local leader keybind"
- :debug '(form)
- :indent 0)
-
-(setup-define :ignore-buffers
- (lambda (&rest buffers)
- `(setq ignored-buffers (append ignored-buffers ',buffers)))
- :documentation "Ignore buffers")
-
-(setup-define :display-rule
- (lambda (condition &rest actions)
- `(add-to-list 'display-buffer-alist '(,condition . ,actions)))
- :documentation "Add to display buffer alist")
-
-(setup (:pkg kakoune)
- (:option ryo-modal-cursor-type 'box
- ryo-modal-cursor-color "#8581E0")
- (:global ""
- (lambda ()
- (interactive)
- (if (minibufferp)
- (keyboard-escape-quit)
- (ryo-modal-mode))))
- (kakoune-setup-keybinds)
- (ryo-modal-keys
- ("M-s" mc/split-region)))
-:
-;; Use a real file manager
-(setup (:pkg dirvish)
- (:hook hl-line-mode)
- (:option dirvish-attributes nil
- dirvish-listing-switches '(--group-directories-first --classify))
- ;'(vc-state subtree-state all-the-icons collapse git-msg file-time file-size))
- (dirvish-override-dired-mode))
-
-(setup (:pkg org-bullets org-present org-roam org-modern))
-(setup (:pkg elfeed elfeed-org))
-(setup (:pkg geiser geiser-guile macrostep-geiser))
-(setup (:pkg cape corfu corfu-doc consult-lsp vertico orderless))
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-enabled-themes '(meimuna))
- '(custom-safe-themes
- '("5df271e8c563dcd5b7be07ab5b5a615567b20a36b7c748475df0bb512332f0e1" "c202b7618764218b8ecb21a13c5dc9b318f0879f54105847fa5e1868afb19369" "044d60490c760e63bd39232445702271257a47ab384a3871649ea03a3d2b430a" "322a73057be183963dcd4fbfaa859e636fc8aa5f76f2a24f32a8ee5cc73be484" "671f76d55e2917bcae38168c2363fc21a335683583543b3fe49018cf5542908d" "f2db82bef0fb3e3922053605326d82b3e6494aed5c938440358710e9b78da7d9" "47263df55a6df473a5b9ba13107523f285db25dbbfd793ed5beaf47b7ec11c8e" "452da09d018e5f7bffa1e293c224c8711aa37dc9e7dd1dce24c9be6a0f6067c3" "f2c28b88fc49c9577269afcfdbf4630135c2bc2a4813f379c9a8a3979953e706" "38d107472028475f6d47938a91abf170587b718f4ca84f258ea8d72babe25201" "12bd9d840d3e0f54c607ca63acca59b083eca3cb18b9e5c7b34dfb6a400eaf4b" default))
- '(package-selected-packages
- '(eat mines setup kakoune magit-popup edit-indirect bui geiser-guile auctex))
- '(whitespace-style
- '(face trailing tabs spaces lines lines-tail lines-char newline missing-newline-at-eof empty indentation::tab indentation::space indentation big-indent space-after-tab::tab space-after-tab::space space-after-tab space-before-tab::tab space-before-tab::space space-before-tab space-mark tab-mark newline-mark)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(whitespace-line ((t nil))))
diff --git a/files/emacs/meimuna-theme.el b/files/emacs/meimuna-theme.el
deleted file mode 100644
index d02f596..0000000
--- a/files/emacs/meimuna-theme.el
+++ /dev/null
@@ -1,131 +0,0 @@
-(deftheme meimuna
- "Created 2022-01-11.")
-
-(custom-theme-set-faces
- 'meimuna
- '(cursor ((t (:background "#8581e0" :foreground "#ffffff"))))
- '(fixed-pitch ((t (:family "Monospace"))))
- '(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif"))))
- '(escape-glyph ((t (:background "#211d3c" :foreground "khaki"))))
- '(homoglyph ((t (:foreground "khaki"))))
- '(minibuffer-prompt ((t (:foreground "#8581e0"))))
- '(highlight ((t (:background "#8581e0" :foreground "black"))))
- '(region ((t (:extend t :background "#1F102f"))))
- '(shadow ((t (:foreground "#999999"))))
- '(secondary-selection ((t (:extend t :background "#9a9a9a"))))
- '(font-lock-builtin-face ((t (:foreground "#ffd17a"))))
- '(font-lock-comment-delimiter-face ((t (:foreground "#86adff"))))
- '(font-lock-comment-face ((t (:foreground "#86adff"))))
- '(font-lock-constant-face ((t (:foreground "#df6760"))))
- '(font-lock-doc-face ((t (:foreground "#9a99e7" :inherit font-lock-string-face))))
- '(font-lock-function-name-face ((t (:foreground "#86adff"))))
- '(font-lock-keyword-face ((t (:foreground "#8681e0"))))
- '(font-lock-negation-char-face ((t nil)))
- '(font-lock-preprocessor-face ((t (:inherit font-lock-builtin-face))))
- '(font-lock-regexp-grouping-backslash ((t (:inherit (bold)))))
- '(font-lock-regexp-grouping-construct ((t (:inherit bold))))
- '(font-lock-string-face ((t (:foreground "#fc97ff"))))
- '(font-lock-type-face ((t (:foreground "#ffd17a"))))
- '(font-lock-variable-name-face ((t nil)))
- '(font-lock-warning-face ((t (:foreground "#dce081" :weight bold))))
- '(button ((t (:inherit (link)))))
- '(link ((t (:foreground "#8c86e4" :underline (:color foreground-color :style line)))))
- '(link-visited ((t (:foreground "#999999" :inherit link))))
- '(fringe ((t (:foreground "#506080" :background "#111111"))))
- '(header-line ((default (:inherit (mode-line))) (((type tty)) (:underline (:color foreground-color :style line) :inverse-video nil)) (((class color grayscale) (background light)) (:box nil :foreground "grey20" :background "grey90")) (((class color grayscale) (background dark)) (:box nil :foreground "grey90" :background "grey20")) (((class mono) (background light)) (:underline (:color foreground-color :style line) :box nil :inverse-video nil :foreground "black" :background "white")) (((class mono) (background dark)) (:underline (:color foreground-color :style line) :box nil :inverse-video nil :foreground "white" :background "black"))))
- '(tooltip ((t (:foreground "#FFFFFF" :background "#5f5e8a"))))
- '(mode-line ((t (:background "#303030" :foreground "#9688d9"))))
- '(mode-line-buffer-id ((t (:weight bold :box nil))))
- '(mode-line-emphasis ((t (:weight bold))))
- '(mode-line-highlight ((t (:box nil))))
- '(mode-line-inactive ((t (:background "#111111" :foreground "dim gray"))))
- '(isearch ((t (:foreground "white" :background "#5533AA"))))
- '(isearch-fail ((t (:foreground "#999"))))
- '(lazy-highlight ((t (:inherit default :background "#8581e0"))))
- '(match ((t (:background "#8581e0" :foreground "white"))))
- '(next-error ((t (:inherit (region)))))
- '(query-replace ((t (:inherit isearch :background "khaki" :foreground "#101010"))))
- '(line-number-current-line ((t (:inherit line-number :background "#313131" :foreground "#8581e0"))))
- '(line-number ((t (:inherit (shadow default)))))
- '(line-number-major-tick ((((class color grayscale) (background light)) (:bold t :background "grey85")) (((class color grayscale) (background dark)) (:bold t :background "grey75")) (t (:inherit (line-number)))))
- '(org-document-title ((t (:height 1.2 :underline nil :inherit org-level-1))))
- '(org-level-1 ((t (:inherit default :extend t :foreground "#f6f3e8" :height 1.1 :family "Sans Serif"))))
- '(org-level-2 ((t (:family "Sans Serif" :height 1.0 :foreground "#f6f3e8" :extend t :inherit default))))
- '(org-level-3 ((t (:foreground "#f6f3e8" :extend t :inherit default))))
- '(org-level-4 ((t (:inherit default :extend t :foreground "#f6f3e8"))))
- '(org-level-5 ((t (:inherit default :extend t :foreground "#f6f3e8"))))
- '(org-level-6 ((t (:extend t :foreground "#f6f3e8" :inherit (default)))))
- '(org-level-7 ((t (:extend t :foreground "#f6f3e8" :inherit (default)))))
- '(org-level-8 ((t (:extend t :foreground "#f6f3e8" :inherit (default)))))
- '(org-todo ((t (:foreground "#00ff00" :weight bold))))
- '(org-done ((t (:foreground "#ff0000" :weight bold))))
- '(org-table ((t (:foreground "#999999"))))
- '(org-ellipsis ((t (:foreground "#fff"))))
- '(org-block-begin-line ((t (:background "#606590" :extend t :inherit \#fff))))
- '(org-block-end-line ((t (:inherit \#fff :extend t :background "#606590"))))
- '(org-scheduled ((t (:foreground "#606590" :weight bold))))
- '(org-date ((t (:underline (:color foreground-color :style line) :foreground "#8c86e4"))))
- '(org-tag ((t (:bold t))))
- '(org-warning ((t (:inherit font-lock-warning-face))))
- '(org-headline-todo ((t (:foreground "#fff"))))
- '(org-sexp-date ((t (:foreground "#999999"))))
- '(org-agenda-date ((t (:foreground "#999999"))))
- '(org-date-selected ((t (:foreground "#999999" :inverse-video t))))
- '(org-footnote ((t (:underline (:color foreground-color :style line) :style ni :foreground "#8c86e4"))))
- '(org-agenda-date-today ((t (:inherit org-agenda-date :foreground "#444083" :weight bold))))
- '(org-agenda-date-weekend ((t (:inherit org-agenda-date :foreground "#444083" :weight bold))))
- '(org-formula ((t (:foreground "khaki"))))
- '(org-scheduled-previously ((t (:foreground "khaki"))))
- '(org-upcoming-deadline ((t (:foreground "khaki" :weight bold))))
- '(org-document-info ((t (:foreground "#fff"))))
- '(org-drawer ((t (:foreground "#999999"))))
- '(org-latex-and-related ((t (:foreground "#fff"))))
- '(org-scheduled-today ((t (:foreground "khaki" :weight ultra-bold))))
- '(org-time-grid ((t (:foreground "#8c86e4"))))
- '(whitespace-space ((t (:inherit default :foreground "#606060"))))
- '(whitespace-hspace ((t (:inherit whitespace-space))))
- '(whitespace-tab ((t (:inherit whitespace-space))))
- '(whitespace-newline ((t (:inherit whitespace-space))))
- '(whitespace-trailing ((t (:inherit whitespace-space))))
- '(whitespace-space-before-tab ((t (:inherit whitespace-space))))
- '(whitespace-indentation ((t (:inherit whitespace-space))))
- '(whitespace-big-indent ((t (:inherit whitespace-space))))
- '(whitespace-empty ((t (:extend t :inherit whitespace-space))))
- '(whitespace-space-after-tab ((t (:inherit whitespace-space))))
- '(whitespace-missing-newline-at-eof ((t (:inherit whitespace-space))))
- '(whitespace-line ((t nil)))
- '(fill-column-indicator ((t (:foreground "#303030" :background "#303030" :inherit shadow))))
- '(rainbow-delimiters-depth-1-face ((t (:inherit rainbow-delimiters-base-face :foreground "#a790d3"))))
- '(rainbow-delimiters-depth-2-face ((t (:inherit rainbow-delimiters-base-face :foreground "#6cdae0"))))
- '(rainbow-delimiters-depth-3-face ((t (:inherit rainbow-delimiters-base-face :foreground "#ff7f50"))))
- '(rainbow-delimiters-depth-4-face ((t (:inherit rainbow-delimiters-base-face :foreground "#ffea8c"))))
- '(rainbow-delimiters-depth-5-face ((t (:inherit rainbow-delimiters-base-face :foreground "#83dcaf"))))
- '(rainbow-delimiters-depth-6-face ((t (:inherit rainbow-delimiters-base-face :foreground "#eba4d4"))))
- '(rainbow-delimiters-depth-7-face ((t (:inherit rainbow-delimiters-base-face :foreground "#8b5be7"))))
- '(rainbow-delimiters-unmatched-face ((t (:inherit default))))
- '(rainbow-delimiters-mismatched-face ((t (:inherit default))))
- '(rainbow-delimiters-base-error-face ((default (:inherit (rainbow-delimiters-base-face))) (t (:foreground "#88090B"))))
- '(trailing-whitespace ((t (:inherit whitespace-space))))
- '(hl-line ((t (:inherit highlight :extend t))))
- '(dired-broken-symlink ((t (:foreground "red1" :weight bold))))
- '(eros-result-overlay-face ((t (:foreground "#808080"))))
- '(eat-term-color-1 ((t (:background "#df6760" :foreground "#df6760"))))
- '(eat-term-color-0 ((t (:inherit (ansi-color-black)))))
- '(eat-term-color-2 ((t (:background "#8be760" :foreground "#8be760"))))
- '(eat-term-color-3 ((t (:background "#ffd17a" :foreground "#ffd17a"))))
- '(eat-term-color-4 ((t (:background "#9688d9" :foreground "#9688d9"))))
- '(eat-term-color-5 ((t (:background "#fc97ff" :foreground "#fc97ff"))))
- '(eat-term-color-6 ((t (:background "#86adff" :foreground "#86adff"))))
- '(eat-term-color-7 ((t (:background "#f1f1f1" :foreground "#f1f1f1"))))
- '(eat-term-color-8 ((t (:background "#808080" :foreground "#808080"))))
- '(eat-term-color-9 ((t (:inherit eat-term-color-1))))
- '(eat-term-color-10 ((t (:inherit eat-term-color-2))))
- '(eat-term-color-11 ((t (:inherit eat-term-color-3))))
- '(eat-term-color-12 ((t (:inherit eat-term-color-4))))
- '(eat-term-color-13 ((t (:inherit eat-term-color-5))))
- '(eat-term-color-14 ((t (:inherit eat-term-color-6))))
- '(eat-term-color-15 ((t (:background "#f1f1f1" :foreground "#f1f1f1"))))
- '(default ((t (:inherit nil :extend nil :stipple nil :background "#101010" :foreground "#f0f0f0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "PfEd" :family "Meslo LG M DZ"))))
- '(geiser-font-lock-repl-output ((t (:foreground "#d0d0d0")))))
-
-(provide-theme 'meimuna)
diff --git a/files/fish/completions/config.fish b/files/fish/completions/config.fish
deleted file mode 100644
index d714361..0000000
--- a/files/fish/completions/config.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-if status is-interactive
- # Commands to run in interactive sessions can go here
-end
diff --git a/files/fish/completions/fish_variables b/files/fish/completions/fish_variables
deleted file mode 100644
index 1a82b8a..0000000
--- a/files/fish/completions/fish_variables
+++ /dev/null
@@ -1,31 +0,0 @@
-# This file contains fish universal variable definitions.
-# VERSION: 3.0
-SETUVAR __fish_initialized:3400
-SETUVAR fish_color_autosuggestion:555\x1ebrblack
-SETUVAR fish_color_cancel:\x2dr
-SETUVAR fish_color_command:blue
-SETUVAR fish_color_comment:red
-SETUVAR fish_color_cwd:green
-SETUVAR fish_color_cwd_root:red
-SETUVAR fish_color_end:green
-SETUVAR fish_color_error:brred
-SETUVAR fish_color_escape:brcyan
-SETUVAR fish_color_history_current:\x2d\x2dbold
-SETUVAR fish_color_host:normal
-SETUVAR fish_color_host_remote:yellow
-SETUVAR fish_color_normal:normal
-SETUVAR fish_color_operator:brcyan
-SETUVAR fish_color_param:cyan
-SETUVAR fish_color_quote:yellow
-SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
-SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_status:red
-SETUVAR fish_color_user:brgreen
-SETUVAR fish_color_valid_path:\x2d\x2dunderline
-SETUVAR fish_key_bindings:fish_default_key_bindings
-SETUVAR fish_pager_color_completion:normal
-SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
-SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
-SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
-SETUVAR fish_pager_color_selected_background:\x2dr
diff --git a/files/fish/config.fish b/files/fish/config.fish
deleted file mode 120000
index 703d16c..0000000
--- a/files/fish/config.fish
+++ /dev/null
@@ -1 +0,0 @@
-/gnu/store/8yc8mdpd6qk2az0a9lsf7pgnhbw7zqs5-fish-config.fish
\ No newline at end of file
diff --git a/files/fish/fish_abbreviations b/files/fish/fish_abbreviations
deleted file mode 100644
index 1c3bacd..0000000
--- a/files/fish/fish_abbreviations
+++ /dev/null
@@ -1,15 +0,0 @@
-abbr --add m 'yt-dlp --prefer-free-formats --extract-audio'
-abbr --add v 'yt-dlp --prefer-free-formats'
-
-abbr --add tf --set-cursor 'setsid -f % >/dev/null 2>&1 & disown'
-abbr --add zxz --set-cursor 'curl -F "file=@%" https://0.vern.cc | xsel -b'
-abbr --add mpv --position anywhere --set-cursor 'mpv "%"'
-
-set -l RADIX_REPO "$HOME/projects/guile/radix"
-abbr --add !system --position anywhere "doas guix system reconfigure /etc/config.scm"
-abbr --add !home --position anywhere "guix home reconfigure $RADIX_REPO/radio.scm"
-abbr --add :system --position anywhere "$RADIX_REPO && $EDITOR /etc/config.scm"
-abbr --add :home --position anywhere "$RADIX_REPO && $EDITOR radio.scm"
-abbr --add @radix --position anywhere "$RADIX_REPO"
-abbr --add @files --position anywhere "$RADIX_REPO/files"
-abbr --add @modules --position anywhere "$RADIX_REPO/modules/radix"
diff --git a/files/fish/fish_variables b/files/fish/fish_variables
deleted file mode 120000
index 20fcfcc..0000000
--- a/files/fish/fish_variables
+++ /dev/null
@@ -1 +0,0 @@
-/gnu/store/75f2bk5sgw862xm3jg8zl0kl8d7r07kw-fish_variables
\ No newline at end of file
diff --git a/files/fish/functions/fish_greeting.fish b/files/fish/functions/fish_greeting.fish
deleted file mode 120000
index fdad069..0000000
--- a/files/fish/functions/fish_greeting.fish
+++ /dev/null
@@ -1 +0,0 @@
-/gnu/store/r17n4grhqa12hfvgjkrqyddy7ksavj9a-fish_greeting.fish
\ No newline at end of file
diff --git a/files/fish/functions/fish_prompt.fish b/files/fish/functions/fish_prompt.fish
deleted file mode 120000
index ef02e01..0000000
--- a/files/fish/functions/fish_prompt.fish
+++ /dev/null
@@ -1 +0,0 @@
-/gnu/store/8mh31d3qyd2gnkqa6zgnnaiyskrk96dm-fish_prompt.fish
\ No newline at end of file
diff --git a/files/git/config b/files/git/config
deleted file mode 100644
index f3fa997..0000000
--- a/files/git/config
+++ /dev/null
@@ -1,25 +0,0 @@
-[user]
- email = anemofilia@disroot.org
- name = anemofilia
- signingkey = 99D038B0CC2F735634D082F35A8F3D62C87A2B33
-[color]
- ui = true
-[core]
- editor = kak
-[filter "lfs"]
- required = true
- clean = git-lfs clean -- %f
- smudge = git-lfs smudge -- %f
- process = git-lfs filter-process
-[init]
- defaultBranch = main
-[usern]
- name = anemofilia
-[alias]
- see = log --graph --all --oneline
- last = log -1 HEAD
- unstage = reset HEAD
-[credential]
- helper = cache
-[commit]
- gpgsign = true
diff --git a/files/infokeys b/files/infokeys
deleted file mode 100644
index 2c1edb3..0000000
--- a/files/infokeys
+++ /dev/null
@@ -1,51 +0,0 @@
-#info
-gk first-node
-gj last-node
-\mb beginning-of-node
-\me end-of-node
-j next-line
-k prev-line
-f scroll-forward-page-only
-^f scroll-forward-page-only
-\m\ scroll-forward-page-only
-z scroll-forward-page-only-set-window
-b scroll-backward-page-only
-^b scroll-backward-page-only
-w scroll-backward-page-only-set-window
-\kd select-reference-this-line
-^j down-line
-^k up-line
-d scroll-half-screen-down
-^d scroll-half-screen-down
-u scroll-half-screen-up
-^u scroll-half-screen-up
-K next-node
-J prev-node
-TAB up-node
-' last-node
-\mt top-node
-\md dir-node
-^xg goto-node
-I goto-invocation-node
-n search-next
-N search-previous
-\mf xref-item
-^xr xref-item
-\mg select-reference-this-line
-^x^j select-reference-this-line
-^x^m select-reference-this-line
-^c abort-key
-\mh get-info-help-node
-:q quit
-ZZ quit
-
-#echo-area
-\mh echo-area-backward
-\ml echo-area-forward
-\m0 echo-area-beg-of-line
-\m$ echo-area-end-of-line
-\mw echo-area-forward-word
-\mx echo-area-delete
-\mu echo-area-abort
-^v echo-area-quoted-insert
-\mX echo-area-kill-word
diff --git a/files/kak/autoload/colorscheme.kak b/files/kak/autoload/colorscheme.kak
deleted file mode 100644
index dbdad10..0000000
--- a/files/kak/autoload/colorscheme.kak
+++ /dev/null
@@ -1,52 +0,0 @@
-# Kakoune default color scheme
-
-# For Code
-face global value red
-face global type yellow
-face global variable green
-face global module green
-face global function cyan
-face global string magenta
-face global keyword blue
-face global operator yellow
-face global attribute green
-face global comment cyan
-face global documentation comment
-face global meta magenta
-face global builtin default+b
-
-# For markup
-face global title blue
-face global header cyan
-face global mono green
-face global block magenta
-face global link cyan
-face global bullet blue
-face global list yellow
-
-# builtin faces
-face global Default default,default
-face global PrimarySelection black,blue+fg
-face global SecondarySelection black,rgb:9a9a9a
-face global PrimaryCursor black,blue+fg
-face global SecondaryCursor black,rgb:9a9a9a
-face global PrimaryCursorEol black,blue+fg
-face global SecondaryCursorEol black,rgb:9a9a9a
-face global LineNumbers default,default
-face global LineNumberCursor rgb:8581e0,rgb:313131
-face global MenuForeground rgb:151515,blue
-face global MenuBackground blue,rgb:151515
-face global MenuInfo blue,rgb:151515 ## was cyan
-face global Information blue,rgb:232323
-face global Error default
-face global DiagnosticError red
-face global DiagnosticWarning yellow
-face global StatusLine blue,rgb:313131
-face global StatusLineMode rgb:313131,blue
-face global StatusLineInfo blue,rgb:313131
-face global StatusLineValue blue,rgb:313131
-face global StatusCursor default+r
-face global Prompt white,default
-face global MatchingChar default,default+b
-face global Whitespace default,default+fd
-face global BufferPadding blue,default
diff --git a/files/kak/kakrc b/files/kak/kakrc
deleted file mode 100644
index f605577..0000000
--- a/files/kak/kakrc
+++ /dev/null
@@ -1,486 +0,0 @@
-#________ Options ___________
-# Keep status bar in the default place
-set-option -add global ui_options terminal_status_on_top=false
-
-# Set an invisible padding char
-set-option -add global ui_options terminal_padding_char=
-
-# Always keep two lines and two columns displayed around the cursor
-set-option global scrolloff 2,2
-
-# No assistant
-set-option -add global ui_options terminal_assistant=cat
-
-hook global ModuleLoaded x11 %{
- set-option global termcmd 'st -e dash -c '
-} # Set st as default terminal
-
-# __________ Commands __________
-define-command -override lf-open \
- -docstring 'pick a file with lf' %{
- terminal dash -c %{
- # Local variables
- kak_buffile=$1 kak_session=$2 kak_client=$3
-
- # Create temporary file for selection
- lf_tmp=$(mktemp "${TMPDIR:-/tmp}"/lf-open.XXXXXXXXXX)
-
- # Get working directory of current buffer
- kak_pwd=$(dirname "${kak_buffile}")
-
- # Pick a file with lf
- $(lf -selection-path "${lf_tmp}" "${kak_pwd}")
-
- # Get first line of selection file (ignoring multiple selections)
- filename=$(head -n 1 "${lf_tmp}")
-
- # Only echo a command back if there was a selection
- if [ -n "$filename" ]; then
- # Construct the command to pass to kakoune
- kak_cmd="evaluate-commands -client $kak_client edit $filename"
-
- # Echo the command back to the parent session
- echo $kak_cmd | kak -p $kak_session
- fi
- } -- %val{buffile} %val{session} %val{client}
-}
-
-define-command -override cron \
- -docstring 'edit cron services' %{
- execute-keys ': e ~/.config/cron/'
-}
-
-define-command -override colorscheme-config \
- -docstring 'edit colorscheme configuration file' %{
- edit "%val{config}/autoload/colorscheme.kak"
-}
-
-define-command -override config \
- -docstring 'edit kakoune main configuration file' %{
- edit "%val{config}/kakrc"
-}
-
-define-command -override rss \
- -docstring 'edit rss feeds file' %{
- edit '~/.config/newsraft/feeds'
-}
-
-define-command -override latin \
- -docstring 'edit latin-portuguese dictionary' %{
- edit '~/Projects/markdown/latim-portugues.md'
-}
-define-command -override remind \
- -docstring 'Edit reminders' %{
- execute-keys ': e /home/radio/.local/share/reminders/'
-}
-
-define-command -override parse-latin \
- -docstring 'Parse latin text, replacing ^ for short and ~ for long' %{
- execute-keys '|sed y/ãẽĩõũ/āēīōū/'
- execute-keys '|sed y/âêîôû/ăěĭŏŭ/'
-}
-
-define-command -params 1 -override tex-project \
- -docstring 'edit or create a new tex-project' %{
- evaluate-commands 'cd ~/Projects/latex/'
- nop %sh{ mkdir -p "$1" }
- evaluate-commands 'cd "%arg{1}"'
- nop %sh{
- [ -s $1.tex ] || cat ../example/example.tex \
- | sed "s/example/$1/" > "$1.tex";
- }
- edit "%arg{1}.tex"
- execute-keys '16gA'
-}
-
-define-command -override open-buffer-picker \
- -docstring 'open-buffer-picker: Opens buffer picker.' %{
- prompt buffer: -buffer-completion %{ buffer %val{text} }
-}
-
-define-command -override toggle-readonly \
- -docstring 'changes buffer readonly option current state' %{
- set-option buffer readonly %sh{ "$kak_opt_readonly" && echo false || echo true }
-}
-
-define-command -override qalc \
- -params .. %{echo %sh{qalc ${@}}} \
- -docstring 'compute equation with Qalculate!'
-complete-command qalc shell-script-candidates %{
- { echo $(qalc --list-functions | head -n -3)
- echo $(qalc --list-variables | head -n -3) } | tr ' ' '\n' | sort | uniq
-}
-
-define-command diff-buffers -override -params 2 \
- -docstring 'show the diff of two buffers'%{
- evaluate-commands %sh{
- file1=$(mktemp)
- file2=$(mktemp)
- echo "
- evaluate-commands -buffer '$1' write -force $file1
- evaluate-commands -buffer '$2' write -force $file2
- edit! -scratch *diff-buffers*
- set buffer filetype diff
- set-register | 'diff -u $file1 $file2; rm $file1 $file2'
- execute-keys !gg
- "
-}}
-complete-command diff-buffers buffer
-
-# __________ Hidden commands __________
-define-command -override -hidden edit-from-file %{
- execute-keys ":edit %sh{dirname $kak_buffile}/"
-}
-
-define-command -override -hidden spawn-terminal-from-file %{
- set-register b "%sh{pwd}"
- change-directory "%sh{dirname $kak_buffile}"
- evaluate-commands 'terminal dash'
- change-directory "%reg{b}"
-} # Spawn a terminal in the current buffer's file directory
-
-# __________ Mappings __________
-map global normal ': buffer-previous'
-map global normal Y ': yank-helperu' \
- -docstring 'yank non-selections'
-
-map global normal D '"ad%d"a' \
- -docstring 'yank and delete non-selections'
-
-map global normal '"ad%"a' \
- -docstring 'delete non-selections (not yanking)'
-
-map global user ': spawn-terminal-from-file' \
- -docstring "open a new terminal within the current file's directory"
-
-map global user c ': comment-line' \
- -docstring 'comment-line'
-
-map global user ': comment-block' \
- -docstring 'comment-block'
-
-map global user D '| date +"%d %b %Y %a" -f -' \
- -docstring 'parse date to 01 Feb 2001 Tue format'
-
-map global user d ': lf-open' \
- -docstring 'pick a file with lf'
-
-map global user e ":edit-from-file" \
- -docstring "edit a file, searching from current file's directory"
-
-map global user l ': enter-user-mode lsp' \
- -docstring 'enter lsp user mode'
-
-try %{ declare-user-mode open-sel }
-map global user o ': enter-user-mode open-sel' \
- -docstring 'enter open-sel user mode'
-
-map global user r ': remind' \
- -docstring 'edit reminders'
-
-map global user s ': enter-user-mode surround' \
- -docstring 'enter surround user mode'
-
-map global user u ': echo -markup "{Information}U+%sh{printf ''%04x'' ""$kak_cursor_char_value""}"' \
- -docstring 'show the value of the selected unicode char'
-
-map global user q ': delete-buffer' \
- -docstring 'delete current buffer'
-
-map global user Q ': delete-buffer!' \
- -docstring 'delete current buffer'
-
-map global open-sel b '$ icecat $kak_reg_dot & disown' \
- -docstring 'on browser'
-
-map global open-sel m '$ mpv $kak_reg_dot & disown' \
- -docstring 'on mpv'
-
-map global goto b ': open-buffer-picker' \
- -docstring 'buffer'
-
-map global normal = ': prompt math: %{exec "a %val{text}esc>|qalc -t +u8 -f -ret>"}' \
- -docstring 'Replace selection by the result of some operation over it'
-
-map global object 'c,'\
- -docstring 'whitespaces'
-
-try %{ declare-user-mode git }
-map global git l ': git log' -docstring 'log'
-map global git c ': git commit' -docstring 'commit'
-map global git d ': git diff' -docstring 'diff'
-map global git s ': git status' -docstring 'status'
-map global git h ': git show-diff' -docstring 'show diff'
-map global git H ': git-hide-diff' -docstring 'hide diff'
-
-# try %{ declare-user-mode gdb }
-# map global gdb ': gdb-session-new-defaults' -docstring 'new session'
-# map global gdb ': gdb-session-stop' -docstring 'stop session'
-# map global gdb r ': gdb-run' -docstring 'run'
-# map global gdb R ': gdb-cmd start' -docstring 'start'
-# map global gdb k ': gdb-cmd kill' -docstring 'kill'
-# map global gdb s ': gdb-step' -docstring 'step'
-# map global gdb n ': gdb-next' -docstring 'next line'
-# map global gdb f ': gdb-finish' -docstring 'finish'
-# map global gdb c ': gdb-continue' -docstring 'continue' # swap with C?
-# map global gdb C ': gdb-continue-or-run' -docstring 'continue/run'
-# map global gdb j ': gdb-jump-to-location' -docstring 'jump to IP'
-# map global gdb J ': gdb-toggle-autojump' -docstring 'toggle autojump'
-# map global gdb b ': gdb-toggle-breakpoint' -docstring 'toggle breakpoint'
-# map global gdb p ': gdb-print' -docstring 'print selection expression'
-# map global gdb t ': gdb-backtrace' -docstring 'backtrace'
-# map global gdb ': gdb-backtrace-up' -docstring 'backtrace ↑'
-# map global gdb ': gdb-backtrace-down' -docstring 'backtrace ↓'
-# map global gdb : ':gdb-cmd ' -docstring 'custom command' # ?
-# map global gdb ': gdb-to-cursor' -docstring 'to cursor'
-# map global gdb m ': gdb-cmd kill; make' -docstring 'kill and make' # ?
-
-# __________ Hooks __________
-hook -group config global BufCreate 'kakrc' %{
- set-option buffer filetype kak
-} # Set kakrc's filetype to kak
-
-hook -group config global BufCreate '.*\.(bash_profile|profile|bashrc|bash_aliases)' %{
- set-option buffer filetype sh
-} # Set bash configuration file's filetype to sh
-
-hook global BufCreate '\*scratch\*' %{
- execute-keys '%'
-} # Remove the *scratch* message
-
-hook global BufCreate .* %{
- add-highlighter buffer/ number-lines -relative -hlcursor
-} # Set relative line numbers and visual line break
-
-hook global BufWritePost "%val{config}/kakrc" %{
- source "%val{config}/kakrc"
-} # Source kakrc on save
-
-hook global BufOpenFile '.*\.clj' %{
- terminal dash -c "cd $(dirname $kak_buffile); lein repl"
-} # Set defaults for clojure coding
-
-hook global BufWritePost "%val{config}/autoload/colorscheme.kak" %{
- source "%val{config}/autoload/colorscheme.kak"
- evaluate-commands palette-gutter
-} # Automatically source colorscheme.kak on save
-
-hook global BufOpenFile "%val{config}/autoload/colorscheme.kak" %{
- evaluate-commands palette-gutter
-} # Display faces in the colorscheme file
-
-hook global BufOpenFile .* %{
- add-highlighter buffer/ wrap -indent -word -marker '↩'
- add-highlighter buffer/ show-whitespaces -tab '→'
-} # Set highlighters for file buffers
-
-hook global BufCreate '\*scratch\*' %{
- add-highlighter buffer/ wrap -indent -word -marker '↩'
- add-highlighter buffer/ show-whitespaces -tab '→'
-} # Set highlighters for scratch buffers
-
-hook global InsertCompletionShow .* %{
- map window insert
- map window insert
-}
-hook global InsertCompletionHide .* %{
- map window insert
- map window insert
-} # Use tab for completion movement
-
-hook global BufWritePost ".*[.](tex)" %{
- evaluate-commands texlab-build
-} # Build tex-projects on save
-
-hook -group config global BufSetOption filetype=kak %{
- set-option buffer indentwidth 2
- set-option buffer line_comment_token '#'
-} # Kakscript comment tokens
-
-hook -group config global BufSetOption filetype=scheme %{
- #map buffer normal '' ': echo %sh{ guile -c "(display $kak_reg_dot)" }'
- set-option buffer indentwidth 2
- set-option buffer line_comment_token ';;'
- set-option buffer block_comment_tokens '#|' '|#'
- evaluate-commands 'rainbow-enable'
-} # Guile Scheme
-
-hook -group config global BufSetOption filetype=clojure %{
- set-option buffer indentwidth 2
- set-option window formatcmd 'zprint'
- set-option window lintcmd 'clj-kondo'
- set-option buffer line_comment_t
- set-option buffer block_comment_tokens '(comment' ')'
- evaluate-commands 'rainbow-enable'
-} # Clojure comment tokens
-
-hook -group config global BufSetOption filetype=(c|cpp) %{
- set-option window formatcmd 'clazy'
- set-option buffer line_comment_token '//'
- set-option buffer block_comment_tokens '/*' '*/'
-} # C and C++ comment tokens
-
-hook -group config global BufSetOption filetype=python %{
- set-option buffer line_comment_token '#'
- set-option buffer block_comment_tokens '"""' '"""'
-} # Python comment token tokens
-
-hook -group config global BufSetOption filetype=lua %{
- set-option buffer line_comment_token '--'
- set-option buffer block_comment_tokens '[[--' '--]]'
-} # Lua comment tokens
-
-hook -group config global BufSetOption filetype=(sh|dash) %{
- set-option window formatcmd 'shfmt'
- set-option window lintcmd 'shellharden'
- set-option buffer line_comment_token '#'
- set-option buffer block_comment_tokens "<<'####'" '###'
-} # Shell comment tokens
-
-hook -group config global BufSetOption filetype=zig %{
- set-option buffer line_comment_token '//'
-} # Zig comment tokens
-
-#hook global BufWritePre "/home/radio/Projects/Markdown/latim-portugues.md" %{
-# execute-keys '"aZ' # Save registers
-# execute-keys '%s`[a-zA-ZâêîôûãẽĩõũÂÊÎÔÛÃẼĨÕŨ]+`' # Select latin text
-# evaluate-commands 'parse-latin' # Mark properly longs and shorts
-# execute-keys '"az' # Restore registers
-# evaluate-commands 'echo'
-#} # Use proper signaling for longs and shorts in latin
-
-hook global BufOpenFile "/home/radio/Projects/markdown/latim-portugues.md" %{
- hook buffer InsertKey '' %{
- execute-keys '"bZ' # Save registers
- execute-keys 'kx' # Select entered line
- execute-keys 's`[a-zA-Z ,âêîôûãẽĩõũÂÊÎÔÛÃẼĨÕŨ]+`' # Select latin text
- evaluate-commands 'parse-latin' # Mark properly longs and shorts
- execute-keys '|par' # Format line properly
- execute-keys '"bzi' # Restore registers and return to insert mode
- evaluate-commands 'echo'
- }
-}
-
-hook global WinSetOption filetype=kak %{
- hook global NormalIdle .* %{
- evaluate-commands -save-regs 'a' %{ try %{
- execute-keys -draft w"ay
- evaluate-commands %sh{ (
- color="${kak_reg_a}"
- inverted_color=$(echo "${color}" | perl -pe 'tr/0123456789abcdefABCDEF/fedcba9876543210543210/')
- printf "%s\n" "evaluate-commands -client $kak_client %{ try %{
- echo -markup %{{rgb:${inverted_color},rgb:${color}+b} #${color} }
- }}" | kak -p $kak_session
- ) >/dev/null 2>&1 '
-# -docstring 'auto-percent s'
-# map global selectors 'p' ': if-cursor S S'
-# -docstring 'auto-percent S'
-# map global selectors '' ': if-cursor a-s> a-s> no-hooks'
-# -docstring 'auto-percent '
-# map global selectors 'm' ': if-cursor a-S> a-S> no-hooks'
-# -docstring 'auto-percent '
-# map global selectors 'f' ': if-cursor a-s>a-k> a-k>'
-# -docstring 'auto-percent '
-# map global selectors 'r' ': if-cursor a-s>a-K> a-K>'
-# -docstring 'auto-percent '
-# map global selectors 'v' ': select-view'
-# -docstring 'select view'
-# map global normal s ': enter-user-mode selectors'
-# -docstring 'selectors'
-#} # Add text objects to kakoune
-
-# __________ LSP __________
-hook global BufSetOption filetype=(c|clojure|cpp|crystal|css|haskell|html|js|json|lua|python|scheme|sh|sql|latex|zig) %{
- add-highlighter buffer/ column 80 StatusLine
-}
-
-hook global BufSetOption filetype=(c|clojure|cpp|crystal|css|haskell|html|js|json|lua|python|sh|latex|zig) %{
- evaluate-commands lsp-enable
-}
-
-# Latex
-set-option -add global lsp_server_configuration texlab.build.onSave=true
-set-option -add global lsp_server_configuration texlab.build.forwardSearchAfter=true
-set-option -add global lsp_server_configuration texlab.build.args=["-pdf","-new-viewer-","-pdflatex\=pdflatex","-silent","-shell-escape","%f"]
diff --git a/files/lf/.lfrc.swp b/files/lf/.lfrc.swp
deleted file mode 100644
index c59a563..0000000
Binary files a/files/lf/.lfrc.swp and /dev/null differ
diff --git a/files/lf/cleaner b/files/lf/cleaner
deleted file mode 100755
index a184d84..0000000
--- a/files/lf/cleaner
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-if [ -n "$FIFO_UEBERZUG" ]; then
- printf '{"action": "remove", "identifier": "PREVIEW"}\n' > "$FIFO_UEBERZUG"
-fi
diff --git a/files/lf/lfrc b/files/lf/lfrc
deleted file mode 100644
index c0bba02..0000000
--- a/files/lf/lfrc
+++ /dev/null
@@ -1,196 +0,0 @@
-#!/bin/sh
-
-# set '-eu' options for shell commands
-# These options are used to have safer shell commands. Option '-e' is used to
-# exit on error and option '-u' is used to give error for unset variables.
-# Option '-f' disables pathname expansion which can be useful when $f, $fs, and
-# $fx variables contain names with '*' or '?' characters. However, this option
-# is used selectively within individual commands as it can be limiting at
-# times.
-set shellopts '-eu'
-
-# set internal field separator (IFS) to "\n" for shell commands
-# This is useful to automatically split file names in $fs and $fx properly
-# since default file separator used in these variables (i.e. 'filesep' option)
-# is newline. You need to consider the values of these options and create your
-# commands accordingly.
-set ifs "\n"
-
-# leave some space at the top and the bottom of the screen
-set scrolloff 10
-
-# Basic Settings
-set preview true
-set shell dash
-set previewer ~/.config/lf/preview
-set cleaner ~/.config/lf/cleaner
-set drawbox true
-set info time
-
-# Custom Functions
-cmd open ${{
- setsid -f xdg-open "$f" >/dev/null 2>&1 &
-}}
-
-cmd __cd :cd "$1"
-
-# cd
-cmd cd ${{
- kill $pid
- eval "inotifywait -me MODIFY $1 | \
- while read LINE; do send $id :reload; done &"
- pid=$!
- send $id :__cd
-}}
-
-# Share on telegram
-cmd send %wmctrl -x -a Telegram.TelegramDesktop && telegram-desktop -sendpath $(readlink -f "$f")
-
-# Open lf config
-cmd config $$EDITOR "~/.config/lf/lfrc"
-
-# mkdir with :mkdir
-cmd mkdir %mkdir -- "$@"
-
-# rename file
-cmd rename %mv "$f" $(echo "$@" | sed 's/ /\ /g')
-
-# Open editor
-cmd edit ${{
- setsid -f "$TERMINAL -e $EDITOR $f" &
-}}
-
-# Change file mode bits
-cmd chmod %chmod "$@" && echo "Mode bits changed" & lf -remote reload
-
-# Copy filename without extension
-cmd yank-basename $basename -a -- $fx | head -c-1 | xclip --clipboard
-
-# Upload selected files to 0x0 and yank it's path and link
-cmd share %printf "$fx\n $(curl -F file="@$fx" http://0x0.st)" | xsel -b && echo "File shared"
-
-# Rotate file
-cmd rotate-file %{{
- case "$1" in
- right) direction=1;;
- left) direction=-1;;
- *) direction=0;;
- esac
- case $(file --mime-type "$f" -bL) in
- image/*) convert "$f" -rotate $((90*direction)) "$f";;
- application/pdf) pdftk "$f" cat 1-end"$1" output "rotated-${f##*/}" \
- && rm "$f" \
- && mv "rotated-${f##*/}" "$f";;
- video/*) ffmpeg -i "$f" -vf "transpose=$((direction+1))" "rotated-${f##*/}" \
- && rm "$f" \
- && mv "rotated-${f##*/}" "$f";;
- inode/directory) for file in $(ls "$f"); do rotate "$1" "$file"; done;;
- esac
- echo "File rotated"
-}}
-
-# Rotate selected files
-cmd rotate %{{
- case "$1" in
- right) direction=1;;
- left) direction=-1;;
- *) direction=0;;
- esac
- for file in "$fx"; do
- case $(file --mime-type "${file}" -bL) in
- image/*) convert "${file}" -rotate $((90*direction)) "${file}";;
- application/pdf) pdftk "${file}" cat 1-end"$1" output "rotated-${file##*/}" \
- && rm "${file}" \
- && mv "rotated-${file##*/}" "$file";;
- video/*) ffmpeg -i "${file}" -vf "transpose=$((direction+1))" "rotated-${file##*/}" \
- && rm "${file}" \
- && mv "rotated-${file##*/}" "${file}";;
- esac
- done
- echo "File rotated!"
-}}
-
-cmd extract ${{
- set -f
- case $f in
- *.tar.bz|*.tar.bz2|*.tbz|*.tbz2) tar xjvf $f;;
- *.tar.gz|*.tgz) tar xzvf $f;;
- *.tar.xz|*.txz) tar xJvf $f;;
- *.zip) unzip $f;;
- *.rar) unrar x $f;;
- *.7z) 7z x $f;;
- esac
-}}
-
-cmd compress ${{
- set -f
- mkdir $1
- cp -r $fx $1
- tar czf $1.tar.gz $1
- rm -rf $1
-}}
-
-cmd newfold %{{
- set -f
- mkdir -- "$1"
- mv -- $fx "$1"
-}}
-
-cmd term &{{
- setsid -f $TERMINAL >/dev/null 2>&1 & disown
-}}
-
-cmd e :edit
-cmd q :quit
-
-# Bindings
-# Remove some defaults
-map n
-map e
-map r
-map dd
-
-# File openers
-map ee $$EDITOR "$f"
-map e! $doas $EDITOR "$f"
-map b &setsid -f $BROWSER "$f"
-
-# Basic functions
-mao l cd "$f"
-map c copy && echo "$fx" | xsel -b
-map d delete
-map x cut
-map open
-map delete
-map rc push :rename
-map re $lf -remote "send $id :rename$(printf '%q' ${f##*/})"
-map set hidden!
-map push $
-map push :newfold
-map :rotate right
-map :rotate left
-map :term
-
-# Movement
-map gk top
-map gj bottom
-map gD cd ~/desktop
-map gc cd ~/.config
-map gd cd ~/documents
-map gl cd ~/.local/share/downloads
-map gm cd ~/music
-map gp cd ~/pictures
-map gv cd ~/videos
-
-# run on startup
-cmd on-cd &{{
- # '&' commands run silently in background (which is what we want here),
- # but are not connected to stdout.
- # To make sure our escape sequence still reaches stdout we pipe it to /dev/tty
- printf "\033]0; $(pwd | sed "s|$HOME|~|;s|.*/||g") - lf\007" > /dev/tty
-}}
-
-# also run at startup
-on-cd
-
-%[ $LF_LEVEL -eq 1 ] || echo "Warning: You're in a nested lf instance of depth $LF_LEVEL!"
diff --git a/files/lf/lfrun b/files/lf/lfrun
deleted file mode 100755
index 5bb0ba3..0000000
--- a/files/lf/lfrun
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -e
-
-cleanup() {
- exec 3>&-
- rm "$FIFO_UEBERZUG"
-}
-
-if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
- lf "$@"
-else
- [ ! -d "$HOME/.cache/lf" ] && mkdir --parents "$HOME/.cache/lf"
- export FIFO_UEBERZUG="$HOME/.cache/lf/ueberzug-$$"
- mkfifo "$FIFO_UEBERZUG"
- ueberzug layer -s <"$FIFO_UEBERZUG" -p json &
- exec 3>"$FIFO_UEBERZUG"
- trap cleanup EXIT
- lf "$@" 3>&-
-fi
diff --git a/files/lf/preview b/files/lf/preview
deleted file mode 100755
index 4b70b2e..0000000
--- a/files/lf/preview
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-image() {
- if [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
- printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$5" "$(($2-1))" "$(($3-1))" "$1" > "$FIFO_UEBERZUG"
- exit 1
- else
- chafa "$1" -s "$4x"
- fi
-}
-
-batorcat() {
- file="$1"
- shift
- if command -v bat > /dev/null 2>&1
- then
- bat --color=always --style=plain --pager=never "$file" "$@"
- else
- cat "$file"
- fi
-}
-
-CACHE="$HOME/.cache/lf/thumbnail.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | awk '{print $1}'))"
-
-case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in
- *.tgz|*.tar.gz) tar tzf "$1" ;;
- *.tar.bz2|*.tbz2) tar tjf "$1" ;;
- *.tar.txz|*.txz) xz --list "$1" ;;
- *.tar) tar tf "$1" ;;
- *.zip|*.jar|*.war|*.ear|*.oxt) unzip -l "$1" ;;
- *.rar) unrar l "$1" ;;
- *.md) glow -s dark "$1" ;;
- *.7z) 7z l "$1" ;;
- *.[1-8]) man "$1" | col -b ;;
- *.o) nm "$1";;
- *.torrent) transmission-show "$1" ;;
- *.iso) iso-info --no-header -l "$1" ;;
- *.odt|*.ods|*.odp|*.sxw) odt2txt "$1" ;;
- *.doc) catdoc "$1" ;;
- *.docx) docx2txt "$1" - ;;
- *.xml|*.html) w3m -dump "$1";;
- *.xls|*.xlsx)
- ssconvert --export-type=Gnumeric_stf:stf_csv "$1" "fd://1" | batorcat --language=csv
- ;;
- *.wav|*.mp3|*.flac|*.m4a|*.wma|*.ape|*.ac3|*.og[agx]|*.spx|*.opus|*.as[fx]|*.mka)
- exiftool "$1"
- ;;
- *.pdf)
- [ ! -f "${CACHE}.jpg" ] && \
- pdftoppm -jpeg -f 1 -singlefile "$1" "$CACHE"
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.epub)
- [ ! -f "$CACHE" ] && \
- epub-thumbnailer "$1" "$CACHE" 1024
- image "$CACHE" "$2" "$3" "$4" "$5"
- ;;
- *.cbz|*.cbr|*.cbt)
- [ ! -f "$CACHE" ] && \
- comicthumb "$1" "$CACHE" 1024
- image "$CACHE" "$2" "$3" "$4" "$5"
- ;;
- *.avi|*.mp4|*.wmv|*.dat|*.3gp|*.ogv|*.mkv|*.mpg|*.mpeg|*.vob|*.fl[icv]|*.m2v|*.mov|*.webm|*.ts|*.mts|*.m4v|*.r[am]|*.qt|*.divx)
- [ ! -f "${CACHE}.jpg" ] && \
- ffmpegthumbnailer -i "$1" -o "${CACHE}.jpg" -s 0 -q 5
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.bmp|*.jpg|*.jpeg|*.png|*.xpm|*.webp|*.gif|*.jfif)
- image "$1" "$2" "$3" "$4" "$5"
- ;;
- *.svg)
- [ ! -f "${CACHE}.jpg" ] && \
- convert "$1" "${CACHE}.jpg"
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.ino)
- batorcat --language=cpp "$1"
- ;;
- *)
- batorcat "$1"
- ;;
-esac
-exit 0
diff --git a/files/mpv/input.conf b/files/mpv/input.conf
deleted file mode 100644
index 9cb8e78..0000000
--- a/files/mpv/input.conf
+++ /dev/null
@@ -1,105 +0,0 @@
-# mpv keybindings
-#
-# Location of user-defined bindings: ~/.config/mpv/input.conf
-#
-# List of commands and further details: DOCS/man/input.rst
-# List of special keys: --input-keylist
-# Keybindings testing mode: mpv --input-test --force-window --idle
-#
-# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
-#
-# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
-# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
-#
-# The default keybindings are hardcoded into the mpv binary.
-# You can disable them completely with: --no-input-default-bindings
-
-h no-osd seek -5 # seek 5 seconds backward
-l no-osd seek 5 # seek 5 seconds forward
-Ctrl+h no-osd sub-seek -1 # seek to the previous subtitle
-Ctrl+l no-osd sub-seek 1 # seek to the next subtitle
-Ctrl+ESC revert-seek # undo the previous (or marked) seek
-
-j add sub-pos +1 # move subtitles down
-k add sub-pos -1 # move subtitles up
-
-Shift+l add chapter -1 # seek to the previous chapter
-Shift+h add chapter 1 # seek to the next chapter
-
-Ctrl+Shift+h sub-step -1 # change subtitle timing such that the previous subtitle is displayed
-Ctrl+Shift+l sub-step 1 # change subtitle timing such that the next subtitle is displayed
-
-Alt+h add video-pan-x 0.1 # move the video right
-Alt+l add video-pan-x -0.1 # move the video left
-Alt+k add video-pan-y 0.1 # move the video down
-Alt+j add video-pan-y -0.1 # move the video up
-
-Alt++ add video-zoom 0.1 # zoom in
-Alt+- add video-zoom -0.1 # zoom out
-Alt+ESC set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
-
-[ add speed 0.25 # decrease the playback speed
-] add speed 0.25 # increase the playback speed
-ESC set speed 1.0 # reset the speed to normal
-
-#XF86_PLAY cycle pause # toggle pause/playback mode
-#XF86_PAUSE cycle pause # toggle pause/playback mode
-#Xf86_NEXT playlist-next # skip to the next file
-#Xf86_PREV playlist-prev # skip to the previous file
-
-VOLUME_UP add volume 1
-VOLUME_DOWN add volume -1
-m cycle mute # toggle mute
-
-1 add contrast -1
-2 add contrast 1
-3 add brightness -1
-4 add brightness 1
-5 add gamma -1
-6 add gamma 1
-7 add saturation -1
-8 add saturation 1
-
-SPACE cycle pause # toggle pause/playback mode
-q quit # Are u kidding me?
-Q quit-watch-later # exit and remember the playback position
-
-. frame-step # advance one frame and pause
-, frame-back-step # go back by one frame and pause
-
-ENTER script-binding console/enable # open the console
-
-i script-binding stats/display-stats-toggle # toggle displaying information and statistics
-
-> add sub-delay -0.1 # shift subtitles 100 ms earlier
-< add sub-delay +0.1 # delay subtitles by 100 ms
-Ctrl+Shift++ add sub-scale +0.1 # increase the subtitle font size
-Ctrl+Shift+- add sub-scale -0.1 # decrease the subtitle font size
-#j cycle sub # switch subtitle track
-#J cycle sub down # switch subtitle track backwards
-#v cycle sub-visibility # hide or show the subtitles
-#Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles
-
-#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
-#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
-
-s screenshot # take a screenshot of the video in its original resolution with subtitles
-S screenshot window # take a screenshot of the window with OSD and subtitles
-Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots
-
-#d cycle deinterlace # toggle the deinterlacing filter
-#V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer
-#u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles
-
-#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect)
-a vf toggle hflip # Flip video like a mirror
-
-
-#E cycle edition # switch edition
-#l ab-loop # set/clear A-B loop points
-#L cycle-values loop-file "inf" "no" # toggle infinite looping
-#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding
-
-F8 show-text ${playlist} # show the playlist
-F9 show-text ${track-list} # show the list of video, audio and sub tracks
-
diff --git a/files/mpv/lua-settings/torque-progressbar.conf b/files/mpv/lua-settings/torque-progressbar.conf
deleted file mode 100644
index bc98770..0000000
--- a/files/mpv/lua-settings/torque-progressbar.conf
+++ /dev/null
@@ -1,108 +0,0 @@
-#[=[ mouse zone settings ]=]#
-# Height of area at the bottom of the screen that expands the bar and
-# shows times when mouse is hovered over it. Pixels.
-hover-zone-height=40
-# The height of the area at the top of the screen that shows the file
-# name when the mouse is hovered over it. Pixels.
-top-hover-zone-height=40
-
-#[=[ default color settings ]=]--
-# Default foreground and background colors. Will be used for all color
-# settings (except chapter-marker-before) unless set explicitly.
-# Format is BGR hex because ASS is dumb.
-foreground=FC799E
-background=2D2D2D
-
-#[=[ progress bar options ]=]#
-# whether or not to draw the progress bar at all.
-enable-bar=yes
-# [[ bar size options ]] #
-# Inactive bar height. Pixels. Bar is invisible when inactive if 0.
-bar-height-inactive=0
-# Active (i.e. hovered) bar height. Pixels.
-bar-height-active=18
-# [[ bar color options ]] #
-# Progress bar foreground color. BGR hex.
-bar-foreground=FC799E
-bar-background=2D2D2D
-
-#[=[ elapsed time options ]=]#
-enable-elapsed-time=yes
-# Elapsed time foreground and background colors. BGR hex.
-elapsed-foreground=FC799E
-elapsed-background=2D2D2D
-
-#[=[ remaining time options ]=]#
-enable-remaining-time=yes
-# Remaining time foreground and background colors. BGR hex.
-remaining-foreground=FC799E
-remaining-background=2D2D2D
-
-#[=[ hover time options ]=]#
-enable-hover-time=yes
-# Hover time foreground and background colors. BGR hex.
-hover-time-foreground=FC799E
-hover-time-background=2D2D2D
-
-#[=[ title display options ]=]#
-enable-title=yes
-# Font size for the title. Integer.
-title-font-size=12
-# Title/playlist foreground and background colors. BGR hex.
-title-foreground=FC799E
-title-background=2D2D2D
-
-#[=[ pause indicator options ]=]#
-# Flash an icon in the center of the screen when pausing/unpausing.
-pause-indicator=yes
-# Pause indicator foreground and background colors. BGR hex.
-pause-indicator-foreground=FC799E
-pause-indicator-background=2D2D2D
-
-#[=[ chapter marker options ]=]#
-# Enable or disable chapter position markers on the progress bar
-# entirely.
-enable-chapter-markers=yes
-# [[ chapter marker size options ]] #
-# Width of chapter markers in pixels. Probably want an even number.
-chapter-marker-width=2
-# Width of chapter markers in pixels when the seek bar is active.
-# Still probably want an even number.
-chapter-marker-width-active=4
-# Fraction of the height of the active progress bar that chapter
-# markers. 0 is 0, 1 is the height of the active progress bar.
-chapter-marker-active-height-fraction=1
-# [[ chapter marker color options ]] #
-# color of chapter marker before/after it has been passed. BGR hex.
-chapter-marker-before=7A77F2
-chapter-marker-after=2D2D2D
-
-#[=[ timing options ]=]#
-# Amount of time (in seconds) to display OSD when button is pressed.
-request-display-duration=2
-# How often the display is redrawn, in seconds. Affects smoothness of
-# animations, but lower values may use more CPU (the default is
-# negligible on my old C2D, and looks okay to me)
-redraw-period=0.03
-
-#[=[ /!\ FONT SIZE/METRICS STUFF. CHANGE AT YOUR OWN RISK /!\ ]=]#
-# Font for displaying the title and times. Changing this may warrant
-# modifying some of the font metrics numbers below for proper
-# display. Not recommended.
-font=Source Sans Pro Semibold
-# Font size for time elapsed and remaining.
-time-font-size=30
-# Font size for hover time.
-hover-time-font-size=26
-# Manually calculated collision/placement metrics based on font
-# sizes. Probably want to change these if you change the font or
-# sizes. Unfortunately, my automated solution isnt easy to set up.
-# Pixels.
-hover-time-left-margin=120
-hover-time-right-margin=130
-# These primarily affect animations. If the script thinks the items
-# are off screen, they wont be drawn. Positive numbers will look
-# goofy.
-elapsed-offscreen-pos=-100
-remaining-offscreen-pos=-100
-title-offscreen-pos=-40
diff --git a/files/mpv/mpv.conf b/files/mpv/mpv.conf
deleted file mode 100644
index f274d1b..0000000
--- a/files/mpv/mpv.conf
+++ /dev/null
@@ -1,80 +0,0 @@
-cover-art-auto = no
-no-keepaspect-window
-no-terminal
-
-## GIF
-[extension.webm]
-loop-file = inf
-[extension.gif]
-loop-file = inf
-osc = no
-
-## Music
-[extension.opus]
-no-video
-[extension.mp3]
-no-video
-[extension.flac]
-no-video
-[extension.ogg]
-no-video
-[extension.m4a]
-no-video
-
-## Screenshot
-screenshot-format=png
-screenshot-tag-colorspace=yes
-screenshot-high-bit-depth=yes
-screenshot-sw=yes
-screenshot-png-compression=0
-screenshot-png-filter=0
-screenshot-template='%F%wM%wS'
-
-## Image
-# classic opengl-hq parameter, change at will
-scale=spline36
-cscale=spline36
-dscale=mitchell
-dither-depth=auto
-correct-downscaling
-sigmoid-upscaling
-# debanding seems rarely useful with images
-#deband
-# dark grey background instead of pure black
-background=0.2
-
-## MISC
-mute=yes
-# the osc is mostly useful for videos
-osc=no
-# don't try to autoload subtitles or audio files
-sub-auto=no
-audio-file-auto=no
-# get rid of the useless V: 00:00:00 / 00:00:00 line
-term-status-msg=
-
-# replace mpv with mvi in the window title
-title="${?media-title:${media-title}}${!media-title:No file} - mvi"
-
-# don't slideshow by default
-image-display-duration=inf
-# loop files in case of webms or gifs
-loop-file=inf
-# and loop the whole playlist
-loop-playlist=inf
-
-# you need this if you plan to use drag-to-pan or pan-follows-cursor with MOUSE_LEFT
-window-dragging=no
-
-#according to haasn, aspect ratio info for PNG and JPG is "universally bust"
-[extension.png]
-video-aspect-override=no
-
-[extension.jpg]
-video-aspect-override=no
-
-[extension.jpeg]
-profile=extension.jpg
-
-[silent]
-msg-level=all=no
diff --git a/files/newsraft/config b/files/newsraft/config
deleted file mode 100644
index 18f4466..0000000
--- a/files/newsraft/config
+++ /dev/null
@@ -1,28 +0,0 @@
-# Set some settings
-set global-section-name All
-set color-list-item-important-fg black
-set color-list-item-important-bg red
-
-set color-list-item-unread-fg blue
-set color-list-feed-unread-fg blue
-set color-list-section-unread-fg blue
-
-set scrolloff 2
-
-# Remove some binds
-unbind g
-unbind y
-unbind v
-
-bind s status-history-menu
-
-# Bind some binds
-bind y exec echo %l | xsel -b
-bind b exec setsid -f icecat %l >/dev/null 2>&1 & disown
-bind m exec setsid -f mpv %l >/dev/null 2>&1 & disown
-bind v exec setsid -f nsxiv-url %l >/dev/null 2>&1 & disown
-bind c exec kak ~/.config/newsraft/config
-bind gk select-first
-bind gj select-last
-bind R reload-all
-bind z exec ~/bin/bookmark %l
diff --git a/files/newsraft/feeds b/files/newsraft/feeds
deleted file mode 100644
index 09b1bc3..0000000
--- a/files/newsraft/feeds
+++ /dev/null
@@ -1,115 +0,0 @@
-@ Articles
-https://bt.ht/atom.xml "Brad Taunt"
-https://rss.app/feeds/k6IcXeqAm5sNQXth.xml "Cem Keylan"
-https://cyber.dabamos.de/blog/feed.rss "Cyber Dabamos"
-https://drewdevault.com/blog/index.xml "Drew Devault"
-https://edwardsnowden.substack.com/feed "Edward Snowden" {60}
-https://feeds.twit.tv/floss.xml "Floss Weekly"
-https://forums.freebsd.org/forums/howtos-and-faqs-moderated.39/index.rss "FreeBSD Forum Hacks and FAQ's"
-https://forums.freebsd.org/forums/-/index.rss "FreeBSD Forum Index"
-https://m7.rs/feed.xml "Gabriel Fontes (Based)"
-https://gsthnz.com/posts/index.xml "Gustavo Heinz"
-https://lukesmith.xyz/rss.xml "Luke Smith" {60}
-https://www.privacytools.io/guides/rss.xml "Privacy Tools"
-https://ohhelloana.blog/feed.xml "Oh Hello Ana"
-https://stallman.org/rss/rss.xml "Richard Stallman"
-https://simonsafar.com/index.xml "Simon Safar"
-https://www.thedroneely.com/posts/rss.xml "Thedro Neely"
-https://wilw.dev/rss.xml "Will Webberley's blog"
-
-@ Chess
-https://yewtu.be/feed/channel/UCQHX6ViZmPsWiYSFAyS0a3Q "Gotham Chess"
-https://yewtu.be/feed/channel/UCwWm-fABiYbcL7ro8qONd6Q "GM Krikor"
-https://yewtu.be/feed/channel/UCweCc7bSMX5J4jEH7HFImng "GMHikaru"
-https://yewtu.be/feed/channel/UCSAo4zvM1oAJ_i4C6q6ejBA "Raffael Chess"
-https://yewtu.be/feed/channel/UC5K-TQsItHnNLjqYf8A3CTw "Xadrez Brasil"
-
-@ Politics {60}
-https://yewtu.be/feed/channel/UCkSjy-IOEq-eMtarZl2uH1Q "Arthur do Val"
-https://yewtu.be/feed/channel/UC7-Pp09PJX_SYP9oyMzUAtg "Assim disse o João"
-https://odysee.com/$/rss/@Fhoer:f "Fhoer"
-https://yewtu.be/feed/channel/UCqbz_4hrf2D58UFBOleuFnQ "História Cabeluda"
-https://yewtu.be/feed/channel/UCAMExYqcweM7PUebKfmLdFA "História Pública"
-https://odysee.com/$/rss/@ideiasradicais:a4 "Ideias Radicais"
-https://yewtu.be/feed/channel/UCpHQyEuBXwYBvXC1_NResCg "Kim Kataguiri"
-https://yewtu.be/feed/channel/UCCmh3nJayT-7jEM6hg2vP9Q "Laura Sabino"
-https://www.yewtu.be/feed/channel/UCk5BcU1rOy6hepflk7_q_Pw "Meteoro Brasil"
-https://yewtu.be/feed/channel/UCZdJE8KpuFm6NRafHTEIC-g "Tempero Drag"
-https://yewtu.be/feed/channel/UC0fGGprihDIlQ3ykWvcb9hg "Tese Onze"
-
-@ Hacker Videos {60}
-https://odysee.com/$/rss/@blenderdumbass:f "Blender Dumbass"
-https://odysee.com/$/rss/@BrodieRobertson:5 "Brodie Robertson"
-https://odysee.com/$/rss/@debxp:9 "Debxp"
-https://odysee.com/$/rss/@DistroTube:2 "Distrotube"
-https://yewtu.be/feed/channel/UCAXxhRve_scJJdJI4cwRSLg "Eriberto Mota"
-https://fossandcrafts.org/rss-feed-ogg.rss "Foss && Crafts"
-https://odysee.com/$/rss/@rossmanngroup:a "Louis Rossman"
-https://odysee.com/$/rss/@Luke:7 "Luke Smith"
-https://odysee.com/$/rss/@AlphaNerd:8 "Mental Outlaw"
-https://odysee.com/$/rss/@monerocommunityworkgroup:8 "Monero Community Workgroup"
-https://odysee.com/$/rss/@Mythologos:3 "Mythologos"
-https://odysee.com/$/rss/@kretcheu2001:8 "Paulo Kretcheu"
-https://odysee.com/$/rss/@slackjeff:1 "Slackjeff"
-https://yewtu.be/feed/channel/UCjr2bPAyPV7t35MvcgT3W8Q "The Hated One"
-https://odysee.com/$/rss/@TheLinuxExperiment:e "The Linux Experiment"
-
-@ Enviromental News {720}
-https://www.greenpeace.org/brasil/feed/ "Greenpeace - Brasil"
-https://www.greenpeace.org/international/feed/ "Greenpeace - International"
-https://revistaforum.com.br/rss/feed.html?r=5 "Revista Fórum - Meio Ambiente"
-
-@ Free Software Projects {86400}
-https://guix.gnu.org/feeds/blog.atom "GuixSD"
-https://hpc.guix.info/blog/feed.xml "Guix High Performance Computing"
-https://www.hyperbola.info/feeds/news/ "HyperbolaBSD News"
-https://jank-lang.org/blog/feed.xml "Jank Lang"
-https://github.com/luakit/luakit/commits/master.atom "Luakit"
-https://github.com/dmbaturin/ocamlbook.org/commits/master.atom "OCaml Textbook"
-https://www.parabola.nu/feeds/news/ "Parabola GNU News"
-https://www.parabola.nu/feeds/packages/ "Parabola GNU Packages"
-https://github.com/mini-rose/rose/commits/master.atom "Rose"
-https://blog.tox.chat/feed/ "Tox Project"
-
-@ Social Media {180}
-https://rsshub.app/acm/amturingaward "A.M. Turing Award"
-https://www.reddit.com/r/bash/.rss "r/bash"
-https://www.reddit.com/r/commandline/.rss "r/commandline"
-https://rsshub.app/twitter/user/CppCon "Twitter: CppCon"
-https://rsshub.app/twitter/user/CppStack "Twitter: C++ StackOverflow"
-https://rsshub.app/twitter/user/cppnow "Twitter: C++ Now"
-https://rsshub.app/twitter/user/meetingcpp "Twitter: Meeting C++"
-https://rsshub.app/twitter/user/CppLibHunt "Twitter: C++ LibHunt"
-https://rsshub.app/atcoder/contest/en/upcoming "Upcoming Contests - At Coder"
-
-@ Mathematics and Computer Science {60}
-https://yewtu.be/feed/channel/UCYO_jab_esuFRV4b17AJtAw "3Blue1Brown"
-https://yewtu.be/feed/channel/UCzBjutX2PmitNF4avysL-vg "Aleph 0"
-https://yewtu.be/feed/channel/UC9-y-6csu5WGm29I7JiwpnA "Computerphile"
-https://yewtu.be/feed/channel/UCq7UdlqyyZA7Bi-OB5xIU5Q "James Boyer"
-https://yewtu.be/feed/channel/UC0-gvTKzYKQcjzKcSPfeIkA "Kinertia"
-https://yewtu.be/feed/channel/UC1_uAIS3r8Vu6JjXWvastJg "Mathologer"
-https://yewtu.be/feed/channel/UC6jM0RFkr4eSkzT5Gx0HOAw "Michael Penn"
-https://yewtu.be/feed/channel/UCoxcjq-8xIDTYp3uz647V5A "Numberphile"
-
-@ News {60}
-https://agencia.fapesp.br/rss/ "Agência Fapesp"
-https://baixacultura.org/feed/ "Baixa Cultura"
-https://www.brasildefato.com.br/rss2.xml "Brasil de Fato"
-https://static.fsf.org/fsforg/rss/news.xml "Free Software Foundation"
-https://hnrss.org/newest?q=C%2B%2B+OR+mesh+OR+GNU+OR+Free+Software+OR+P2P "Hacker News"
-https://theintercept.com/feed/?lang=pt "Intercept - Brasil"
-https://theintercept.com/feed/?lang=en "Intercept - International"
-https://morss.it/https://jornal.usp.br/ "Jornal USP"
-https://www.nexojornal.com.br/rss.xml "Nexo Jornalismo"
-https://nucleo.jor.br/rss/ "Núcleo Jornalismo"
-https://www.phoronix.com/rss.php "Phoronix"
-https://revistaforum.com.br/rss/feed.html?r=96 "Revista Fórum - Brasil"
-https://revistaforum.com.br/rss/feed.html?r=4 "Revista Fórum - Internacional"
-https://revistaforum.com.br/rss/feed.html?r=1 "Revista Fórum - Política"
-https://revistaforum.com.br/rss/feed.html?r=735 "Revista Fórum - Tecnologia"
-http://rss.slashdot.org/Slashdot/slashdotMain "Slashdot"
-
-@ Vegan {10}
-https://yewtu.be/feed/channel/UCYamjJAo9qHUIN1jLYEDN4w "Eduardo Corassa"
-https://yewtu.be/feed/channel/UCZ6JHFBaDUJ9wfo41HSII_w "Fábio Chaves"
diff --git a/files/thinkfan/modprobe.d/thinkfan.conf b/files/thinkfan/modprobe.d/thinkfan.conf
deleted file mode 100644
index beee4fb..0000000
--- a/files/thinkfan/modprobe.d/thinkfan.conf
+++ /dev/null
@@ -1 +0,0 @@
-options thinkpad_acpi experimental=1 fan_control=1
diff --git a/files/thinkfan/thinkfan.conf b/files/thinkfan/thinkfan.conf
deleted file mode 100644
index bb0884f..0000000
--- a/files/thinkfan/thinkfan.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-fans:
-- tpacpi: /proc/acpi/ibm/fan
-sensors:
- - hwmon: /sys/devices/platform/coretemp.0/hwmon
- indices: [1,2,3]
-levels:
- - [0, 0, 35]
- - [1, 30, 40]
- - [2, 35, 45]
- - [3, 40, 50]
- - [4, 45, 55]
- - [5, 50, 60]
- - [6, 55, 65]
- - [7, 60, 70]
- - ["level full-speed", 65, 260]
-
diff --git a/files/zathura/zathurarc b/files/zathura/zathurarc
deleted file mode 100644
index 2ce7bd6..0000000
--- a/files/zathura/zathurarc
+++ /dev/null
@@ -1,22 +0,0 @@
-set selection-clipboard clipboard
-
-map gk goto top
-map gj goto bottom
-unmap d
-
-set pages-per-row 1
-
-set statusbar-home-tilde true
-set recolor-keephue true
-
-set index-bg "#000000"
-set index-active-fg "#000000"
-set index-active-bg "#9688D9"
-
-set completion-bg "#000000"
-set completion-highlight-fg "#000000"
-set completion-highlight-bg "#9688D9"
-
-# LATEX
-set synctex true
-set synctex-editor-command "code -g %{input}:%{line}"
diff --git a/modules/radix/files/awesome.scm b/modules/radix/files/awesome.scm
deleted file mode 100644
index 47eb69a..0000000
--- a/modules/radix/files/awesome.scm
+++ /dev/null
@@ -1,10 +0,0 @@
-(define-module (radix files awesome)
- #:use-module (gnu)
- #:export (config theme))
-
-(define config
- (local-file "../../../files/awesome/rc.lua"))
-
-(define theme
- (local-file "../../../files/awesome/themes/anemofilia/theme.lua"))
-
diff --git a/modules/radix/files/doas.scm b/modules/radix/files/doas.scm
deleted file mode 100644
index 0aafe22..0000000
--- a/modules/radix/files/doas.scm
+++ /dev/null
@@ -1,9 +0,0 @@
-(define-module (radix files doas)
- #:use-module (gnu)
- #:export (completion config))
-
-(define completion
- (local-file "../../../files/doas/doas-completion"))
-
-(define config
- (local-file "../../../files/doas/doas.conf"))
diff --git a/modules/radix/files/emacs.scm b/modules/radix/files/emacs.scm
deleted file mode 100644
index b635125..0000000
--- a/modules/radix/files/emacs.scm
+++ /dev/null
@@ -1,9 +0,0 @@
-(define-module (radix files emacs)
- #:use-module (gnu)
- #:export (init theme))
-
-(define init
- (local-file "../../../files/emacs/init.el"))
-
-(define theme
- (local-file "../../../files/emacs/meimuna-theme.el"))
diff --git a/modules/radix/files/fish.scm b/modules/radix/files/fish.scm
deleted file mode 100644
index de4c114..0000000
--- a/modules/radix/files/fish.scm
+++ /dev/null
@@ -1,19 +0,0 @@
-(define-module (radix files fish)
- #:use-module (gnu)
- #:export (abbreviations
- functions-greeting
- functions-prompt
- variables))
-
-(define abbreviations
- (local-file "../../../files/fish/fish_abbreviations"))
-
-(define functions-greeting
- (local-file "../../../files/fish/functions/fish_greeting.fish"))
-
-(define functions-prompt
- (local-file "../../../files/fish/functions/fish_prompt.fish"))
-
-(define variables
- (local-file "../../../files/fish/fish_variables"))
-
diff --git a/modules/radix/files/git.scm b/modules/radix/files/git.scm
deleted file mode 100644
index 1f88379..0000000
--- a/modules/radix/files/git.scm
+++ /dev/null
@@ -1,6 +0,0 @@
-(define-module (radix files git)
- #:use-module (gnu)
- #:export (config))
-
-(define config
- (local-file "../../../files/git/config"))
diff --git a/modules/radix/files/info.scm b/modules/radix/files/info.scm
deleted file mode 100644
index bf2f692..0000000
--- a/modules/radix/files/info.scm
+++ /dev/null
@@ -1,6 +0,0 @@
-(define-module (radix files info)
- #:use-module (gnu)
- #:export (keys))
-
-(define keys
- (local-file "../../../files/infokeys"))
diff --git a/modules/radix/files/kakoune.scm b/modules/radix/files/kakoune.scm
deleted file mode 100644
index f02382a..0000000
--- a/modules/radix/files/kakoune.scm
+++ /dev/null
@@ -1,10 +0,0 @@
-(define-module (radix files kakoune)
- #:use-module (gnu)
- #:export (config colorscheme))
-
-(define config
- (local-file "../../../files/kak/kakrc"))
-
-(define colorscheme
- (local-file "../../../files/kak/autoload/colorscheme.kak"))
-
diff --git a/modules/radix/files/lf.scm b/modules/radix/files/lf.scm
deleted file mode 100644
index c534ef5..0000000
--- a/modules/radix/files/lf.scm
+++ /dev/null
@@ -1,6 +0,0 @@
-(define-module (radix files lf)
- #:use-module (gnu)
- #:export (config))
-
-(define config
- (local-file "../../../files/lf/lfrc"))
diff --git a/modules/radix/files/mpv.scm b/modules/radix/files/mpv.scm
deleted file mode 100644
index 7486196..0000000
--- a/modules/radix/files/mpv.scm
+++ /dev/null
@@ -1,10 +0,0 @@
-(define-module (radix files mpv)
- #:use-module (gnu)
- #:export (config input))
-
-(define config
- (local-file "../../../files/mpv/mpv.conf"))
-
-(define input
- (local-file "../../../files/mpv/input.conf"))
-
diff --git a/modules/radix/files/newsraft.scm b/modules/radix/files/newsraft.scm
deleted file mode 100644
index 25d5992..0000000
--- a/modules/radix/files/newsraft.scm
+++ /dev/null
@@ -1,6 +0,0 @@
-(define-module (radix files newsraft)
- #:use-module (gnu)
- #:export (config))
-
-(define config
- (local-file "../../../files/newsraft/config"))
diff --git a/modules/radix/files/thinkfan.scm b/modules/radix/files/thinkfan.scm
deleted file mode 100644
index 9ed52f4..0000000
--- a/modules/radix/files/thinkfan.scm
+++ /dev/null
@@ -1,9 +0,0 @@
-(define-module (radix files thinkfan)
- #:use-module (gnu)
- #:export (config modprobe-config))
-
-(define config
- (local-file "../../../files/thinkfan/thinkfan.conf"))
-
-(define modprobe-config
- (local-file "../../../files/thinkfan/modprobe.d/thinkfan.conf"))
diff --git a/modules/radix/files/zathura.scm b/modules/radix/files/zathura.scm
deleted file mode 100644
index bc30d37..0000000
--- a/modules/radix/files/zathura.scm
+++ /dev/null
@@ -1,6 +0,0 @@
-(define-module (radix files zathura)
- #:use-module (gnu)
- #:export (config))
-
-(define config
- (local-file "../../../files/zathura/zathurarc"))
diff --git a/modules/radix/home/services.scm b/modules/radix/home/services.scm
deleted file mode 100644
index 66ffc06..0000000
--- a/modules/radix/home/services.scm
+++ /dev/null
@@ -1,12 +0,0 @@
-(define-module (radix home services)
- #:export (use-home-service-modules))
-
-(define service-module-hint
- (@@ (gnu) service-module-hint))
-
-(define-syntax-rule (try-use-modules hint modules ...)
- ((@@ (gnu) try-use-modules) hint modules ...))
-
-(define-syntax-rule (use-home-service-modules module ...)
- (try-use-modules service-module-hint
- (gnu home services module) ...))
diff --git a/modules/radix/packages/fonts.scm b/modules/radix/packages/fonts.scm
deleted file mode 100644
index ff19e3e..0000000
--- a/modules/radix/packages/fonts.scm
+++ /dev/null
@@ -1,38 +0,0 @@
-(define-module (radix packages fonts)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (guix build-system font)
- #:use-module (gnu packages compression)
- #:use-module ((guix licenses) #:prefix license:))
-
-(define-public font-meslo-lg
- (package
- (name "font-meslo-lg")
- (version "1.2.1")
- (source
- (origin
- (file-name "font-meslo-lg")
- (method url-fetch/zipbomb)
- (uri (string-append "https://github.com/andreberg/Meslo-Font/raw/master/"
- "dist/v" version "Meslo%20LG%20v" version ".zip"))
- (sha256 (base32 "1l08mxlzaz3i5bamnfr49s2k4k23vdm64b8nz2ha33ysimkbgg6h"))))
- (build-system font-build-system)
- (native-inputs (list unzip))
- (home-page "https://github.com/andreberg/Meslo-Font")
- (synopsis "Font for dyslexics and high readability")
- (description "Meslo LG is a customized version of Apple’s Menlo-Regular font
-(which is a customized Bitstream Vera Sans Mono).")
- (license license:silofl1.1)))
-
-(define-public font-meslo-lg-dz
- (package
- (inherit font-meslo-lg)
- (name "font-meslo-lg-dz")
- (version (package-version font-meslo-lg))
- (source
- (origin
- (file-name "font-meslo-lg-dz")
- (method url-fetch/zipbomb)
- (uri (string-append "https://github.com/andreberg/Meslo-Font/raw/master/"
- "dist/v" version "Meslo%20LG%20DZ%20v" version ".zip"))
- (sha256 (base32 "0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875"))))))
diff --git a/modules/radix/packages/linux.scm b/modules/radix/packages/linux.scm
deleted file mode 100644
index 7cfe95b..0000000
--- a/modules/radix/packages/linux.scm
+++ /dev/null
@@ -1,26 +0,0 @@
-(define-module (radix packages linux)
- #:use-module (guix packages)
- #:use-module (guix gexp)
- #:use-module (gnu packages linux)
- #:export (thinkfan-next))
-
-(define thinkfan-next
- (package
- (inherit thinkfan)
- (arguments
- (list #:modules '((guix build cmake-build-system)
- (guix build utils)
- (srfi srfi-26))
- #:tests? #f
- #:configure-flags
- #|Enable reading temperatures from hard disks via S.M.A.R.T.|#
- #~(list "-DUSE_ATASMART:BOOL=ON")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'create-init-scripts
- #|Don't even verify for the presence of SystemD or OpenRC|#
- (lambda _
- (substitute* "CMakeLists.txt"
- (("pkg_check_modules\\((SYSTEMD|OPENRC).*" _) "")
- #|Fix the destinations|#
- (("/etc" directory) (string-append #$output directory))))))))))
diff --git a/modules/radix/packages/wm.scm b/modules/radix/packages/wm.scm
deleted file mode 100644
index af9c69a..0000000
--- a/modules/radix/packages/wm.scm
+++ /dev/null
@@ -1,10 +0,0 @@
-(define-module (radix packages wm)
- #:use-module (gnu packages wm)
- #:use-module (guix transformations)
- #:export (awesome-next))
-
-(define awesome-next
- ((options->transformation
- `((with-branch . "awesome=master")
- (with-git-url . "awesome=https://github.com/awesomeWM/awesome")))
- awesome))
diff --git a/modules/radix/services/linux.scm b/modules/radix/services/linux.scm
deleted file mode 100644
index 1307521..0000000
--- a/modules/radix/services/linux.scm
+++ /dev/null
@@ -1,55 +0,0 @@
-(define-module (radix services linux)
- #:use-module (gnu)
- #:use-module (radix packages linux)
- #:use-module (gnu services)
- #:use-module (gnu services shepherd)
- #:use-module (guix gexp)
- #:use-module (guix records)
- #:export (thinkfan-configuration
- make-thinkfan-configuration
- thinkfan-configuration?
- thinkfan-shepherd-service
- thinkfan-service-type))
-
-(define-record-type*
- thinkfan-configuration make-thinkfan-configuration
- thinkfan-configuration?
- (requirement thinkfan-configuration-requirement ;list of symbols
- (default '(user-processes)))
- (pid-file thinkfan-configuration-pid-file ;string
- (default "/var/run/thinkfan.pid"))
- (config-file thinkfan-configuration-config-file ;#f | file-like
- (default #f))
- (respawn? thinkfan-configuration-respawn? ;boolean
- (default #t))
- (extra-options thinkfan-configuration-extra-options ;list of strings
- (default '())))
-
-(define (thinkfan-shepherd-service config)
- (match-record config
- (requirement pid-file config-file respawn? extra-options)
- (list (shepherd-service
- (provision '(thinkfan))
- (documentation
- "Adjust fan level according to configured temperature limits.")
- (requirement requirement)
- (start #~(make-forkexec-constructor
- (list (string-append #$thinkfan-next "/sbin/thinkfan")
- #$@(if config-file
- #~((string-append "-c" #$config-file))
- #~())
- #$@extra-options)
- #:pid-file #$pid-file))
- (stop #~(make-kill-destructor))
- (one-shot? #t)
- (respawn? respawn?)))))
-
-(define thinkfan-service-type
- (service-type
- (name 'thinkfan)
- (extensions
- (list (service-extension shepherd-root-service-type
- thinkfan-shepherd-service)))
- (default-value (thinkfan-configuration))
- (description
- "Adjust fan level according to configured temperature limits.")))
diff --git a/modules/radix/system/setuid.scm b/modules/radix/system/setuid.scm
deleted file mode 100644
index bccf916..0000000
--- a/modules/radix/system/setuid.scm
+++ /dev/null
@@ -1,15 +0,0 @@
-(define-module (radix system setuid)
- #:use-module (pipe)
- #:use-module (ice-9 match)
- #:use-module (radix utils)
- #:use-module (gnu system setuid)
- #:export (map-setuid-programs))
-
-(define-syntax-rule
- (map-setuid-programs (package package-programs) clause ...)
- (map (match-lambda ((package-program . package)
- (setuid-program
- (program (->> package-program
- (string-append "/bin/")
- (file-append package))))))
- (associate-right (package package-programs) clause ...)))
diff --git a/modules/radix/utils.scm b/modules/radix/utils.scm
deleted file mode 100644
index c13e01e..0000000
--- a/modules/radix/utils.scm
+++ /dev/null
@@ -1,22 +0,0 @@
-(define-module (radix utils)
- #:use-module (srfi srfi-26)
- #:export (associate-left
- associate-right
- flatmap))
-
-(define-syntax-rule
- (associate-left (key associations) ...)
- `(,@(map (cut cons key <>) associations) ...))
-
-(define-syntax-rule
- (associate-right (association keys) ...)
- `(,@(map (cut cons <> association) keys) ...))
-
-(define (flatmap proc . args)
- (if (null? (cdr args))
- (map proc (car args))
- (apply append
- (map (lambda (x) (apply flatmap
- (lambda arglist (apply proc x arglist))
- (cdr args)))
- (car args)))))
diff --git a/radio.scm b/radio.scm
deleted file mode 100644
index 4424dd9..0000000
--- a/radio.scm
+++ /dev/null
@@ -1,339 +0,0 @@
-#|Modules|#
-(use-modules
- #|GNU |# (gnu)
- (gnu home)
- (gnu home services)
- #|Radix|# (radix packages fonts)
- (radix packages wm)
- (radix home services)
- (radix utils)
- ((radix files awesome) #:prefix file:awesome-)
- ((radix files emacs) #:prefix file:emacs-)
- ((radix files fish) #:prefix file:fish-)
- ((radix files git) #:prefix file:git-)
- ((radix files info) #:prefix file:info-)
- ((radix files kakoune) #:prefix file:kak-)
- ((radix files lf) #:prefix file:lf-)
- ((radix files mpv) #:prefix file:mpv-)
- ((radix files newsraft) #:prefix file:newsraft-)
- ((radix files zathura) #:prefix file:zathura-)
- #|SRFI |# (srfi srfi-13)
- (srfi srfi-26))
-
-(use-package-modules
- #|A|# admin
- #|B|# base bittorrent
- #|C|# c calendar
- #|D|# disk
- #|E|# emacs emacs-xyz
- #|F|# file freedesktop fonts
- #|G|# games gnome gnu-doc gnupg gnuzilla gtk guile-xyz
- #|I|# image-viewers
- #|L|# linux
- #|M|# messaging minetest
- #|P|# package-management password-utils pdf plotutils pulseaudio python-xyz
- #|S|# scheme shells ssh suckless
- #|T|# telegram tex text-editors tor toys
- #|V|# version-control video
- #|W|# web-browsers wm
- #|X|# xdisorg xorg)
-
-(use-home-service-modules
- #|D|# desktop
- #|G|# gnupg
- #|M|# mcron
- #|S|# shells ssh shepherd
- #|X|# xdg)
-
-(home-environment
- (packages
- (list #|admin |# neofetch
- #|bittorrent |# aria2 qbittorrent
- #|c |# c-intro-and-ref
- #|calendar |# remind
- #|disk |# lf ;Remove if I get used to dirvish
- #|emacs |# emacs-next
- #|emacs-xyz |#
- #| • completion |# emacs-cape emacs-corfu emacs-corfu-doc
- emacs-consult-lsp emacs-vertico
- #| • centering |# emacs-olivetti
- #| • file manager |# emacs-dirvish
- #| • fuzzy-finder |# emacs-orderless
- #| • guile |# emacs-geiser emacs-geiser-guile
- emacs-macrostep-geiser emacs-geiser-eros
- #| • guix |# emacs-guix emacs-direnv
- #| • haunt |# emacs-ox-haunt
- #| • icons |# emacs-all-the-icons
- #| • irc |# emacs-circe
- #| • kakoune |# emacs-kakoune emacs-phi-search-mc emacs-ryo-modal
- #| • latex |# emacs-auctex emacs-latex-preview-pane
- #| • linter |# emacs-flycheck emacs-flycheck-guile
- #| • maps |# emacs-osm
- #| • music player |# emacs-emms
- #| • org |# emacs-org-bullets emacs-org-fragtog
- emacs-org-present emacs-org-roam emacs-org-modern
- #| • pulsar |# emacs-pulsar
- #| • rss |# emacs-elfeed emacs-elfeed-org
- #| • s-expressions |# emacs-lispy emacs-rainbow-delimiters
- #| • ease config |# emacs-setup
- #| • typing |# emacs-typing
- #| • terminal |# emacs-eat
- #|file |# file
- #|fonts |# font-arabic-misc font-liberation font-meslo-lg-dz
- font-misc-misc font-un font-wqy-zenhei
- #|freedesktop |# xdg-utils
- #|games |# minetest supertuxkart xonotic
- #|gnome |# adwaita-icon-theme
- #|gnu-doc |# gnu-standards
- #|gnupg |# gnupg pinentry
- #|gnuzilla |# icecat
- #|gtk |# guile-cairo
- #|guile-xyz |# guile-irregex guile-reader guile-machine-code
- guile-ncurses guile-pipe guile-pfds
- guile-quickcheck guile-smc guile-srfi-159
- guile-srfi-189 haunt
- #|image-viewers |# nsxiv
- #|messaging |# toxic
- #|package-management|# gwl
- #|password-utils |# keepassxc
- #|pdf |# zathura zathura-pdf-mupdf zathura-pdf-poppler
- zathura-djvu
- #|plotutils |# guile-charting
- #|pulseaudio |# pulseaudio pamixer pavucontrol
- #|python-xyz |# python-ueberzug
- #|scheme |# sicp slib
- #|shells |# fish fish-foreign-env
- #|ssh |# openssh
- #|suckless |# xst
- #|telegram |# telegram-desktop
- #|tex |# texlive-amsfonts texlive-scheme-basic
- texlive-beamer texlive-bibtex texlive-ec
- texlive-latex-fonts texlive-graphics
- texlive-float texlive-geometry texlive-minted
- texlive-pdfx texlive-texinfo texlive-tools
- texlive-unicode-math
- #|tor |# tor
- #|toys |# oneko
- #|vesion-control |# git
- #|video |# ffmpeg mpv yt-dlp
- #|web-browsers |# nyxt
- #|wm |# awesome-next
- #|xdisorg |# maim redshift xbanish xclip xdotool xinit xsel
- #|xorg |# setxkbmap xinput xf86-input-libinput xkill
- xmodmap xorg-server xrdb xset))
-
- (services
- (list #|XDG services|#
- (simple-service 'xdg-base-directories-service
- home-xdg-base-directories-service-type
- (home-xdg-base-directories-configuration
- (cache-home "$HOME/.cache")
- (config-home "$HOME/.config")
- (data-home "$HOME/.local/share")
- (runtime-dir "/run/user/1000")
- (log-home "$HOME/.local/var/log")
- (state-home "$HOME/.local/state")))
-
- (simple-service 'xdg-user-directories-service
- home-xdg-user-directories-service-type
- (home-xdg-user-directories-configuration
- (desktop "$HOME/desktop")
- (documents "$HOME/documents")
- (download "$HOME/.local/share/downloads")
- (music "$HOME/music")
- (pictures "$HOME/pictures")
- (videos "$HOME/videos")
- (publicshare "")
- (templates "")))
-
- (simple-service 'xdg-mime-applications-service
- home-xdg-mime-applications-service-type
- (home-xdg-mime-applications-configuration
- (default (associate-right
- ('icecat.desktop
- `("text/html"
- "application/xhtml+xml"
- "application/x-extension-htm"
- "application/x-extension-xhtml"
- "application/x-extension-xht"
- "x-scheme-handler/http"
- "x-scheme-handler/https"))
- ('kak.desktop
- `("text/plain"
- "text/troff"
- "text/xml"
- "text/x-c"
- "text/x-c++"
- "text/x-diff"
- "text/x-lisp"
- "text/x-scheme"
- "text/x-shellscript"
- "text/x-tex"))
- ('lf.desktop
- `("inode/directory"
- "x-scheme-handler/ftp"
- "x-scheme-handler/nfs"
- "x-scheme-handler/smb"
- "x-scheme-handler/ssh"
- "application/x-directory"))
- ('mpv.desktop
- `("image/gif"
- "audio/mpeg"
- "audio/ogg"
- "audio/opus"
- "audio/x-opus+ogg"
- "video/mp4"
- "video/x-matroska"
- "video/webm"))
- ('nsxiv.desktop
- `("image/avif"
- "image/bmp"
- "image/jpeg"
- "image/png"
- "image/svg+xml"
- "image/webp"))
- ('org.pwmt.zathura.desktop
- `("image/vnd.djvu"
- "application/pdf"
- "application/epub+zip"))))))
-
- (simple-service 'xdg-configuration-files-service
- home-xdg-configuration-files-service-type
- `(("awesome/rc.lua" ,file:awesome-config)
- ("awesome/themes/current-theme.lua" ,file:awesome-theme)
- ("emacs/init.el" ,file:emacs-init)
- ("emacs/theme.el" ,file:emacs-theme)
- ("fish/fish_variables" ,file:fish-variables)
- ("fish/functions/fish_greeting.fish" ,file:fish-functions-greeting)
- ("fish/functions/fish_prompt.fish" ,file:fish-functions-prompt)
- ("git/config" ,file:git-config)
- ("infokeys" ,file:info-keys)
- ("kak/kakrc" ,file:kak-config)
- ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme)
- ("lf/lfrc" ,file:lf-config)
- ("mpv/mpv.conf" ,file:mpv-config)
- ("mpv/input.conf" ,file:mpv-input)
- ("newsraft/config" ,file:newsraft-config)
- ("zathura/zathurarc" ,file:zathura-config)))
-
- #|Shepherd service|#
- (service home-shepherd-service-type)
-
- #|Shell services|#
- (service home-fish-service-type
- (home-fish-configuration
- (config (list file:fish-abbreviations))
- (aliases
- `(#|Common aliases|#
- ("df" . "df -h")
- ("diff" . "diff --color=auto")
- ("grep" . "grep --color=auto")
- ("ip" . "ip --color=auto")
- ("ls" . ,(format #f "ls --color=auto ~
- --group-directories-first ~
- --classify ~
- -hlv"))
-
- #|Clear terminal screen without ncurses|#
- ("clear" . "printf \"\\033c\"")
-
- #|Make ln idempotent|#
- ("ln" . "ln -sfn")
-
- #|Kakoune bindings for info|#
- ("info" . "info --init-file $XDG_CONFIG_HOME/infokeys")
-
- #|Easy presentation setup with xrandr|#
- ("present" . ,(format #f "xrandr --output LVDS-1 ~
- --mode 1366x768 ~
- --scale 1x1 ~
- --output VGA-1 ~
- --same-as LVDS-1 ~
- --mode 1920x1080 ~
- --scale 0.711x0.711"))
-
- #|Display images in lf using ueberzug|#
- ("lf" . "$XDG_CONFIG_HOME/lf/lfrun")
-
- #|Listen to libre music on vern's radio|#
- ("radio" . "https://radio.vern.cc")
-
- #|Kakoune aliases for the shell|#
- ("':e'" . "kak")
- ("':q'" . "exit")))))
-
- (simple-service 'environment-variables-service
- home-environment-variables-service-type
- `(#|Shells|#
- ("HISTFILE" . "$XDG_CACHE_HOME/bash/history")
- ("HISTSIZE" . "-1")
- ("HISTFILESIZE" . "-1")
- ("PATH" . "$HOME/.local/bin:$PATH")
-
- #|Language|#
- ("LANG" . "en_US.UTF-8")
- ("LANGUAGE" . "en_US.UTF-8")
- ("LC_COLLATE" . "C")
-
- #|Default applications|#
- ("BROWSER" . "icecat")
- ("EDITOR" . "kak")
- ("FCEDIT" . "kak")
- ("PAGER" . "less")
- ("READER" . "zathura")
- ("SHELL" . "fish")
- ("TERMINAL" . "st")
- ("VISUAL" . "kak")
- ("WM" . "awesome")
-
- #|Xorg|#
- ("XINITRC" . "$XDG_CONFIG_HOME/X11/xinitrc")
-
- #|Readline|#
- ("INPUTRC" . "$XDG_CONFIG_HOME/readline/inputrc")
-
- #|GTK|#
- ("GTK_RC_FILES" . "$XDG_CONFIG_HOME/gtk-2.0/gtkrc")
-
- #|Guile|#
- ("GUILE_WARN_DEPRECATED" . "detailed")
- ("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history")
- ("GUILE_LOAD_PATH" . ,(string-join
- (cons "$HOME/projects/guile/radix/modules"
- (map (cut string-append <> "/share/guile/site/3.0")
- '("/run/current-system/profile"
- "$XDG_CONFIG_HOME/guix/current"
- "$HOME/.guix-home/profile")))
- ":" 'infix))
-
- #|GUIX|#
- ("GUIX_PROFILE" . "$XDG_CONFIG_HOME/guix/current")
-
- #|Other program settings|#
- ("RUNLEVEL" . "3")
- ("TERMINFO" . "$XDG_DATA_HOME/terminfo")
- ("GRADLE_USER_HOME" . "$XDG_DATA_HOME/gradle")
- ("RUSTUP_HOME" . "$XDG_DATA_HOME/rustup")
- ("CARGO_HOME" . "$XDG_DATA_HOME/cargo")
- ("DOTREMINDERS" . "$XDG_DATA_HOME/reminders")))
-
- (service home-openssh-service-type
- (home-openssh-configuration
- (hosts (list (openssh-host
- (name "codeberg.org")
- (host-name "codeberg.org")
- (user "git")
- (identity-file "~/.ssh/codeberg"))))
- (authorized-keys #f)))
-
- (service home-gpg-agent-service-type
- (home-gpg-agent-configuration
- (pinentry-program
- (file-append pinentry "/bin/pinentry-curses"))))
-
- #|Mcron service|#
- (service home-mcron-service-type
- (home-mcron-configuration
- (jobs (list #~(job "30 6 * * *"
- "mpv --shuffle $XDG_MUSIC_DIR"))))))))
-