aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-06 17:39:00 -0300
committerEuAndreh <eu@euandre.org>2022-11-06 17:39:00 -0300
commit3597562165838c7ce462effa5c7eaa48cb436346 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parentranger.conf: Move to tilde (diff)
downloaddotfiles-3597562165838c7ce462effa5c7eaa48cb436346.tar.gz
dotfiles-3597562165838c7ce462effa5c7eaa48cb436346.tar.xz
m
Diffstat (limited to '')
-rw-r--r--.gitignore2
-rw-r--r--.tdrc1
-rw-r--r--COPYING661
-rw-r--r--Makefile14
-rw-r--r--README.md22
-rw-r--r--TODOs.md41
-rwxr-xr-xaux/assert-nixfmt.sh11
-rwxr-xr-xaux/assert-shellcheck.sh6
-rwxr-xr-xaux/assert-todos.sh58
-rwxr-xr-xaux/ci/ci-build.sh52
-rwxr-xr-xaux/ci/git-post-receive.sh14
-rwxr-xr-xaux/ci/git-pre-push.sh21
-rwxr-xr-xaux/ci/report.sh70
-rw-r--r--aux/guix/manifest.scm18
-rw-r--r--aux/guix/pinned-channels.scm11
-rwxr-xr-xaux/guix/with-container.sh13
-rw-r--r--aux/tld.txt1
-rwxr-xr-xaux/workflow/TODOs.sh35
-rwxr-xr-xaux/workflow/assert-changelog.sh14
-rwxr-xr-xaux/workflow/assert-readme.sh59
-rwxr-xr-xaux/workflow/commonmark.sh20
-rwxr-xr-xaux/workflow/dist.sh27
-rw-r--r--aux/workflow/favicon.html1
-rw-r--r--aux/workflow/favicon.pngbin2372 -> 0 bytes
-rw-r--r--aux/workflow/favicon.svg62
-rw-r--r--aux/workflow/preamble.md16
-rwxr-xr-xaux/workflow/public.sh17
-rwxr-xr-xaux/workflow/sign-tarballs.sh17
-rw-r--r--aux/workflow/style.css46
-rw-r--r--configuration.nix611
-rw-r--r--description1
-rw-r--r--infokey7
-rw-r--r--long-description2
-rw-r--r--mailcap.conf1
-rw-r--r--npmrc.sh5
-rw-r--r--os.scm181
-rw-r--r--sbclrc.lisp6
-rw-r--r--sh/Positive.oggbin99826 -> 0 bytes
-rw-r--r--sh/agents.sh11
-rw-r--r--sh/aliases.sh33
-rw-r--r--sh/bash-config.sh57
-rw-r--r--sh/bash_profile.sh4
-rw-r--r--sh/bashrc.sh17
-rw-r--r--sh/colors.sh115
-rw-r--r--sh/env.sh32
-rw-r--r--sh/fake-symlinks.sh354
-rw-r--r--sh/fzf.sh85
-rw-r--r--sh/mr-execute.sh10
-rw-r--r--sh/ps1.sh135
-rw-r--r--sh/reload.sh7
-rw-r--r--sh/symlinks.sh47
l---------sh/templates/..git/hooks/pre-push1
-rw-r--r--sh/templates/..gitignore1
-rw-r--r--sh/templates/CHANGELOG.md10
-rw-r--r--sh/templates/COPYING661
-rw-r--r--sh/templates/Makefile100
-rw-r--r--sh/templates/TODOs.md16
-rw-r--r--sh/templates/_plugins/linter.rb55
-rwxr-xr-xsh/templates/aux/assert-perltidy.sh0
-rwxr-xr-xsh/templates/aux/assert-shellcheck.sh6
-rwxr-xr-xsh/templates/aux/ci/ci-build.sh52
-rwxr-xr-xsh/templates/aux/ci/git-post-receive.sh14
-rw-r--r--sh/templates/aux/ci/git-pre-push.sh21
-rwxr-xr-xsh/templates/aux/ci/report.sh70
-rw-r--r--sh/templates/aux/guix/manifest.scm17
-rw-r--r--sh/templates/aux/guix/pinned-channels.scm11
-rwxr-xr-xsh/templates/aux/guix/with-container.sh13
-rwxr-xr-xsh/templates/aux/tests-lib.sh93
-rw-r--r--sh/templates/aux/tld.txt1
-rwxr-xr-xsh/templates/aux/utils.sh9
-rwxr-xr-xsh/templates/aux/workflow/TODOs.sh35
-rwxr-xr-xsh/templates/aux/workflow/assert-changelog.sh14
-rwxr-xr-xsh/templates/aux/workflow/assert-readme.sh59
-rwxr-xr-xsh/templates/aux/workflow/assert-todos.sh57
-rwxr-xr-xsh/templates/aux/workflow/commonmark.sh20
-rwxr-xr-xsh/templates/aux/workflow/dist.sh27
-rw-r--r--sh/templates/aux/workflow/favicon.html1
-rw-r--r--sh/templates/aux/workflow/favicon.pngbin2372 -> 0 bytes
-rw-r--r--sh/templates/aux/workflow/favicon.svg62
-rw-r--r--sh/templates/aux/workflow/preamble.md16
-rwxr-xr-xsh/templates/aux/workflow/public.sh17
-rwxr-xr-xsh/templates/aux/workflow/sign-tarballs.sh17
-rw-r--r--sh/templates/aux/workflow/style.css46
-rw-r--r--sh/templates/cronjob-with-email.sh32
-rw-r--r--sh/templates/description1
-rw-r--r--sh/templates/long-description1
-rwxr-xr-xsh/templates/tests/lib.sh77
-rw-r--r--sh/util.sh29
-rw-r--r--sh/vcs.sh6
-rw-r--r--sh/x.sh18
-rwxr-xr-xsrc/bin/backup97
-rwxr-xr-xsrc/bin/commit-md59
-rwxr-xr-xsrc/bin/copy67
-rwxr-xr-xsrc/bin/fim50
-rwxr-xr-xsrc/bin/gc91
-rwxr-xr-xsrc/bin/open96
-rwxr-xr-xsrc/bin/print151
-rwxr-xr-xsrc/bin/qr56
-rwxr-xr-xsrc/bin/rfc98
l---------src/bin/xdg-open1
-rwxr-xr-xsrc/bin/yt90
-rwxr-xr-xxmonad/scripts/brightness.sh30
-rwxr-xr-xxmonad/scripts/dmenu-clipmenu.sh4
-rwxr-xr-xxmonad/scripts/dmenu-emoji.sh12
-rwxr-xr-xxmonad/scripts/dmenu-pass-login.sh10
-rwxr-xr-xxmonad/scripts/dmenu-pass.sh17
-rw-r--r--xmonad/scripts/list-emoji.txt1432
-rwxr-xr-xxmonad/scripts/playerctl-play-pause.sh14
-rwxr-xr-xxmonad/scripts/rotate-mpris-player.sh30
-rwxr-xr-xxmonad/scripts/toggle-pulseaudio-sink.sh14
-rwxr-xr-xxmonad/scripts/xmobar-mail.sh11
-rwxr-xr-xxmonad/scripts/xmobar-mpris.sh8
-rwxr-xr-xxmonad/scripts/xmobar-notifications.sh8
-rwxr-xr-xxmonad/scripts/zero-brightness.sh11
114 files changed, 0 insertions, 7194 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index baec669b..00000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/aux/workflow/assert-todos.sh
-/public/
diff --git a/.tdrc b/.tdrc
deleted file mode 100644
index c30c6ee3..00000000
--- a/.tdrc
+++ /dev/null
@@ -1 +0,0 @@
-TD_USE_BUILTIN_HOOKS='git'
diff --git a/COPYING b/COPYING
deleted file mode 100644
index be3f7b28..00000000
--- a/COPYING
+++ /dev/null
@@ -1,661 +0,0 @@
- GNU AFFERO GENERAL PUBLIC LICENSE
- Version 3, 19 November 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU Affero General Public License is a free, copyleft license for
-software and other kinds of works, specifically designed to ensure
-cooperation with the community in the case of network server software.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-our General Public Licenses are 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.
-
- 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.
-
- Developers that use our General Public Licenses protect your rights
-with two steps: (1) assert copyright on the software, and (2) offer
-you this License which gives you legal permission to copy, distribute
-and/or modify the software.
-
- A secondary benefit of defending all users' freedom is that
-improvements made in alternate versions of the program, if they
-receive widespread use, become available for other developers to
-incorporate. Many developers of free software are heartened and
-encouraged by the resulting cooperation. However, in the case of
-software used on network servers, this result may fail to come about.
-The GNU General Public License permits making a modified version and
-letting the public access it on a server without ever releasing its
-source code to the public.
-
- The GNU Affero General Public License is designed specifically to
-ensure that, in such cases, the modified source code becomes available
-to the community. It requires the operator of a network server to
-provide the source code of the modified version running there to the
-users of that server. Therefore, public use of a modified version, on
-a publicly accessible server, gives the public access to the source
-code of the modified version.
-
- An older license, called the Affero General Public License and
-published by Affero, was designed to accomplish similar goals. This is
-a different license, not a version of the Affero GPL, but Affero has
-released a new version of the Affero GPL which permits relicensing under
-this license.
-
- 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 Affero 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. Remote Network Interaction; Use with the GNU General Public License.
-
- Notwithstanding any other provision of this License, if you modify the
-Program, your modified version must prominently offer all users
-interacting with it remotely through a computer network (if your version
-supports such interaction) an opportunity to receive the Corresponding
-Source of your version by providing access to the Corresponding Source
-from a network server at no charge, through some standard or customary
-means of facilitating copying of software. This Corresponding Source
-shall include the Corresponding Source for any work covered by version 3
-of the GNU General Public License that is incorporated pursuant to the
-following paragraph.
-
- 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 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 work with which it is combined will remain governed by version
-3 of the GNU General Public License.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU Affero 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 Affero 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 Affero 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 Affero General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero 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 Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
- If your software can interact with users remotely through a computer
-network, you should also make sure that it provides a way for users to
-get its source. For example, if your program is a web application, its
-interface could display a "Source" link that leads users to an archive
-of the code. There are many ways you could offer source, and different
-solutions will be better for different programs; see section 13 for the
-specific requirements.
-
- 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 AGPL, see
-<https://www.gnu.org/licenses/>.
diff --git a/Makefile b/Makefile
deleted file mode 100644
index cbce89b6..00000000
--- a/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-check:
- sh aux/assert-shellcheck.sh
- sh aux/assert-todos.sh
- sh aux/assert-nixfmt.sh
-
-dev-check: check
-
-clean:
- rm -rf public/
-
-public:
- sh aux/workflow/public.sh dotfiles dotfiles public-inbox
-
-.PHONY: clean check dev-check
diff --git a/README.md b/README.md
deleted file mode 100644
index 0e5e8e38..00000000
--- a/README.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# dotfiles - EuAndreh's personal repository
-
-## Paperkey
-
-Paperkey generated using:
-```shell
-cat <<EOF
-# Paper key
-gpg --export-secret-keys EuAndreh | paperkey > paperkey-content.txt
-
-# QR codes of paper key
-gpg --export-secret-keys EuAndreh | paperkey | qrencode -o out.png -S -v 16
-montage *.png -tile 1x2 -geometry +0+0 concatenate-out.png
-rm out*
-EOF
-```
-
-To recover from a paperkey:
-
-```shell
-paperkey --pubring <(wget -O- https://euandre.org/public-key.txt | gpg --dearmor) --secrets paperkey-content.txt | gpg --batch --import
-```
diff --git a/TODOs.md b/TODOs.md
deleted file mode 100644
index 8431ef6e..00000000
--- a/TODOs.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Tasks
-
-## TODO Revisit `README.md` {#td-6982acd2-9949-1293-10cb-85ce623bf627}
-- TODO in 2022-03-25
-
----
-
-Also look at `description` and `long-description`.
-
-## TODO Make `src/bin/print` more robust {#td-e2b2e9d5-b8c9-9ce3-a0c1-699963325d4e}
-- TODO in 2022-03-25
-
-## TODO Make code examples use monospaced font for manpage generated HTML {#task-83505972-2c0c-3569-5cb5-017daa628afd}
-- TODO in 2021-06-13
-
-## DONE Support tags in tasks? {#task-18eb3dfe-c667-4d18-967c-d406a28e94be}
-- DONE in 2021-02-20
-
- Done in
- [`250117393a0503f66bb5a10cd0199f8748d32cda`](http://euandreh.xyz/dotfiles.git/commit/?id=250117393a0503f66bb5a10cd0199f8748d32cda)
-- TODO in 2021-02-19
-
-# Bugs
-
-# Improvements
-
-# Questions
-
-# Resources
-
-# Scratch
-http://r-36.net/scm/zs/file/README.md.html
-guix command on 'doas guix'
-bkp gpg key
-keepass better recovery
-move mailing list emails out of INBOX
-notmuch backup tags
-Downloads folder being included on backup: does pruning help with this?
-rsync.net pricing for borg: should it be $18GB a year?
-backup cron
-revisit cron/ now that borg backs up everything
diff --git a/aux/assert-nixfmt.sh b/aux/assert-nixfmt.sh
deleted file mode 100755
index 19bd0a2a..00000000
--- a/aux/assert-nixfmt.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -eux
-
-# shellcheck disable=2016
-find . -type f -name '*.nix' -print0 | xargs -0 -I{} sh -c '
- nixfmt < "$1" | diff - "$1" || {
- echo "The file \"$1\" is unformatted. To fix it, run:"
- echo " nixfmt $1"
- exit 1
- }
-' _ {} \;
diff --git a/aux/assert-shellcheck.sh b/aux/assert-shellcheck.sh
deleted file mode 100755
index cc01f3af..00000000
--- a/aux/assert-shellcheck.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-set -eux
-
-git ls-files | \
- xargs awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \
- xargs shellcheck
diff --git a/aux/assert-todos.sh b/aux/assert-todos.sh
deleted file mode 100755
index 5827e340..00000000
--- a/aux/assert-todos.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-set -eu
-
-EXCLUDE='(sh/templates/|aux/assert-todos.sh|scripts/pastebin.sh|scripts/post.sh|scripts/task)'
-if git grep FIXME | grep -Ev "$EXCLUDE"; then
- echo "Found dangling FIXME markers on the project."
- echo "You should write them down properly on TODOs.org."
- exit 1
-fi
-
-awk -F'{#' '
-BEGIN {
- exitstatus = 0
- h2flag = 0
- h2status = ""
- prevline = ""
- idx = 0
- delete ids[0]
-}
-h2flag == 1 {
- split($0, l, " ")
- timelinestatus = l[2]
- if (h2status != timelinestatus) {
- print "h2/timeline status mismatch for line " NR-1
- print prevline
- print $0
- exitstatus = 1
- }
- h2status = ""
- h2flag = 0
-}
-
-/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ {
- if (match($0, / \{#.*?\}$/) == 0) {
- print "Missing ID for line " NR ":\n" $0
- exitstatus = 1
- }
- id_with_prefix = substr($2, 0, length($2) - 1)
- match(id_with_prefix, /^\w+-/)
- id = substr(id_with_prefix, RLENGTH + 1)
- if (id in arr) {
- print "Duplicate ID: " id
- exitstatus = 1
- } else {
- arr[id] = 1
- }
-
- split($0, l, " ")
- h2status = l[2]
- h2flag = 1
- prevline = $0
-}
-
-
-/^# Scratch$/ {
- exit exitstatus
-}
-' TODOs.md
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
deleted file mode 100755
index b6769a9d..00000000
--- a/aux/ci/ci-build.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-set -eux
-
-PACKAGE="$1"
-LOGS_DIR="$2"
-read -r _ SHA _ # oldrev newrev refname
-FILENAME="$(date -Is)-$SHA.log"
-LOGFILE="$LOGS_DIR/$FILENAME"
-
-{
- echo "Starting CI job at: $(date -Is)"
-
- finish() {
- STATUS="$?"
- printf "\n\n>>> exit status was %s\n" "$STATUS"
- echo "Finishing CI job at: $(date -Is)"
- cd -
- NOTE=$(cat <<EOF
-See CI logs with:
- git notes --ref=refs/notes/ci-logs show $SHA
- git notes --ref=refs/notes/ci-data show $SHA
-EOF
-)
- git notes --ref=refs/notes/ci-data add -f -m "$STATUS $FILENAME"
- git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE"
- git notes append -m "$NOTE"
-
- cd -
- sh aux/ci/report.sh "$PACKAGE"
- rsync -a public/ "/srv/http/$PACKAGE/" --delete
-
- printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS"
- }
- trap finish EXIT
-
- unset GIT_DIR
- REMOTE="$PWD"
- cd "$(mktemp -d)"
- git clone "$REMOTE" .
- git config --global user.email git@euandre.org
- git config --global user.name 'EuAndreh CI'
- git fetch origin refs/notes/*:refs/notes/*
- git annex get ||:
-
- if [ -f aux/guix/with-container.sh ]; then
- RUNNER='./aux/guix/with-container.sh'
- else
- RUNNER='sh -c'
- fi
-
- $RUNNER 'make clean public dev-check'
-} 2>&1 | tee "$LOGFILE"
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh
deleted file mode 100755
index ee8075f3..00000000
--- a/aux/ci/git-post-receive.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do
- opt="$(eval "echo \$GIT_PUSH_OPTION_$n")"
- if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then
- printf "\n'%s' option detected, not running ci-build.sh\n\n" "$opt"
- exit 0
- fi
-done
-
-PACKAGE="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix
-LOGS_DIR="/opt/ci/$PACKAGE/logs"
-"/opt/ci/$PACKAGE/ci-build.sh" "$PACKAGE" "$LOGS_DIR"
diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh
deleted file mode 100755
index e73b9b85..00000000
--- a/aux/ci/git-pre-push.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -eux
-
-TLD="$(cat aux/tld.txt)"
-
-PACKAGE="$(basename "$PWD")"
-LOGS_DIR="/opt/ci/$PACKAGE/logs"
-REMOTE_GIT_DIR="/srv/git/$PACKAGE.git"
-
-DESCRIPTION="$(mktemp)"
-if [ -f description ]
-then
- cp description "$DESCRIPTION"
-else
- git config euandreh.description > "$DESCRIPTION"
-fi
-
-scp "$DESCRIPTION" "$TLD:$REMOTE_GIT_DIR/description"
-ssh "$TLD" mkdir -p "$LOGS_DIR"
-scp aux/ci/ci-build.sh "$TLD:$(dirname "$LOGS_DIR")/ci-build.sh"
-scp aux/ci/git-post-receive.sh "$TLD:$REMOTE_GIT_DIR/hooks/post-receive"
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
deleted file mode 100755
index 65d33356..00000000
--- a/aux/ci/report.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT_UC="$1"
-
-PASS='โœ…'
-FAIL='โŒ'
-
-mkdir -p public/ci-logs public/ci-data
-
-OUT="$(mktemp)"
-chmod 644 "$OUT"
-
-git fetch origin refs/notes/*:refs/notes/* ||:
-
-for c in $(git notes list | cut -d\ -f2); do
- DATA="$(git notes --ref=refs/notes/ci-data show "$c")"
- FILENAME="$(echo "$DATA" | cut -d\ -f2)"
- echo "$DATA" > "public/ci-data/$FILENAME"
- git notes --ref=refs/notes/ci-logs show "$c" > "public/ci-logs/$FILENAME"
-done
-
-cat <<EOF >> "$OUT"
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
-
- <style>
- pre {
- display: inline;
- }
- </style>
- </head>
- <body>
- <h1>
- CI logs for $PROJECT_UC
- </h1>
- <ul>
-EOF
-
-for f in $(find public/ci-data/ -type f | LANG=C.UTF-8 sort -r); do
- DATA="$(cat "$f")"
- STATUS="$(echo "$DATA" | cut -d\ -f1)"
- FILENAME="$(echo "$DATA" | cut -d\ -f2)"
-
- if [ "$STATUS" = 0 ]; then
- STATUS_MARKER="$PASS"
- else
- STATUS_MARKER="$FAIL"
- fi
-
- cat <<EOF >> "$OUT"
- <li>
- <a href="ci-logs/$FILENAME">
- $STATUS_MARKER <pre>$FILENAME</pre>
- </a>
- </li>
-EOF
-done
-
-cat <<EOF >> "$OUT"
- </ul>
- </body>
-</html>
-EOF
-
-mv "$OUT" public/ci.html
diff --git a/aux/guix/manifest.scm b/aux/guix/manifest.scm
deleted file mode 100644
index e8c1cd1a..00000000
--- a/aux/guix/manifest.scm
+++ /dev/null
@@ -1,18 +0,0 @@
-(specifications->manifest
- (map symbol->string
- '(bash
- coreutils
- findutils
- diffutils
- grep
- sed
- git
- tar
- gzip
- gawk
- make
- perl
- shellcheck
- pandoc
- clang
- nixfmt)))
diff --git a/aux/guix/pinned-channels.scm b/aux/guix/pinned-channels.scm
deleted file mode 100644
index 504406f8..00000000
--- a/aux/guix/pinned-channels.scm
+++ /dev/null
@@ -1,11 +0,0 @@
-(cons*
- (channel
- (name 'xyz-euandreh)
- (url "git://euandreh.xyz/package-repository")
- (branch "main")
- (introduction
- (make-channel-introduction
- "d749e053e6db365069cb9b2ef47a78b06f9e7361"
- (openpgp-fingerprint
- "5BDA E9B8 B2F6 C6BC BB0D 6CE5 81F9 0EC3 CD35 6060"))))
- %default-channels)
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
deleted file mode 100755
index b521c825..00000000
--- a/aux/guix/with-container.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -eux
-
-if [ -z "${1:-}" ]; then
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm
-elif [ "$1" = '-p' ]; then
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm --pure -C
-else
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm --pure -C -- sh -c "$@"
-fi
diff --git a/aux/tld.txt b/aux/tld.txt
deleted file mode 100644
index 0cb8b8b0..00000000
--- a/aux/tld.txt
+++ /dev/null
@@ -1 +0,0 @@
-euandreh.xyz
diff --git a/aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
deleted file mode 100755
index 80059ee4..00000000
--- a/aux/workflow/TODOs.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT_UC="$1"
-PROJECT="$2"
-MAILING_LIST="$3"
-TLD="$(cat aux/tld.txt)"
-
-TODOS_REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{#(.*?)\}$/## <a href="#\3"><span class="\1">\1<\/span> \2<\/a>\n<span class="header-anchor" id="\3">#\3<\/span>\n/'
-
-TAGS_REGEX='s/tag:([\w-]+)/<span class="tag">\1<\/span>/g'
-
-sed -e "s:@PROJECT_UC@:$PROJECT_UC:g" \
- -e "s:@PROJECT@:$PROJECT:g" \
- -e "s:@MAILING_LIST@:$MAILING_LIST:g" \
- -e "s:@TLD@:$TLD:g" \
- < aux/workflow/preamble.md | \
- printf \
- '%s\n\n%s' \
- "$(cat -)" \
- "$(perl -pe "$TODOS_REGEX" TODOs.md | perl -pe "$TAGS_REGEX")" | \
- pandoc \
- --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - TODOs" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- -H aux/workflow/favicon.html \
- -H aux/workflow/style.css \
- > public/TODOs.html
diff --git a/aux/workflow/assert-changelog.sh b/aux/workflow/assert-changelog.sh
deleted file mode 100755
index 8e81f1f4..00000000
--- a/aux/workflow/assert-changelog.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT="$1"
-
-for VVERSION in $(git tag); do
- VERSION="${VVERSION#v}"
- DATE="$(git log -1 --format=%cd --date=short "$VVERSION")"
- CHANGELOG_ENTRY="# [$VERSION](https://git.euandreh.xyz/$PROJECT/commit/?id=$VVERSION) - $DATE"
- if ! grep -qF "$CHANGELOG_ENTRY" CHANGELOG.md; then
- echo "Missing '$CHANGELOG_ENTRY' entry from CHANGELOG.md" >&2
- exit 1
- fi
-done
diff --git a/aux/workflow/assert-readme.sh b/aux/workflow/assert-readme.sh
deleted file mode 100755
index cef75dd9..00000000
--- a/aux/workflow/assert-readme.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT="$1"
-MAILING_LIST="$2"
-TLD="$(cat aux/tld.txt)"
-
-EXPECTED="$(mktemp)"
-cat <<EOF >> "$EXPECTED"
-
-For running the extra development-only checks, run:
-
-\`\`\`shell
-$ make dev-check
-\`\`\`
-
-and for generating the documentation HTML and website, run:
-
-\`\`\`shell
-$ make public
-\`\`\`
-
-
-## Links
-
-- [home page](https://$TLD/$PROJECT/)
-- [source code](https://git.euandreh.xyz/$PROJECT/)
-- [bug tracking](https://$TLD/$PROJECT/TODOs.html)
-- [mailing list](https://lists.sr.ht/~euandreh/$MAILING_LIST?search=%5B$PROJECT%5D)
-- [CI logs](https://$TLD/$PROJECT/ci.html)
-- [CHANGELOG](https://$TLD/$PROJECT/CHANGELOG.html)
-EOF
-
-RELEASES_LIST="$(mktemp)"
-for version in $(git tag | perl -e 'print reverse <>'); do
- echo "- version [$version](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz) ([sig](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz.asc)), released in $(git log -1 --format=%cd --date=short "$version")" >> "$RELEASES_LIST"
-done
-
-if [ -s "$RELEASES_LIST" ]; then
- printf '\n\n## Releases\n\n' >> "$EXPECTED"
- cat "$RELEASES_LIST" >> "$EXPECTED"
-fi
-
-cat <<EOF >> "$EXPECTED"
-
-
-## License
-
-The code is licensed under [GNU Affero General Public License v3.0 or later][AGPL-3.0-or-later] (AGPL-3.0-or-later).
-
-[AGPL-3.0-or-later]: https://www.gnu.org/licenses/agpl-3.0.en.html
-EOF
-
-if ! tail -n "$(wc -l < "$EXPECTED")" README.md | diff - "$EXPECTED"; then
- echo 'Missing metadata at the end of README.md file'
- exit 1
-fi
diff --git a/aux/workflow/commonmark.sh b/aux/workflow/commonmark.sh
deleted file mode 100755
index 6016f51b..00000000
--- a/aux/workflow/commonmark.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT_UC="$1"
-F="$2"
-OUT="${3:-${F%.*}.html}"
-
-pandoc \
- --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - ${F%.*}" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- -H aux/workflow/favicon.html \
- < "$F" > "public/$OUT"
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh
deleted file mode 100755
index c061a04b..00000000
--- a/aux/workflow/dist.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-set -eu
-
-DATE="$1"
-VVERSION="v$2"
-PROJECT="$3"
-
-if git show "$VVERSION" 1>/dev/null 2>/dev/null; then
- echo "Version '$VVERSION' already exists." >&2
- exit 1
-fi
-
-if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then
- echo "Date '$DATE' is not up-to-date." >&2
- exit 1
-fi
-
-if [ "Release $VVERSION" != "$(git log --format=%B -1 HEAD | head -n1)" ]; then
- echo "Commit message isn't 'Release $VVERSION'." >&2
- exit 1
-fi
-
-sh aux/workflow/assert-changelog.sh "$PROJECT"
-
-git tag "$VVERSION"
-
-sh aux/workflow/sign-tarballs.sh "$PROJECT"
diff --git a/aux/workflow/favicon.html b/aux/workflow/favicon.html
deleted file mode 100644
index 8f9327c7..00000000
--- a/aux/workflow/favicon.html
+++ /dev/null
@@ -1 +0,0 @@
-<link rel="icon" type="image/svg+xml" href="favicon.svg" />
diff --git a/aux/workflow/favicon.png b/aux/workflow/favicon.png
deleted file mode 100644
index 051fdf1d..00000000
--- a/aux/workflow/favicon.png
+++ /dev/null
Binary files differ
diff --git a/aux/workflow/favicon.svg b/aux/workflow/favicon.svg
deleted file mode 100644
index ce566b2d..00000000
--- a/aux/workflow/favicon.svg
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
- <path d="M 0 8 L 1 8 L 1 9 L 0 9 L 0 8 Z" />
- <path d="M 0 13 L 1 13 L 1 14 L 0 14 L 0 13 Z" />
- <path d="M 1 8 L 2 8 L 2 9 L 1 9 L 1 8 Z" />
- <path d="M 1 13 L 2 13 L 2 14 L 1 14 L 1 13 Z" />
- <path d="M 2 8 L 3 8 L 3 9 L 2 9 L 2 8 Z" />
- <path d="M 2 13 L 3 13 L 3 14 L 2 14 L 2 13 Z" />
- <path d="M 3 8 L 4 8 L 4 9 L 3 9 L 3 8 Z" />
- <path d="M 3 13 L 4 13 L 4 14 L 3 14 L 3 13 Z" />
- <path d="M 4 7 L 5 7 L 5 8 L 4 8 L 4 7 Z" />
- <path d="M 4 8 L 5 8 L 5 9 L 4 9 L 4 8 Z" />
- <path d="M 4 13 L 5 13 L 5 14 L 4 14 L 4 13 Z" />
- <path d="M 5 6 L 6 6 L 6 7 L 5 7 L 5 6 Z" />
- <path d="M 5 7 L 6 7 L 6 8 L 5 8 L 5 7 Z" />
- <path d="M 5 13 L 6 13 L 6 14 L 5 14 L 5 13 Z" />
- <path d="M 6 5 L 7 5 L 7 6 L 6 6 L 6 5 Z" />
- <path d="M 6 6 L 7 6 L 7 7 L 6 7 L 6 6 Z" />
- <path d="M 6 14 L 7 14 L 7 15 L 6 15 L 6 14 Z" />
- <path d="M 7 1 L 8 1 L 8 2 L 7 2 L 7 1 Z" />
- <path d="M 7 14 L 8 14 L 8 15 L 7 15 L 7 14 Z" />
- <path d="M 7 15 L 8 15 L 8 16 L 7 16 L 7 15 Z" />
- <path d="M 7 2 L 8 2 L 8 3 L 7 3 L 7 2 Z" />
- <path d="M 7 3 L 8 3 L 8 4 L 7 4 L 7 3 Z" />
- <path d="M 7 4 L 8 4 L 8 5 L 7 5 L 7 4 Z" />
- <path d="M 7 5 L 8 5 L 8 6 L 7 6 L 7 5 Z" />
- <path d="M 8 1 L 9 1 L 9 2 L 8 2 L 8 1 Z" />
- <path d="M 8 15 L 9 15 L 9 16 L 8 16 L 8 15 Z" />
- <path d="M 9 1 L 10 1 L 10 2 L 9 2 L 9 1 Z" />
- <path d="M 9 2 L 10 2 L 10 3 L 9 3 L 9 2 Z" />
- <path d="M 9 6 L 10 6 L 10 7 L 9 7 L 9 6 Z" />
- <path d="M 9 15 L 10 15 L 10 16 L 9 16 L 9 15 Z" />
- <path d="M 10 2 L 11 2 L 11 3 L 10 3 L 10 2 Z" />
- <path d="M 10 3 L 11 3 L 11 4 L 10 4 L 10 3 Z" />
- <path d="M 10 4 L 11 4 L 11 5 L 10 5 L 10 4 Z" />
- <path d="M 10 5 L 11 5 L 11 6 L 10 6 L 10 5 Z" />
- <path d="M 10 6 L 11 6 L 11 7 L 10 7 L 10 6 Z" />
- <path d="M 11 6 L 12 6 L 12 7 L 11 7 L 11 6 Z" />
- <path d="M 11 8 L 12 8 L 12 9 L 11 9 L 11 8 Z" />
- <path d="M 10 15 L 11 15 L 11 16 L 10 16 L 10 15 Z" />
- <path d="M 11 10 L 12 10 L 12 11 L 11 11 L 11 10 Z" />
- <path d="M 11 12 L 12 12 L 12 13 L 11 13 L 11 12 Z" />
- <path d="M 11 14 L 12 14 L 12 15 L 11 15 L 11 14 Z" />
- <path d="M 11 15 L 12 15 L 12 16 L 11 16 L 11 15 Z" />
- <path d="M 12 6 L 13 6 L 13 7 L 12 7 L 12 6 Z" />
- <path d="M 12 8 L 13 8 L 13 9 L 12 9 L 12 8 Z" />
- <path d="M 12 10 L 13 10 L 13 11 L 12 11 L 12 10 Z" />
- <path d="M 12 12 L 13 12 L 13 13 L 12 13 L 12 12 Z" />
- <path d="M 12 14 L 13 14 L 13 15 L 12 15 L 12 14 Z" />
- <path d="M 13 6 L 14 6 L 14 7 L 13 7 L 13 6 Z" />
- <path d="M 13 8 L 14 8 L 14 9 L 13 9 L 13 8 Z" />
- <path d="M 13 10 L 14 10 L 14 11 L 13 11 L 13 10 Z" />
- <path d="M 13 12 L 14 12 L 14 13 L 13 13 L 13 12 Z" />
- <path d="M 13 13 L 14 13 L 14 14 L 13 14 L 13 13 Z" />
- <path d="M 13 14 L 14 14 L 14 15 L 13 15 L 13 14 Z" />
- <path d="M 14 7 L 15 7 L 15 8 L 14 8 L 14 7 Z" />
- <path d="M 14 8 L 15 8 L 15 9 L 14 9 L 14 8 Z" />
- <path d="M 14 9 L 15 9 L 15 10 L 14 10 L 14 9 Z" />
- <path d="M 14 10 L 15 10 L 15 11 L 14 11 L 14 10 Z" />
- <path d="M 14 11 L 15 11 L 15 12 L 14 12 L 14 11 Z" />
- <path d="M 14 12 L 15 12 L 15 13 L 14 13 L 14 12 Z" />
-</svg>
diff --git a/aux/workflow/preamble.md b/aux/workflow/preamble.md
deleted file mode 100644
index 30efe0ba..00000000
--- a/aux/workflow/preamble.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# About
-
-TODOs for @PROJECT_UC@.
-
-See also [@TLD@/@PROJECT@/](https://@TLD@/@PROJECT@/) and [CI logs](https://@TLD@/@PROJECT@/ci.html).
-
-Register a new one at
-[~euandreh/@MAILING_LIST@@lists.sr.ht](mailto:~euandreh/@MAILING_LIST@@lists.sr.ht?subject=%5B@PROJECT@%5D%20BUG%20or%20TASK%3A%20%3Cdescription%3E)
-and see [existing discussions](https://lists.sr.ht/~euandreh/@MAILING_LIST@?search=%5B@PROJECT@%5D).
-
-*Vocรช tambรฉm pode escrever em portuguรชs*.
-
-*Vous pouvez aussi รฉcrire en franรงais*.
-
-*Vi povas ankaลญ skribi esperante*.
-
diff --git a/aux/workflow/public.sh b/aux/workflow/public.sh
deleted file mode 100755
index 8ecb8553..00000000
--- a/aux/workflow/public.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT_UC="$1"
-PROJECT="$2"
-MAILING_LIST="$3"
-
-sh aux/workflow/TODOs.sh "$PROJECT_UC" "$PROJECT" "$MAILING_LIST"
-sh aux/workflow/commonmark.sh "$PROJECT" README.md index.html ||:
-
-if [ -f CHANGELOG.md ]; then
- sh aux/workflow/commonmark.sh "$PROJECT" CHANGELOG.md
-fi
-
-sh aux/ci/report.sh "$PROJECT"
-
-cp aux/workflow/favicon.* public/
diff --git a/aux/workflow/sign-tarballs.sh b/aux/workflow/sign-tarballs.sh
deleted file mode 100755
index 8de6ac43..00000000
--- a/aux/workflow/sign-tarballs.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT="$1"
-
-SIGNATURES="$(git notes --ref=refs/notes/signatures/tar.gz list | cut -d\ -f2)"
-for tag in $(git tag); do
- COMMIT="$(git rev-list -n1 "$tag")"
- if ! echo "$SIGNATURES" | grep -qF "$COMMIT"; then
- echo "Adding missing signature to $tag" >&2
- git notes --ref=refs/notes/signatures/tar.gz add -f -C "$(
- git archive --format tar.gz --prefix "$PROJECT-${tag#v}/" "$tag" |
- gpg --output - --armor --detach-sign |
- git hash-object -w --stdin
- )" "$tag"
- fi
-done
diff --git a/aux/workflow/style.css b/aux/workflow/style.css
deleted file mode 100644
index d7935d0e..00000000
--- a/aux/workflow/style.css
+++ /dev/null
@@ -1,46 +0,0 @@
-<style>
- hr {
- background-color: #ccc;
- }
-
- div.header-anchor {
- opacity: 0.5;
- }
-
- span.tag {
- font-family: monospace;
- font-size: 70%;
- background-color: lightgray;
- padding: 3px;
- border-radius: 5px;
- }
-
- /*
- Replicate colors from:
- https://git.euandreh.xyz/dotfiles/tree/spacemacs.el?id=fcd9f9c4ef399d45d54927382dc1cdde251ebb0a#n866
- */
-
- .TODO {
- color: brown;
- }
-
- .DOING {
- color: yellowgreen;
- }
-
- .WAITING, .MEETING {
- color: gray;
- }
-
- .INACTIVE {
- color: orange;
- }
-
- .NEXT {
- color: red;
- }
-
- .CANCELLED, .DONE {
- color: green;
- }
-</style>
diff --git a/configuration.nix b/configuration.nix
deleted file mode 100644
index 99d44aec..00000000
--- a/configuration.nix
+++ /dev/null
@@ -1,611 +0,0 @@
-{ config, pkgs, ... }:
-
-# rollback to a previously working channel version, useful
-# when "doas nixos-rebuild switch --upgrade" breaks:
-#
-# $ doas nix-channel --rollback
-
-let
- enable-virtualization = true;
- extra-groups = if enable-virtualization then [ "docker" ] else [];
- extra-packages = with pkgs; [
- ] ++ (if enable-virtualization then [ gitlab-runner ] else []);
- work = {
- packages = with pkgs; {
- proprietary = [
- slack
- zoom-us
- openfortivpn
- skypeforlinux
- chromium
- ];
- libre = [
- yubioath-desktop
- clojure # =clj=
- ];
- };
- config = {
- yubioauth-support = true;
- };
- };
-in {
- imports = [ /etc/nixos/hardware-configuration.nix ];
-
- # Use the systemd-boot EFI boot loader.
- boot = {
- loader = {
- efi.canTouchEfiVariables = true;
- grub = {
- enable = true;
- version = 2;
- efiSupport = true;
- device = "nodev";
- };
- };
- initrd.luks.devices = {
- crypted = {
- device = "/dev/nvme0n1p2";
- preLVM = true;
- };
- };
- };
-
- hardware = {
- bluetooth.enable = true;
- pulseaudio = {
- package = pkgs.pulseaudioFull;
- enable = true;
- extraModules = [ pkgs.pulseaudio-modules-bt ];
- extraConfig = ''
- # Switch between headset and headphone mode (e.g. for calls and music) automatically
- load-module module-bluetooth-policy auto_switch=2
- # Echo cancellation and noise cleanup of mic
- load-module module-echo-cancel aec_method=webrtc
-
- # https://til.flourishing.stream/2020/05/24/cancelamento-de-ruido-pulseaudio/
- ### Enable Echo/Noise-Cancellation
- load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args="analog_gain_control=0\ digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
- set-default-source echoCancel_source
- set-default-sink echoCancel_sink
- '';
- };
- };
-
- networking = {
- hostName = "usurpador";
- networkmanager.enable = true;
- };
-
- console = {
- keyMap = "br-abnt2";
- };
-
- # Select internationalisation properties.
- i18n = {
- defaultLocale = "fr_FR.UTF-8";
- };
-
- # Set your time zone.
- time.timeZone = "America/Sao_Paulo";
-
- documentation = {
- enable = true;
- man.enable = true;
- dev.enable = true;
- man.generateCaches = true;
- nixos.includeAllModules = true;
- };
-
- environment = {
- enableDebugInfo = true;
-
- systemPackages = let
- pkgs-19 = import (fetchTarball
- "https://github.com/NixOS/nixpkgs/archive/b0d748e244df6c977b2a1db3873ffdc271e59615.tar.gz")
- { };
- pkgs-21 = import (fetchTarball
- "https://github.com/NixOS/nixpkgs/archive/e6377ff35544226392b49fa2cf05590f9f0c4b43.tar.gz")
- { };
- bmake-with-alias = pkgs.bmake.overrideAttrs (oldAttrs: {
- postInstall = ''
- ln -s $out/bin/bmake $out/bin/make
- '';
- });
- tinycc-with-posix-alias = pkgs.tinycc.overrideAttrs (oldAttrs: {
- postInstall = ''
- ln -s $out/bin/tcc $out/bin/c99
- '';
- });
- timidity-with-more-formats = pkgs.timidity.overrideAttrs (oldAttrs: {
- configureFlags = oldAttrs.configureFlags ++ [ "--enable-audio=vorbis,flac" ];
- buildInputs = oldAttrs.buildInputs ++ (with pkgs; [ libogg libvorbis flac ]);
- });
- mktorrent-latest = pkgs.mktorrent.overrideAttrs (oldAttrs: rec {
- version = "de7d011b35458de1472665f50b96c9cf6c303f39";
- src = pkgs.fetchFromGitHub {
- owner = "Rudde";
- repo = "mktorrent";
- rev = version;
- sha256 = "1gsky1ijxrfsw07lvfjw4annjkdfpmnp8nnddi1wakbzqn6v5dwq";
- };
- });
-
- in with pkgs;
- [
- vagrant
-
- ## Documentation
- posix_man_pages
- scheme-manpages
-
- ## DVCS
- mr
- fossil
- mercurial
- cvs
- pkgs-19.bitkeeper
- pkgs-19.packer
- gitAndTools.gitFull
- gitAndTools.gitRemoteGcrypt
- gitAndTools.git-open
-
- ## Personal data tools
- borgbackup
- pass
- gnupg
- pinentry_gtk2
-
- ## CLI tools
- groff
- mktorrent-latest
- pkgs-21.diffoscope
- diffoscope
- bash-completion
- nix-bash-completions
- youtube-dl
- wget
- tmux
- sox # =play=, SoX - Sound eXchange
- gettext
- perlPackages.Po4a
- rlwrap
- jq
- rq
- openvpn
- xclip
- psmisc # =killall=
- tree
- feh
- qrencode
- bind # =dig=
- rsync
- moreutils # =vipe=, =sponge=, errno
- graphviz # =dot= and others
- mkpasswd
- direnv
- recutils
- sqlite
- trash-cli
- entr
- mailutils
- ffmpeg-full
- ledger
- gnuplot
- ranger
- electrum
- zathura
- st
- pavucontrol
- newsboat
- acpi
- xsel
- nixfmt
- nvi
- fzf
- calcurse
- pandoc
- cloc
- inetutils # telnet
- lsof
- lsscsi
- gotop
- imagemagick
- enscript
- tcl
- python3
- unzip
-
- ## System utilities
- pmutils
- btrfs-progs
-
- ## Mail
- isync
- notmuch
- afew
- # alot FIXME
- pkgs-21.alot
- w3m
- urlscan
- md4c
- docutils
- timidity-with-more-formats
-
- ## Conversations
- # gomuks
- weechat
- # poezio
-
- ## Programming tools
- perl
- shellcheck
- gcc
- musl.dev
- clang
- clang-tools
- valgrind
- gdb
- sbcl
- nodejs_latest
- quickjs
- deno
- lilypond
- ghostscript
- pdftk
- guile_3_0
-
- ## POSIX
- bmake-with-alias
- byacc
- bc
- lzip
- gnugrep
- file
- ed
- tinycc-with-posix-alias
- m4
- bintools-unwrapped
- units
-
- ## Containers and VMs
- qemu
- expect
-
- ## xmonad
- xorg.xmodmap
- xorg.xmessage
- dmenu
- escrotum
- xorg.xbacklight
- playerctl
- lightdm
- fvwm # =xpmroot=
- haskellPackages.xmobar
- arandr
- alsaUtils # for xmonad volume commands
- yad
- amfora
- cmus # remove it, use just mpv?
- mutagen
-
- ## EuAndreh overlay
- # xyz-euandreh.remembering-latest
- # xyz-euandreh.git-permalink-latest
- # xyz-euandreh.autoqemu-latest
-
- ## GUI programs
- # frescobaldi broken
- inkscape
- # dino
- fractal
- poedit
- audacity
- zbar
- (mpv-with-scripts.override {
- scripts = with mpvScripts; [ mpris sponsorblock ];
- })
- firefox
- libreoffice
-
- ## Candidates to be replaced by alternatives
- transmission-gtk # https://github.com/btpd/btpd
- tdesktop # telegram -> gomuks
- whatsapp-for-linux
- ] ++ work.packages.libre ++ work.packages.proprietary ++ extra-packages;
-
- etc = {
- "with-email.sh".text = ''
- #!/bin/sh
- set -u
- . ~/.bashrc
-
- while getopts 's:' flag; do
- case "$flag" in
- s)
- SUBJECT="$OPTARG"
- ;;
- *)
- exit 2
- ;;
- esac
- done
- shift $((OPTIND - 1))
-
- now() {
- date '+%Y-%m-%dT%H:%M:%S%Z'
- }
-
- OUT="$(echo 'mkstemp(template)' | m4 -D template="${"\${TMPDIR:-/tmp}"}/m4-tmpname.")"
- printf 'Running command: %s\nStarting at: %s\n\n' "$*" "$(now)" >> "$OUT"
- (sh -c "$@" 2>&1) >> "$OUT"
- STATUS="$?"
- printf '\nFinished at: %s\n' "$(now)" >> "$OUT"
-
- mail \
- -a 'Content-Type: text/plain; charset=UTF-8' \
- -a 'From:cron@euandre.org' \
- -s " (exit status: $STATUS) - ${"\${SUBJECT:-NO SUBJECT}"}" \
- eu@euandre.org < "$OUT"
- '';
- };
- };
-
- nixpkgs = let allow-unfree = builtins.length work.packages.proprietary > 0;
- in {
- config = {
- android_sdk.accept_license = allow-unfree;
- allowUnfree = allow-unfree;
- };
- overlays = let
- use-local = false;
- euandreh-nixpkgs = import (if use-local then
- ../package-repository/default.nix
- else
- fetchTarball {
- url =
- "https://euandreh.xyz/package-repository.git/snapshot/package-repository-main.tar.gz";
- }) { inherit pkgs; };
- in [ euandreh-nixpkgs ];
- };
-
- # Look at
- # https://www.vivaolinux.com.br/topico/Off-Code-Cafe/Me-apresente-sua-distro
-
- programs = {
- bash.enableCompletion = true;
- autojump.enable = true;
- msmtp = {
- enable = true;
- extraConfig = ''
- defaults
- auth on
- tls on
- port 587
- syslog on
-
- account euandreh
- host box.euandre.org
- from eu@euandre.org
- user eu@euandre.org
- # msmtp in cron's MAILTO environment doesn't include PASSWORD_STORE_DIR
- passwordeval pass show Mail-in-a-Box
-
- account euandrehxyz
- host mail.euandreh.xyz
- from eu@euandreh.xyz
- user eu@euandreh.xyz
- passwordeval pass show VPS/kuvira/mail
-
- account euandreharrobaponto
- host mail.arrobaponto.org
- from euandreh@arrobaponto.org
- user euandreh@arrobaponto.org
- passwordeval pass show VPS/toph/mail
-
- account nubank
- host smtp.gmail.com
- from andre.moreira@nubank.com.br
- user andre.moreira@nubank.com.br
- passwordeval pass show andre.moreira@nubank.com.br
-
- account default : euandreh
- '';
- };
- };
-
- services = {
- # required by vagrant+libvirt
- nfs.server.enable = enable-virtualization;
-
- # Required for local network printer
- avahi = {
- enable = true;
- nssmdns = true;
- };
-
- printing = {
- enable = false;
- drivers = let
- epson-201401w = with pkgs;
- stdenv.mkDerivation rec {
- v = "201401w";
- pname = "epson-${v}";
- version = "1.0.0";
-
- src = fetchurl {
- urls = [
- "https://download.ebz.epson.net/dsc/op/stable/SRPMS/epson-inkjet-printer-${v}-${version}-1lsb3.2.src.rpm"
- "https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/92e9c9254f0ee4230a069545ba27ec2858a2c457/epson-inkjet-printer-201401w-1.0.0-1lsb3.2.src.rpm"
- ];
- sha256 = "0c60m1sd59s4sda38dc5nniwa7dh1b0kv1maajr0x9d38gqlyk3x";
- };
-
- nativeBuildInputs = [ rpmextract autoreconfHook file ];
-
- buildInputs = [ libjpeg cups ];
-
- unpackPhase = ''
- rpmextract $src
- tar -zxf epson-inkjet-printer-${v}-${version}.tar.gz
- tar -zxf epson-inkjet-printer-filter-${version}.tar.gz
- for ppd in epson-inkjet-printer-${v}-${version}/ppds/*; do
- substituteInPlace $ppd --replace "/opt/epson-inkjet-printer-${v}" "$out"
- substituteInPlace $ppd --replace "/cups/lib" "/lib/cups"
- done
- cd epson-inkjet-printer-filter-${version}
- '';
-
- postInstall = ''
- cd ../epson-inkjet-printer-${v}-${version}
- cp -a lib64 resource watermark $out
- mkdir -p $out/share/cups/model/epson-inkjet-printer-${v}
- cp -a ppds $out/share/cups/model/epson-inkjet-printer-${v}/
- cp -a Manual.txt $out/doc/
- cp -a README $out/doc/README.driver
- '';
- };
- in [
- epson-201401w
- ];
- };
-
- cron = {
- enable = true;
- # Keep this so that when the "mail" command fails I also get a notification email
- mailto = "eu@euandre.org";
- systemCronJobs = [
- "40 23 * * * root sh /etc/with-email.sh -s '[CRON] usurpador: guix upgrade' -- 'guix pull && guix package -u && systemctl restart guix-daemon.service'"
- "40 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: guix upgrade' -- 'guix pull && guix package -u'"
- "0 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: guix deploy' -- 'guix deploy -L ~/dev/libre/servers/src/lib ~/dev/libre/servers/src/machines.scm'"
- "10 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: mr update' -- 'mr -s safeupdate'"
- "20 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email flush' -- 'msmtp-queue -r'"
- "30 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email sync' -- 'mbsync -a && notmuch new'"
- "50 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: borg backup' -- '~/dev/libre/dotfiles/src/bin/backup'"
- ];
- };
-
- xserver = {
- enable = true;
- layout = "br";
- xkbOptions = "caps:swapescape";
-
- # Touchpad support
- libinput.enable = true;
-
- config = ''
- Section "Device"
- Identifier "Intel Graphics"
- Driver "intel01"
- Option "Backlight" "intel_backlight"
- EndSection
- '';
-
- windowManager.xmonad = {
- enable = true;
- enableContribAndExtras = true;
- };
- displayManager = {
- defaultSession = "none+xmonad";
-
- lightdm.enable = true;
-
- # The config inception was inspired by:
- # http://ubuntuforum-br.org/index.php?topic=13784.0
- # Lambda symbol name taken from:
- # http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap
- # To test a keycode:
- # xmodmap -e 'keycode 118 = bar Greek_lamda'
- sessionCommands = ''
- ${pkgs.fvwm}/bin/xpmroot ~/annex/docs/emotion.png &
- '';
- };
- };
-
- clipmenu.enable = true;
- blueman.enable = true;
- pcscd.enable = work.config.yubioauth-support;
- };
-
- security = {
- sudo.enable = false;
- doas = {
- enable = true;
- extraConfig = ''
- permit persist setenv { NIX_PATH } :wheel
- '';
- };
- };
-
- users = {
- extraUsers = let
- andrehUser = {
- andreh = {
- isNormalUser = true;
- uid = 1000;
- description = "EuAndreh";
- extraGroups = [ "wheel" "networkmanager" "libvirtd" ] ++ extra-groups ;
- };
- };
- # From the Guix manual:
- # https://www.gnu.org/software/guix/manual/en/html_node/Build-Environment-Setup.html#Build-Environment-Setup
- buildUser = (i: {
- "guixbuilder${i}" = { # guixbuilder$i
- group = "guixbuild"; # -g guixbuild
- extraGroups = [ "guixbuild" ]; # -G guixbuild
- home = "/var/empty"; # -d /var/empty
- shell = pkgs.shadow; # -s `which nologin`
- description = "Guix build user ${i}"; # -c "Guix buid user $i"
- isSystemUser = true; # --system
- };
- });
- # merge all users
- in pkgs.lib.fold (str: acc: acc // buildUser str) andrehUser
- # for i in `seq -w 1 10`
- (map (pkgs.lib.fixedWidthNumber 2) (builtins.genList (n: n + 1) 10));
-
- extraGroups.guixbuild = { name = "guixbuild"; };
- };
-
- systemd = {
- services = {
- # Derived from Guix guix-daemon.service.in
- # https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service.in?id=00c86a888488b16ce30634d3a3a9d871ed6734a2
- guix-daemon = {
- enable = true;
- description = "Build daemon for GNU Guix";
- serviceConfig = {
- ExecStart =
- "/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild";
- };
- wantedBy = [ "multi-user.target" ];
- };
- };
- user.services = {
- mpris-proxy = {
- enable = true;
- description = "Mpris proxy, added to support bluetooth media keys";
- serviceConfig = {
- After = [ "network.target" "sound.target" ];
- ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
- WantedBy = [ "default.target" ];
- };
- };
- };
- };
-
- system = {
- stateVersion = "20.03";
- autoUpgrade = {
- enable = true;
- dates = "0:10";
- };
- };
-
- xdg.portal = {
- enable = true;
- extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
- };
-
- virtualisation.libvirtd.enable = enable-virtualization;
- virtualisation.docker.enable = enable-virtualization;
-}
diff --git a/description b/description
deleted file mode 100644
index e5ca504a..00000000
--- a/description
+++ /dev/null
@@ -1 +0,0 @@
-Personal OS configuration files.
diff --git a/infokey b/infokey
deleted file mode 100644
index 90edc508..00000000
--- a/infokey
+++ /dev/null
@@ -1,7 +0,0 @@
-^e down-line
-^y up-line
-
-#var
-link-style=cyan
-active-link-style=blue,bold
-match-style=underline,bold,bggreen
diff --git a/long-description b/long-description
deleted file mode 100644
index 3dfc42e0..00000000
--- a/long-description
+++ /dev/null
@@ -1,2 +0,0 @@
-Repository with OS configuration files, including the support files that are
-automatically generated for other repositories.
diff --git a/mailcap.conf b/mailcap.conf
deleted file mode 100644
index aeea68d6..00000000
--- a/mailcap.conf
+++ /dev/null
@@ -1 +0,0 @@
-text/html; w3m -dump -o document_charset=%{charset} '%s'; nametemplate=%s.html; copiousoutput
diff --git a/npmrc.sh b/npmrc.sh
deleted file mode 100644
index 0bc6ecba..00000000
--- a/npmrc.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# shellcheck disable=2148 disable=2034
-prefix=/home/andreh/.npm-packages
-# Taken from:
-# http://www.tomsquest.com/blog/2018/10/better-npm-ing/
-save-exact=true
diff --git a/os.scm b/os.scm
deleted file mode 100644
index 972c42d4..00000000
--- a/os.scm
+++ /dev/null
@@ -1,181 +0,0 @@
-(use-modules (gnu)
- (srfi srfi-1))
-(use-service-modules desktop networking ssh xorg)
-
-(operating-system
- (locale "en_US.utf8")
- (timezone "America/Sao_Paulo")
- (keyboard-layout (keyboard-layout "br" #:options '("caps:swapescape" "esperanto:qwerty")))
- (host-name "velhinho-guix-system")
- (users (cons* (user-account
- (name "andreh")
- (comment "andreh")
- (group "users")
- (home-directory "/home/andreh")
- (supplementary-groups
- '("wheel" "netdev" "audio" "video")))
- %base-user-accounts))
- (packages
- (append
- (list (package-inputs guix))
- (map (compose list specification->package+output symbol->string)
- '(;; Base
- nss-certs ;; suggested by Guix
-
- ;; Personal data tools
- git
- git:send-email
- git-lfs
- git-annex
- myrepos
- git-remote-gcrypt
- git-crypt
- fossil
- git-open
- borg
- gnupg
- syncthing
-
- ;; CLI tools
- groff
- mktorrent
- diffoscope
- bash-completion
- youtube-dl
- ;;; wget - both already included?
- ;;; curl
- tmux
- ;; tmuxinator
- sox ; SoX - Sound eXchange
- gettext
- rlwrap
- jq
- ;; rq
- openvpn
- xclip
- psmisc ; killall
- xkill
- ;; gksu
- tree
- unzip
- feh
- bind:utils
- rsync
- moreutils
- graphviz
- ;; graph-easy
- ;; mkpasswd, is this required?
- direnv
- recutils
- sqlite
- trash-cli
- entr ; need patch
- mailutils
- ffmpeg
- ledger
- gnuplot
- ranger
- electrum
- zathura
- ;; zathura-ps
- ;; zathura-pdf-poppler
- ;; zathura-djvu
- ;; zathura-cb
- ;; zathura-pdf-mupdf
- st
- pavucontrol
- weechat
- newsboat
- acpi
- xsel
- pinentry
- nvi
- go-github-com-junegunn-fzf
- autojump
- calcurse
- pandoc
- openssh
- festival ;; TTS software
-
- ;; Mail
- notmuch
- isync
- neomutt
-
- ;; Programming tools
- perl
- shellcheck
- ;; mrsh
- dash
-
- ;; POSIX
- ;; bmake
- ;; byacc
- ;; pax
- flex
- ;;; gnugrep - already included?
-
- ;; Containers and VMs
- qemu
-
- ;; xmonad
- xmodmap
- xmessage
- dmenu
- ;; escrotum
- xbacklight
- playerctl
- ;; lightdm
- fvwm ; xpmroot
- xmonad
- ghc
- ghc-xmonad-contrib
- xmobar
- remembering
- arandr
- alsa-utils ; for xmonad volume controls
- xset
- xmodmap
- setxkbmap
-
- ;; GUI programs
- audacity
- zbar
- ;; fractal
- dino
- calibre
- vlc
- gpodder
- qutebrowser
- blueman
- bluez))
- %base-packages))
- (services
- (append
- (list (service gnome-desktop-service-type)
- (set-xorg-configuration
- (xorg-configuration
- (keyboard-layout keyboard-layout))))
- %desktop-services))
- (bootloader
- (bootloader-configuration
- (bootloader grub-efi-bootloader)
- (target "/boot/efi")
- (keyboard-layout keyboard-layout)))
- (mapped-devices
- (list (mapped-device
- (source
- (uuid "67a25dfa-ed48-4466-89f3-e291365df104"))
- (target "cryptroot")
- (type luks-device-mapping))))
- (file-systems
- (cons* (file-system
- (mount-point "/")
- (device "/dev/mapper/cryptroot")
- (type "btrfs")
- (dependencies mapped-devices))
- (file-system
- (mount-point "/boot/efi")
- (device (uuid "1B26-9F4E" 'fat32))
- (type "vfat"))
- %base-file-systems)))
diff --git a/sbclrc.lisp b/sbclrc.lisp
deleted file mode 100644
index df7f57a6..00000000
--- a/sbclrc.lisp
+++ /dev/null
@@ -1,6 +0,0 @@
-;;; The following lines added by ql:add-to-init-file:
-#-quicklisp
-(let ((quicklisp-init (merge-pathnames "dev/quicklisp/setup.lisp"
- (user-homedir-pathname))))
- (when (probe-file quicklisp-init)
- (load quicklisp-init)))
diff --git a/sh/Positive.ogg b/sh/Positive.ogg
deleted file mode 100644
index 22cb5632..00000000
--- a/sh/Positive.ogg
+++ /dev/null
Binary files differ
diff --git a/sh/agents.sh b/sh/agents.sh
deleted file mode 100644
index f392c861..00000000
--- a/sh/agents.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
-GPG_TTY=$(tty)
-export GPG_TTY SSH_AUTH_SOCK
-gpgconf --launch gpg-agent
-mkdir -p ~/.ssh
-gpg --export-ssh-key eu@euandre.org > ~/.ssh/id_rsa.pub
-chmod 600 ~/.ssh/id_rsa.pub
-
-eval "$(direnv hook bash)"
diff --git a/sh/aliases.sh b/sh/aliases.sh
deleted file mode 100644
index 79e4bcf6..00000000
--- a/sh/aliases.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-# shellcheck disable=SC2139
-
-unalias -a
-
-alias r='reload'
-alias rr='rreload'
-alias rrr='rrreload'
-alias p='ping euandre.org -c 3'
-alias l='ls -lahF --color'
-alias c='tmux send-keys -R \; clear-history'
-alias o='open'
-alias mail='mail -a "Content-Type: text/plain; charset=UTF-8" -aFrom:eu@euandre.org'
-
-alias m='mbsync EuAndreh & mbsync EuAndrehXYZ & mbsync Nubank & wait && notmuch new'
-alias mm='msmtp-queue -r'
-
-alias mk='make clean && make dev-check'
-alias wmk='aux/with-container "make clean && make dev-check"'
-alias tt='mk && wmk'
-alias todos='make public && open public/TODOs.html'
-alias valgrind='valgrind --show-error-list=yes --show-leak-kinds=all --leak-check=full --track-origins=yes --error-exitcode=1'
-
-alias grep='grep --color=auto'
-alias diff='diff --color=auto'
-alias make='make -e'
-alias less='less -R'
-alias watch='watch --color '
-alias sbcl='rlwrap sbcl'
-alias sqlite='rlwrap sqlite3'
-alias guile='rlwrap guile'
-
-alias man='MANWIDTH=$((COLUMNS > 80 ? 80 : COLUMNS)) man'
diff --git a/sh/bash-config.sh b/sh/bash-config.sh
deleted file mode 100644
index dbfdb888..00000000
--- a/sh/bash-config.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env bash
-
-# ~/.bashrc: executed by bash(1) for non-login shells.
-
-# derived from Ubuntu's default .bashrc
-
-
-# If not running interactively, don't do anything
-case $- in
- *i*) ;;
- *) return;;
-esac
-
-# Don't put duplicate linesin the history.
-# Don't store commands that start with an empty space.
-# See bash(1) for more options
-HISTCONTROL=ignoreboth
-
-# append to the history file, don't overwrite it
-shopt -s histappend
-
-# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
-HISTSIZE=1000000
-HISTFILESIZE=2000000
-
-# check the window size after each command and, if necessary,
-# update the values of LINES and COLUMNS.
-shopt -s checkwinsize
-
-# If set, the pattern "**" used in a pathname expansion context will
-# match all files and zero or more directories and subdirectories.
-shopt -s globstar
-
-# If set, the pattern "*" will also match dotfiles.
-shopt -s dotglob
-
-stty -ixon
-
-
-# Taken from:
-# https://sanctum.geek.nz/arabesque/better-bash-history/
-
-# Record timestamps
-# If you set $HISTTIMEFORMAT to something useful, Bash will record the timestamp of each command in its history. In this variable you can specify the format in which you want this timestamp displayed when viewed with history. I find the full date and time to be useful, because it can be sorted easily and works well with tools like cut and awk.
-HISTTIMEFORMAT='%F %T '
-
-# Use one command per line
-# To make your .bash_history file a little easier to parse, you can force commands that you entered on more than one line to be adjusted to fit on only one with the cmdhist option:
-shopt -s cmdhist
-
-# Store history immediately
-# By default, Bash only records a session to the .bash_history file on disk when the session terminates. This means that if you crash or your session terminates improperly, you lose the history up to that point. You can fix this by recording each line of history as you issue it, through the $PROMPT_COMMAND variable:
-PROMPT_COMMAND='history -a'
-
-bind -x '"\e\C-l": c'
-
-complete -cf doas
diff --git a/sh/bash_profile.sh b/sh/bash_profile.sh
deleted file mode 100644
index 805ae1c4..00000000
--- a/sh/bash_profile.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-# shellcheck disable=SC1090
-. ~/dev/libre/dotfiles/sh/bashrc.sh
diff --git a/sh/bashrc.sh b/sh/bashrc.sh
deleted file mode 100644
index c8928ca0..00000000
--- a/sh/bashrc.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# shellcheck disable=SC1090 disable=SC1091
-
-export DOTFILES=~/dev/libre/dotfiles
-
-. $DOTFILES/sh/bash-config.sh
-. $DOTFILES/sh/env.sh
-. $DOTFILES/sh/colors.sh
-. $DOTFILES/sh/ps1.sh
-. $DOTFILES/sh/fzf.sh
-. $DOTFILES/sh/aliases.sh
-. $DOTFILES/sh/util.sh
-. $DOTFILES/sh/agents.sh
-. $DOTFILES/sh/symlinks.sh
-. $DOTFILES/sh/vcs.sh
-. ~/annex/bin/misc/priv.sh
-. ~/.nurc
diff --git a/sh/colors.sh b/sh/colors.sh
deleted file mode 100644
index 7c8cb3e9..00000000
--- a/sh/colors.sh
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-# shellcheck disable=2059
-
-export end="\033[0m"
-export black="\033[0;30m"
-export blackb="\033[1;30m"
-export white="\033[0;37m"
-export whiteb="\033[1;37m"
-export red="\033[0;31m"
-export redb="\033[1;31m"
-export green="\033[0;32m"
-export greenb="\033[1;32m"
-export yellow="\033[0;33m"
-export yellowb="\033[1;33m"
-export blue="\033[0;34m"
-export blueb="\033[1;34m"
-export purple="\033[0;35m"
-export purpleb="\033[1;35m"
-export lightblue="\033[0;36m"
-export lightblueb="\033[1;36m"
-export blacki="\033[0;90m"
-export bluei="\033[0;94m"
-
-black() {
- printf "${black}${1}${end}"
-}
-
-blackb() {
- printf "${blackb}${1}${end}"
-}
-
-blacki() {
- printf "${blacki}${1}${end}"
-}
-
-white() {
- printf "${white}${1}${end}"
-}
-
-whiteb() {
- printf "${whiteb}${1}${end}"
-}
-
-red() {
- printf "${red}${1}${end}"
-}
-
-redb() {
- printf "${redb}${1}${end}"
-}
-
-green() {
- printf "${green}${1}${end}"
-}
-
-greenb() {
- printf "${greenb}${1}${end}"
-}
-
-yellow() {
- printf "${yellow}${1}${end}"
-}
-
-yellowb() {
- printf "${yellowb}${1}${end}"
-}
-
-blue() {
- printf "${blue}${1}${end}"
-}
-
-blueb() {
- printf "${blueb}${1}${end}"
-}
-
-bluei() {
- printf "${bluei}${1}${end}"
-}
-
-purple() {
- printf "${purple}${1}${end}"
-}
-
-purpleb() {
- printf "${purpleb}${1}${end}"
-}
-
-lightblue() {
- printf "${lightblue}${1}${end}"
-}
-
-lightblueb() {
- printf "${lightblueb}${1}${end}"
-}
-
-colors() {
- black "black"
- blackb "blackb"
- white "white"
- whiteb "whiteb"
- red "red"
- redb "redb"
- green "green"
- greenb "greenb"
- yellow "yellow"
- yellowb "yellowb"
- blue "blue"
- blueb "blueb"
- purple "purple"
- purpleb "purpleb"
- lightblue "lightblue"
- lightblueb "lightblueb"
- blacki "blacki"
- bluei "bluei"
-}
diff --git a/sh/env.sh b/sh/env.sh
deleted file mode 100644
index 5e49d62e..00000000
--- a/sh/env.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-export EDITOR=vi
-export VISUAL="$EDITOR"
-export BROWSER=firefox
-export INPUTRC="$HOME/.config/bash/inputrc"
-export RLWRAP_HOME="$HOME/.cache/rlwrap"
-
-export BORG_REMOTE_PATH='borg1'
-export BORG_PASSCOMMAND='pass show Usurpador/borg/passphrase'
-
-export GOPATH="$HOME/dev/go"
-export CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -g -flto -Werror'
-export CC=musl-gcc
-export AR=gcc-ar
-export LEX=flex
-export LDFLAGS='-flto'
-MAKEFLAGS="-j$(nproc)"
-export MAKEFLAGS
-export NIXPREFIX='/run/current-system/sw'
-export PREFIX="$HOME/.p"
-export C_INCLUDE_PATH="$PREFIX/include:$NIXPREFIX/include/:${C_INCLUDE_PATH:-}"
-export LIBRARY_PATH="$PREFIX/lib:$NIXPREFIX/lib/:${LIBRARY_PATH:-}"
-export INFOPATH="$PREFIX/share/info:$HOME/.config/guix/current/share/info:$INFOPATH"
-export MANPATH="$PREFIX/share/man:$(manpath -q)"
-export LISP='sbcl --eval'
-
-export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
-. ~/.guix-profile/etc/profile
-GUIX_PROFILE= . ~/.config/guix/current/etc/profile
-
-PATH="$HOME/.p/bin:$HOME/.local/bin:$HOME/tmp/bin:$HOME/dev/libre/website/bin:$HOME/dev/others/dinheiros:$DOTFILES/src/bin:$HOME/dev/libre/eutils/src/impls/sh:$DOTFILES/xmonad/scripts:$DOTFILES/cron:$DOTFILES/cron/generated:$HOME/annex/bin/scripts:$PATH"
diff --git a/sh/fake-symlinks.sh b/sh/fake-symlinks.sh
deleted file mode 100644
index 06b9fe96..00000000
--- a/sh/fake-symlinks.sh
+++ /dev/null
@@ -1,354 +0,0 @@
-#!/usr/bin/env bash
-
-pushd "$DOTFILES/sh/templates/" &>/dev/null || exit 1
-
-mkdir -p "$DOTFILES/cron/generated/"
-for job in report-summary annex run-local-backup copy-box-backups repo-update mbox-archive mr-remotes-backup; do
- sed "s/__JOB__/$job/" cronjob-with-email.sh > "$HOME/dev/libre/dotfiles/cron/generated/job-$job.sh"
- chmod +x "$HOME/dev/libre/dotfiles/cron/$job.sh"
- chmod +x "$HOME/dev/libre/dotfiles/cron/generated/job-$job.sh"
-done
-
-mkdir -p "$HOME/annex/bin/cron/generated/"
-# shellcheck disable=2043
-for job in pacheco; do
- prefix="$HOME/annex/bin/cron"
- sed "s/job-__JOB__/job-$job/" cronjob-with-email.sh | sed "s|.*__JOB__.*|$prefix/$job.sh|" > "$HOME/annex/bin/cron/generated/job-$job.sh"
- chmod +x "$HOME/annex/bin/cron/$job.sh"
- chmod +x "$HOME/annex/bin/cron/generated/job-$job.sh"
-done
-
-cp ~/dev/libre/package-repository/EuAndreh.key ~/dev/libre/website/public-key.txt
-
-mkdir -p ~/archive/torrent/
-find ~/dev/libre/website/ -type f -name '*.torrent' -exec cp {} ~/archive/torrent/ \;
-
-normalize_name() {
- if [ -n "$RENAME_TO" ]; then
- echo "$RENAME_TO"
- elif [[ "$1" = ..* ]]; then
- echo "${1:1}"
- else
- echo "$1"
- fi
-}
-
-cp_all() {
- for f in "$@"; do
- OUT="$PPREFIX/$(normalize_name "$f")"
- mkdir -p "$(dirname "$OUT")"
- cp "$f" "$OUT"
- done
-}
-
-cp_if_not() {
- for f in "$@"; do
- OUT="$PPREFIX/$(normalize_name "$f")"
- if [ ! -f "$OUT" ]; then
- cp_all "$f"
- fi
- done
-}
-
-cp_if() {
- for f in "$@"; do
- OUT="$PPREFIX/$(normalize_name "$f")"
- if [ -f "$OUT" ]; then
- rm -f "$OUT"
- cp_all "$f"
- fi
- done
-}
-
-sed_all() {
- for f in "$@"; do
- OUT="$PPREFIX/$(normalize_name "$f")"
- mkdir -p "$(dirname "$OUT")"
-
- if [ -n "$ENABLE_CI" ]; then
- ENABLE_CI_SCRIPT='s/__ENABLE_CI__ //g'
- if [ -n "$ENABLE_AUTOTOOLS" ]; then
- TLD_SCRIPT=''
- else
- TLD_SCRIPT="$DEFAULT_TLD_SCRIPT"
- fi
- else
- ENABLE_CI_SCRIPT='/__ENABLE_CI__ /d'
- TLD_SCRIPT="$DEFAULT_TLD_SCRIPT"
- fi
-
- sed "$f" \
- -e "s/__PROJECT_UC__/$PROJECT_UC/g" \
- -e "s/__PROJECT__/$PROJECT/g" \
- -e "s/__MAILING_LIST__/$MAILING_LIST/g" \
- -e "$TLD_SCRIPT" \
- -e "$ENABLE_CI_SCRIPT" \
- -e "$ENABLE_AUTOTOOLS_SCRIPT" \
- > "$OUT"
-
- if [ -n "$EXECUTABLE" ]; then
- chmod +x "$OUT"
- fi
- done
-}
-
-sed_if_not() {
- for f in "$@"; do
- OUT="$PPREFIX/$(normalize_name "$f")"
- if [ ! -f "$OUT" ]; then
- sed_all "$f"
- fi
- done
-}
-
-ln_env() {
- export PROJECT="$1"
- export PPREFIX="${PPREFIX_FOR_PROJECT[$PROJECT]:-$HOME/dev/libre/$PROJECT}"
- export MAILING_LIST="${ML_FOR_PROJECT[$PROJECT]:-public-inbox}"
- export PROJECT_UC="${PROJECT_NAMES[$PROJECT]:-$PROJECT}"
-
- if [ -f "$PPREFIX/Makefile" ] && [ "$PROJECT" != website ]; then
- export ENABLE_CI=1
- else
- export ENABLE_CI=
- fi
-
- if [ -n "${GUILE_PROJECTS[$PROJECT]}" ]; then
- ENABLE_GUILE=1
- else
- ENABLE_GUILE=
- fi
-}
-
-ln_init() {
- if ! grep -q "$PROJECT" ~/annex/bin/misc/git/mrconfig.ini; then
- red "$(printf '%s missing from mrconfig.ini!\n' "$PROJECT")\n"
- fi
-
- if [ ! -d "$PPREFIX" ]; then
- git init "$PPREFIX"
- fi
- cp_if_not description long-description ..gitignore
-}
-
-ln_build_aux() {
- cp_all aux/assert-shellcheck.sh \
- aux/tld.txt \
- aux/workflow/assert-todos.sh \
- aux/workflow/assert-changelog.sh \
- aux/workflow/assert-readme.sh \
- aux/workflow/TODOs.sh \
- aux/workflow/style.css \
- aux/workflow/favicon.html \
- aux/workflow/preamble.md \
- aux/workflow/commonmark.sh \
- aux/workflow/dist.sh \
- aux/workflow/sign-tarballs.sh \
- aux/workflow/public.sh \
- aux/workflow/favicon.svg \
- aux/workflow/favicon.png
-
- cp_if_not TODOs.md
-
- cp_if \
- aux/assert-perltidy.sh
- aux/tests-lib.sh
-}
-
-ln_agpl() {
- cp_all COPYING
-}
-
-ln_guix_files() {
- cp_all aux/guix/with-container.sh \
- aux/assert-shellcheck.sh
- cp_if_not aux/guix/manifest.scm \
- aux/guix/pinned-channels.scm
-}
-
-ln_ci() {
- rm -f "$PPREFIX/.git/hooks/pre-push"
- if [ -n "$ENABLE_CI" ]; then
- EXECUTABLE=1 sed_all aux/ci/git-pre-push.sh
- cp_all aux/assert-shellcheck.sh \
- aux/tld.txt \
- aux/ci/ci-build.sh \
- aux/ci/report.sh \
- aux/ci/git-post-receive.sh
- ln -s "$PPREFIX/aux/ci/git-pre-push.sh" "$PPREFIX/.git/hooks/pre-push"
- else
- EXECUTABLE=1 sed_all ..git/hooks/pre-push
- fi
-}
-
-ln_simple_makefile() {
- sed_if_not Makefile
-}
-
-enforce_uniform_manpages() {
- if [ -d "$PPREFIX/doc" ]; then
- for f in $(find "$PPREFIX/doc" -type f -name '*.[0-9]'); do
- if grep -Eq '^\.SH AUTHORS$' "$f"; then
- EXPECTED="$(cat <<EOF
-.
-.
-.SH AUTHORS
-.P
-EuAndreh
-.MT eu@euandre.org
-.ME
-and contributors.
-.
-.
-.SH BUGS
-Report bugs to:
-.MT ~euandreh/$MAILING_LIST@lists.sr.ht
-.ME
-.br
-Browse bugs at:
-.UR https://$PROJECT.euandreh.xyz/TODOs.html
-.UE
-.br
-Home page:
-.UR https://$PROJECT.euandreh.xyz
-.UE
-.br
-Discussions:
-.UR https://lists.sr.ht/~euandreh/$MAILING_LIST?search=[$PROJECT]
-.UE
-EOF
-)"
- if ! diff <(tail -n "$(wc -l <<< "$EXPECTED")" "$f") <(echo "$EXPECTED"); then
- cat "$f" <(echo "$EXPECTED") | sponge "$f"
- echo "$f"
- fi
- fi
- done
- fi
-}
-
-ln_makefile_only_project() {
- ln_env "$1"
- ln_init
- ln_agpl
- ln_ci
- ln_simple_makefile
- enforce_uniform_manpages
-}
-
-ln_makefile_only_guix_project() {
- ln_makefile_only_project "$1"
- ln_guix_files
- ln_build_aux
-}
-
-ln_bare_project() {
- ln_env "$1"
- ln_agpl
- ln_ci
-}
-
-ln_description_foreign_project() {
- ln_env "$1"
- # Foreign projects may have Makefiles and alike, and I don't want
- # to have CI files copied to the repository
- ENABLE_CI=
- ln_ci
-}
-
-declare -A PROJECT_NAMES=(
- [servers]=Servers
- [cement]=Cement
- [songbooks]=Songbooks
- [mediator]=Mediator
- [byopds]=BYOPDS
- [pires]=Pires
-)
-
-declare -A ML_FOR_PROJECT=(
- [cement]=byopds
- [byopds]=byopds
- [guile-pds]=byopds
- [x-bindgen]=mediator
- [mediator]=mediator
- [libedn]=mediator
- [konformigado]=mediator
- [gluilo]=mediator
- [fallible]=mediator
- [eq]=mediator
- [xq]=mediator
- [songbooks]=songbooks
- [pires]=pires
-)
-
-declare -A PPREFIX_FOR_PROJECT=(
- [guix]="$HOME/dev/guix/guix"
-)
-
-declare -A GUILE_PROJECTS=(
- [guile-quickcheck]=1
- [guile-pds]=1
- [songbooks]=1
-)
-
-ln_all() {
- LN_FN="$1"
- shift
- for f in "$@"; do
- "$LN_FN" "$f"
- done
-}
-
-ln_all ln_description_foreign_project guix \
- apollo-server-demo \
- ml-archives \
- 3rd-party-archives
-ln_all ln_makefile_only_project boneco \
- pdfs-da-d-maria
-ln_all ln_makefile_only_guix_project servers \
- pires \
- remembering \
- website \
- dotfiles \
- gluilo \
- konformigado \
- libedn \
- eq \
- xq \
- fallible \
- standardify \
- autoqemu \
- yoctoauth \
- mediator \
- songbooks \
- cement \
- guile-quickcheck \
- guile-pds \
- byopds \
- discussions-site \
- package-repository \
- paku \
- std-tools \
- gistatic \
- listatic \
- cl-fun \
- git-permalink \
- lisp-cli \
- caju \
- libpds \
- libmustache \
- libjson \
- yoctoparsec \
- sys-langs \
- r2h \
- book-queue \
- makecheck
-ln_all ln_bare_project brinquedoteca \
- casa-do-caminho \
- music \
- swift2nix \
- swift2nix-demo \
- cargo2nix \
- cargo2nix-demo
-
-popd &> /dev/null || exit 1
diff --git a/sh/fzf.sh b/sh/fzf.sh
deleted file mode 100644
index 529e0ee4..00000000
--- a/sh/fzf.sh
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# FIXME: fix "history" commands
-
-# shellcheck source=/dev/null
-. "$(fzf-share)/completion.bash"
-# Disable fzf key-bindings
-# readline > fzf
-# . "$(fzf-share)/key-bindings.bash"
-
-export FZF_CTRL_T_OPTS='
- --preview "(cat {} || tree -C {}) 2> /dev/null"
- --select-1
- --exit-0
-'
-
-export FZF_ALT_C_OPTS='--preview "tree -C {} | head -200"'
-
-# FIXME:
-# g '^\w.*json_destroy('
-g() {
- # shellcheck disable=2086
- fn=$(git grep -n -- "$1" ${2:-} | \
- cut -d: -f -2 | \
- fzf --select-1 \
- --exit-0 \
- --preview "echo {} | \
- cut -d: -f1 | \
- xargs -I% awk -v bounds=25 -v pat=\"$1\" -v n=\$(echo {} | cut -d: -f2) '
- (n - bounds < NR) && (NR < n + bounds) && (NR != n) { print }
- NR==n { gsub(pat, \"\033[1;33m&\033[1;000m\"); print }
- ' %")
- if [ -n "$fn" ]; then
- f="$(echo "$fn" | cut -d: -f1)"
- n="$(echo "$fn" | cut -d: -f2)"
- # shellcheck disable=2068
- history -s g "$@"
- history -s vi "+$n" "$f"
- vi "+$n" "$f"
- fi
-}
-
-f() {
- # FIXME: speed
- # profile="f-shell-function$(pwd | sed -e 's_/_-_g')"
- # file="$(git ls-files | grep ${2:-.} | remembering -p "$profile" -c "fzf --select-1 --exit-0 --preview 'cat {}'")"
- # shellcheck disable=2086
- file="$(git ls-files | grep ${2:-.} | fzf --select-1 --exit-0 --preview 'cat {}')"
- if [ -n "$file" ]; then
- # shellcheck disable=2068
- # history -s f $@
- history -s "$1" "$file"
- "$1" "$file"
- fi
-}
-
-V_FILES="$(echo '
-~/annex/txt/TODOs.md
-~/tmp/scratch.txt
-'"$(find ~/annex/txt/*.md -not -name TODOs.md |
- sed 's|^/home/andreh|~|' |
- LANG=POSIX.UTF-8 sort)"'
-~/annex/bin/misc/git/mrconfig.ini
-~/dev/libre/package-repository/dependencies.dot
-~/dev/others/dinheiros/dinheiros.ledger
-~/dev/libre/dotfiles/configuration.nix
-' | tr ' ' '\n' | grep .)"
-
-v() {
- f="$(echo "$V_FILES" | fzf --select-1 --exit-0 --query "$1")"
- if [ -n "$f" ]; then
- history -s vi $f
- vi "$HOME/${f#'~/'}"
- fi
-}
-
-cn() {
- CHOICE="$(git log --oneline | fzf)"
- git log --oneline | grep -nF "$CHOICE" | cut -d: -f1
-}
-
-cm() {
- n="$(cn)"
- git rev-parse "HEAD~$((n - 1))"
-}
diff --git a/sh/mr-execute.sh b/sh/mr-execute.sh
deleted file mode 100644
index 70479da7..00000000
--- a/sh/mr-execute.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-cd ~/ || exit 1
-
-AUTOJUMP_TXT="$HOME/.local/share/autojump/autojump.txt"
-mkdir -p "$(dirname "$AUTOJUMP_TXT")"
-touch "$AUTOJUMP_TXT"
-mr checkout > /dev/null
-
-cd - > /dev/null || exit 1
diff --git a/sh/ps1.sh b/sh/ps1.sh
deleted file mode 100644
index c0fdd967..00000000
--- a/sh/ps1.sh
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/bin/sh
-
-repo_status_git() {
- BRANCH_NAME="$(git rev-parse --abbrev-ref HEAD)"
- OUT="$(git status --short --branch --porcelain)"
- BRANCH_LINE="$(echo "$OUT" | head -n 1)"
- DIFF_LINES="$(echo "$OUT" | tail -n +2)"
-
- if echo "$BRANCH_LINE" | grep -q 'ahead'; then
- IS_AHEAD=1
- fi
- if echo "$BRANCH_LINE" | grep -q 'behind'; then
- IS_BEHIND=1
- fi
-
- if [ -n "$IS_AHEAD" ] && [ -n "$IS_BEHIND" ]; then
- BRANCH_MARKER="^^^ $BRANCH_NAME vvv"
- elif [ -n "$IS_AHEAD" ]; then
- BRANCH_MARKER="^ $BRANCH_NAME ^"
- elif [ -n "$IS_BEHIND" ]; then
- BRANCH_MARKER="v $BRANCH_NAME v"
- else
- BRANCH_MARKER="$BRANCH_NAME"
- fi
-
- if echo "$DIFF_LINES" | grep -q '^[A|D|M| ][M|D| ]'; then
- HAS_DIFF=1
- fi
-
- if echo "$DIFF_LINES" | grep -q '^[?][?]'; then
- HAS_UNTRACKED=1
- fi
-
- if [ -n "$HAS_DIFF" ]; then
- COLOR_FN=redb
- LINE="{$BRANCH_MARKER}"
- elif [ -n "$IS_AHEAD" ] || [ -n "$IS_BEHIND" ]; then
- COLOR_FN=bluei
- LINE="[$BRANCH_MARKER]"
- elif [ -n "$HAS_UNTRACKED" ]; then
- COLOR_FN=lightblue
- LINE="($BRANCH_MARKER)"
- else
- COLOR_FN=green
- LINE="($BRANCH_MARKER)"
- fi
-
- "$COLOR_FN" "$LINE"
-
- blacki " - git/$(git rev-parse HEAD)"
-}
-
-repo_status_fossil() {
- BRANCH_NAME="$(fossil branch current)"
-
- if [ -n "$(fossil extras)" ]; then
- HAS_UNTRACKED=1
- fi
-
- BRANCH_MARKER="$BRANCH_NAME"
-
- if [ -n "${HAS_UNTRACKED:-}" ]; then
- COLOR_FN=lightblue
- LINE="($BRANCH_MARKER)"
- else
- COLOR_FN=green
- LINE="($BRANCH_MARKER)"
- fi
-
- "$COLOR_FN" "$LINE"
-
- # echo 'FOSSIL!'
- # printf '%s' "$BRANCH_NAME"
- blacki " - fossil/$(fossil info | awk '/^checkout:/ { print $2 }')"
-}
-
-repo_status_mercurial() {
- BRANCH_NAME="$(hg branch)"
-}
-
-repo_status() {
- dir="$(basename "$PWD")"
- if [ -d .git ]; then
- repo_status_git
- elif [ -f "$dir.fossil" ]; then
- repo_status_fossil
- elif [ -d .hg ]; then
- repo_status_mercurial
- fi
-}
-
-
-error_marker() {
- STATUS=$?
- if [ "$STATUS" != 0 ]; then
- redb " (!! $STATUS !!) "
- fi
-}
-
-timestamp() {
- blacki '\T'
-}
-
-path() {
- yellowb '\w/'
-}
-
-guix_env() {
- if [ "$GUIX_ENVIRONMENT" != '' ]; then
- printf '\n'
- blacki '~> '
- purple 'guix environment '
- printf '('
- blueb "$GUIX_ENVIRONMENT"
- printf ')'
- fi
-}
-
-in_nix_shell() {
- if [ "$IN_NIX_SHELL" != '' ]; then
- printf '\n'
- blacki '~> '
- purpleb "$IN_NIX_SHELL "
- purple 'nix-shell '
- printf '('
- # $name comes from the mkShell declaration
- # shellcheck disable=2154
- blueb "$name"
- printf ')'
- fi
-}
-
-PS1='`error_marker`'$(timestamp)' '$(path)' `repo_status``guix_env``in_nix_shell`
-$ '
-export PS1
diff --git a/sh/reload.sh b/sh/reload.sh
deleted file mode 100644
index fd191a74..00000000
--- a/sh/reload.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-# shellcheck disable=SC1090 disable=SC1091
-
-. ~/.bashrc
-. "$DOTFILES/sh/x.sh"
-. "$DOTFILES/sh/mr-execute.sh"
-. "$DOTFILES/sh/fake-symlinks.sh"
diff --git a/sh/symlinks.sh b/sh/symlinks.sh
deleted file mode 100644
index 4f95a64e..00000000
--- a/sh/symlinks.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-mkdir -p \
- ~/Downloads/Screenshots/ ~/.local/share/common-lisp ~/tmp/ ~/.gnupg \
- ~/.xmonad ~/.config/ranger/ ~/.config/guix \
- ~/.config/khal ~/.config/khard
-
-if [ ! -e ~/tmp/scratch.txt ]; then
- touch ~/tmp/scratch.txt
-fi
-
-ln -fs ~/dev/libre ~/common-lisp &&
- rm -f ~/dev/libre/libre
-ln -fs ~/dev/others/password-store ~/.password-store &&
- rm -f ~/dev/others/password-store/password-store
-
-# FIXME: guix shell --check complains about this
-ln -fs "$DOTFILES/sh/bashrc.sh" ~/.bashrc
-ln -fs "$DOTFILES/sh/bash_profile.sh" ~/.bash_login
-ln -fs "$DOTFILES/sh/bash_profile.sh" ~/.bash_profile
-ln -fs "$HOME/annex/bin/misc/nurc.sh" ~/.nurc
-ln -fs "$DOTFILES/inputrc.conf" ~/.inputrc
-ln -fs "$DOTFILES/Xmodmap.conf" ~/.Xmodmap
-
-ln -fs "$DOTFILES/vcs/hgrc.ini" ~/.hgrc
-ln -fs "$DOTFILES/vcs/gitconfig.ini" ~/.gitconfig
-ln -fs "$HOME/annex/bin/misc/git/mrconfig.ini" ~/.mrconfig
-
-ln -fs "$DOTFILES/gpg/gpg.conf" ~/.gnupg/gpg.conf
-ln -fs "$DOTFILES/gpg/gpg-agent.conf" ~/.gnupg/gpg-agent.conf
-ln -fs "$DOTFILES/gpg/sshcontrol" ~/.gnupg/sshcontrol
-ln -fs "$DOTFILES/ssh.conf" ~/.ssh/config
-
-ln -fs "$DOTFILES/xmonad/xsession.sh" ~/.xsession
-ln -fs "$DOTFILES/xmonad/xmonad.hs" ~/.xmonad/xmonad.hs
-ln -fs "$DOTFILES/xmonad/xmobar.hs" ~/.xmobarrc
-
-ln -fs "$DOTFILES/npmrc.sh" ~/.npmrc
-ln -fs "$DOTFILES/mailcap.conf" ~/.mailcap
-ln -fs "$DOTFILES/tmux.conf" ~/.tmux.conf
-ln -fs "$DOTFILES/exrc.conf" ~/.exrc
-ln -fs "$DOTFILES/ranger.conf" ~/.config/ranger/rc.conf
-ln -fs "$DOTFILES/infokey" ~/.infokey
-ln -fs "$DOTFILES/sbclrc.lisp" ~/.sbclrc
-ln -fs "$DOTFILES/guix/channels.scm" ~/.config/guix/channels.scm
-ln -fs "$HOME/annex/bin/misc/khard.conf" ~/.config/khard/khard.conf
-ln -fs "$HOME/annex/bin/misc/khal.conf" ~/.config/khal/config
diff --git a/sh/templates/..git/hooks/pre-push b/sh/templates/..git/hooks/pre-push
deleted file mode 120000
index 29785d24..00000000
--- a/sh/templates/..git/hooks/pre-push
+++ /dev/null
@@ -1 +0,0 @@
-../../aux/ci/git-pre-push.sh \ No newline at end of file
diff --git a/sh/templates/..gitignore b/sh/templates/..gitignore
deleted file mode 100644
index 87174b68..00000000
--- a/sh/templates/..gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/public/
diff --git a/sh/templates/CHANGELOG.md b/sh/templates/CHANGELOG.md
deleted file mode 100644
index 65f247b6..00000000
--- a/sh/templates/CHANGELOG.md
+++ /dev/null
@@ -1,10 +0,0 @@
-<!-- Entry template: -->
-<!--
-# Unreleased
-## Added
-## Changed
-## Deprecated
-## Removed
-## Fixed
-## Security
--->
diff --git a/sh/templates/COPYING b/sh/templates/COPYING
deleted file mode 100644
index be3f7b28..00000000
--- a/sh/templates/COPYING
+++ /dev/null
@@ -1,661 +0,0 @@
- GNU AFFERO GENERAL PUBLIC LICENSE
- Version 3, 19 November 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU Affero General Public License is a free, copyleft license for
-software and other kinds of works, specifically designed to ensure
-cooperation with the community in the case of network server software.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-our General Public Licenses are 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.
-
- 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.
-
- Developers that use our General Public Licenses protect your rights
-with two steps: (1) assert copyright on the software, and (2) offer
-you this License which gives you legal permission to copy, distribute
-and/or modify the software.
-
- A secondary benefit of defending all users' freedom is that
-improvements made in alternate versions of the program, if they
-receive widespread use, become available for other developers to
-incorporate. Many developers of free software are heartened and
-encouraged by the resulting cooperation. However, in the case of
-software used on network servers, this result may fail to come about.
-The GNU General Public License permits making a modified version and
-letting the public access it on a server without ever releasing its
-source code to the public.
-
- The GNU Affero General Public License is designed specifically to
-ensure that, in such cases, the modified source code becomes available
-to the community. It requires the operator of a network server to
-provide the source code of the modified version running there to the
-users of that server. Therefore, public use of a modified version, on
-a publicly accessible server, gives the public access to the source
-code of the modified version.
-
- An older license, called the Affero General Public License and
-published by Affero, was designed to accomplish similar goals. This is
-a different license, not a version of the Affero GPL, but Affero has
-released a new version of the Affero GPL which permits relicensing under
-this license.
-
- 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 Affero 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. Remote Network Interaction; Use with the GNU General Public License.
-
- Notwithstanding any other provision of this License, if you modify the
-Program, your modified version must prominently offer all users
-interacting with it remotely through a computer network (if your version
-supports such interaction) an opportunity to receive the Corresponding
-Source of your version by providing access to the Corresponding Source
-from a network server at no charge, through some standard or customary
-means of facilitating copying of software. This Corresponding Source
-shall include the Corresponding Source for any work covered by version 3
-of the GNU General Public License that is incorporated pursuant to the
-following paragraph.
-
- 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 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 work with which it is combined will remain governed by version
-3 of the GNU General Public License.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU Affero 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 Affero 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 Affero 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 Affero General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero 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 Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
- If your software can interact with users remotely through a computer
-network, you should also make sure that it provides a way for users to
-get its source. For example, if your program is a web application, its
-interface could display a "Source" link that leads users to an archive
-of the code. There are many ways you could offer source, and different
-solutions will be better for different programs; see section 13 for the
-specific requirements.
-
- 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 AGPL, see
-<https://www.gnu.org/licenses/>.
diff --git a/sh/templates/Makefile b/sh/templates/Makefile
deleted file mode 100644
index 5e04401c..00000000
--- a/sh/templates/Makefile
+++ /dev/null
@@ -1,100 +0,0 @@
-.POSIX:
-CC = c99
-CFLAGS = -std=c99 -Wall -Wextra -Wpedantic -fPIC -g -O3
-LDFLAGS = -Wl,-rpath,$$LIBRARY_PATH
-LDLIBS =
-PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
-DATE = 1970-01-01
-MAJOR = 0
-MINOR = 1
-PATCH = 0
-VERSION = $(MAJOR).$(MINOR).$(PATCH)
-NAME = __PROJECT__
-MAILING_LIST = __MAILING_LIST__
-
-headers = \
- src/f.h
-
-sources = \
- src/f.c
-
-binaries = \
- f
-
-manpages = \
- doc/f.1
-
-
-objects = $(sources:.c=.o)
-
-.SUFFIXES: .c .o
-
-.c.o:
- $(CC) -c $(CFLAGS) $(LDFLAGS) -o $@ $<
-
-libname = lib$(NAME)
-liba = $(libname).a
-libso = $(libname).so
-libso-real = $(libso).$(MAJOR).$(MINOR).$(PATCH)
-soaliases = $(libso).$(MAJOR).$(MINOR) $(libso).$(MAJOR) $(libso)
-
-all: $(liba) $(libso-real) run-tests
-
-$(liba): $(headers) $(objects)
- ar rcsv $@-t $(objects)
- ranlib $@-t
- mv $@-t $@
-
-$(libso-real): $(headers) $(objects)
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(libso).$(MAJOR) -o $@ $(objects)
-
-$(soaliases): $(libso-real)
- ln -sf $? $@
-
-run-tests: $(headers) $(sources) tests/tests.c
- $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ tests/tests.c $(sources) $(LDLIBS)
-
-fallible-tests: $(headers) $(sources) tests/tests.c
- $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -DFALLIBLE -o $@ tests/tests.c $(sources) $(LDLIBS) -lfallible
-
-check: run-tests
- ./run-tests
-
-dev-check: all check fallible-tests
- valgrind `fallible-check --valgrind-flags` ./run-tests
- fallible-check ./fallible-tests
- sh aux/assert-shellcheck.sh
- sh aux/workflow/assert-todos.sh
- sh aux/workflow/assert-changelog.sh $(NAME)
-
-do_subst = sed \
- -e 's:[@]VERSION[@]:$(VERSION):g' \
- -e 's:[@]DATE[@]:$(DATE):g'
-
-install: all $(soaliases)
- for h in $(headers); do install -m 644 -D $$h $(DESTDIR)$(PREFIX)/include/`basename $$h`; done
- for f in $(liba) $(libso-real); do install -m 755 -D $$f $(DESTDIR)$(PREFIX)/lib/$$f; done
- for a in $(soaliases); do mv $$a $(DESTDIR)$(PREFIX)/lib/; done
- for b in $(binaries); do install -m 755 -D $$b $(DESTDIR)$(PREFIX)/bin/$$b; done
- for m in $(manpages); do \
- n=$${m##*.}; \
- mkdir -p $(DESTDIR)$(MANPREFIX)/man$$n; \
- $(do_subst) < $$m | gzip > $(DESTDIR)$(MANPREFIX)/man$$n/`basename $$m`.gz; \
- done
-
-uninstall:
- for h in $(headers); do rm -f $(DESTDIR)$(PREFIX)/include/`basename $$h`; done
- for l in $(liba) $(libso-real) $(soaliases); do rm -f $(DESTDIR)$(PREFIX)/lib/$$l; done
- for m in $(manpages); do rm -f $(DESTDIR)$(MANPREFIX)/man$${m##*.}/`basename $$m`.gz; done
-
-clean:
- rm -rf public/ $(objects) $(liba) $(libso-real) $(soaliases) run-tests fallible* vgcore*
-
-dist: clean public dev-check
- sh aux/workflow/dist.sh $(DATE) $(VERSION) $(NAME)
-
-public: README.md TODOs.md CHANGELOG.md
- sh aux/workflow/public.sh __PROJECT_UC__ $(NAME) $(MAILING_LIST)
-
-.PHONY: all clean check dev-check dist install uninstall
diff --git a/sh/templates/TODOs.md b/sh/templates/TODOs.md
deleted file mode 100644
index 6a96f294..00000000
--- a/sh/templates/TODOs.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Tasks
-
-
-# Bugs
-
-
-# Improvements
-
-
-# Questions
-
-
-# Resources
-
-
-# Scratch
diff --git a/sh/templates/_plugins/linter.rb b/sh/templates/_plugins/linter.rb
deleted file mode 100644
index d5cca56a..00000000
--- a/sh/templates/_plugins/linter.rb
+++ /dev/null
@@ -1,55 +0,0 @@
-require 'i18n'
-
-module Jekyll
- class Linter < Generator
- safe true
-
- def slugify(s)
- I18n.available_locales = [:pt_BR]
- I18n.locale = :pt_BR
- I18n.transliterate(s)
- .gsub(/[\W]+/, ' ')
- .strip
- .gsub(/\s\s+/, '-')
- .downcase
- .gsub(' ', '-')
- .gsub('_', '-')
- end
-
- def assert_field(document, field)
- f = document.data[field]
- raise "Undefined '#{field}' for #{document.path}" unless f
- f
- end
-
- def assert_frontmatter_fields(document)
- title = assert_field document, 'title'
- layout = assert_field document, 'layout'
- date = document.date.strftime('%Y-%m-%d') unless layout == 'page'
- slug = assert_field document, 'slug'
-
- if 'post' != layout
- raise "Layout mismatch: expected 'post', got '#{layout}' for #{document.path}"
- end
-
- unless layout == 'page' then
- path = "_posts/#{date}-#{slug}.md"
- unless path == document.relative_path then
- raise "date/filename mismatch:\ndate+slug: #{path}\nfilename: #{document.relative_path}"
- end
- end
-
- if slugify(title) != slug then
- puts 'WARNING!'
- puts "Filename isn't a slug of the title for '#{document.path}':\nslug: '#{slug}'\ntitle: '#{slugify(title)}'"
- puts "Fix with:\n mv _posts/#{date}-#{slug}.md _posts/#{date}-#{slugify(title)}.md"
- end
- end
-
- def generate(site)
- site.collections['posts'].docs.each do |document|
- assert_frontmatter_fields(document)
- end
- end
- end
-end
diff --git a/sh/templates/aux/assert-perltidy.sh b/sh/templates/aux/assert-perltidy.sh
deleted file mode 100755
index e69de29b..00000000
--- a/sh/templates/aux/assert-perltidy.sh
+++ /dev/null
diff --git a/sh/templates/aux/assert-shellcheck.sh b/sh/templates/aux/assert-shellcheck.sh
deleted file mode 100755
index cc01f3af..00000000
--- a/sh/templates/aux/assert-shellcheck.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-set -eux
-
-git ls-files | \
- xargs awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | \
- xargs shellcheck
diff --git a/sh/templates/aux/ci/ci-build.sh b/sh/templates/aux/ci/ci-build.sh
deleted file mode 100755
index b6769a9d..00000000
--- a/sh/templates/aux/ci/ci-build.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-set -eux
-
-PACKAGE="$1"
-LOGS_DIR="$2"
-read -r _ SHA _ # oldrev newrev refname
-FILENAME="$(date -Is)-$SHA.log"
-LOGFILE="$LOGS_DIR/$FILENAME"
-
-{
- echo "Starting CI job at: $(date -Is)"
-
- finish() {
- STATUS="$?"
- printf "\n\n>>> exit status was %s\n" "$STATUS"
- echo "Finishing CI job at: $(date -Is)"
- cd -
- NOTE=$(cat <<EOF
-See CI logs with:
- git notes --ref=refs/notes/ci-logs show $SHA
- git notes --ref=refs/notes/ci-data show $SHA
-EOF
-)
- git notes --ref=refs/notes/ci-data add -f -m "$STATUS $FILENAME"
- git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE"
- git notes append -m "$NOTE"
-
- cd -
- sh aux/ci/report.sh "$PACKAGE"
- rsync -a public/ "/srv/http/$PACKAGE/" --delete
-
- printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS"
- }
- trap finish EXIT
-
- unset GIT_DIR
- REMOTE="$PWD"
- cd "$(mktemp -d)"
- git clone "$REMOTE" .
- git config --global user.email git@euandre.org
- git config --global user.name 'EuAndreh CI'
- git fetch origin refs/notes/*:refs/notes/*
- git annex get ||:
-
- if [ -f aux/guix/with-container.sh ]; then
- RUNNER='./aux/guix/with-container.sh'
- else
- RUNNER='sh -c'
- fi
-
- $RUNNER 'make clean public dev-check'
-} 2>&1 | tee "$LOGFILE"
diff --git a/sh/templates/aux/ci/git-post-receive.sh b/sh/templates/aux/ci/git-post-receive.sh
deleted file mode 100755
index ee8075f3..00000000
--- a/sh/templates/aux/ci/git-post-receive.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do
- opt="$(eval "echo \$GIT_PUSH_OPTION_$n")"
- if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then
- printf "\n'%s' option detected, not running ci-build.sh\n\n" "$opt"
- exit 0
- fi
-done
-
-PACKAGE="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix
-LOGS_DIR="/opt/ci/$PACKAGE/logs"
-"/opt/ci/$PACKAGE/ci-build.sh" "$PACKAGE" "$LOGS_DIR"
diff --git a/sh/templates/aux/ci/git-pre-push.sh b/sh/templates/aux/ci/git-pre-push.sh
deleted file mode 100644
index 0580c87a..00000000
--- a/sh/templates/aux/ci/git-pre-push.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -eux
-
-TLD="$(cat aux/tld.txt)"
-
-PACKAGE="$(basename "$PWD")"
-__ENABLE_CI__ LOGS_DIR="/opt/ci/$PACKAGE/logs"
-REMOTE_GIT_DIR="/srv/git/$PACKAGE.git"
-
-DESCRIPTION="$(mktemp)"
-if [ -f description ]
-then
- cp description "$DESCRIPTION"
-else
- git config euandreh.description > "$DESCRIPTION"
-fi
-
-scp "$DESCRIPTION" "$TLD:$REMOTE_GIT_DIR/description"
-__ENABLE_CI__ ssh "$TLD" mkdir -p "$LOGS_DIR"
-__ENABLE_CI__ scp aux/ci/ci-build.sh "$TLD:$(dirname "$LOGS_DIR")/ci-build.sh"
-__ENABLE_CI__ scp aux/ci/git-post-receive.sh "$TLD:$REMOTE_GIT_DIR/hooks/post-receive"
diff --git a/sh/templates/aux/ci/report.sh b/sh/templates/aux/ci/report.sh
deleted file mode 100755
index 65d33356..00000000
--- a/sh/templates/aux/ci/report.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT_UC="$1"
-
-PASS='โœ…'
-FAIL='โŒ'
-
-mkdir -p public/ci-logs public/ci-data
-
-OUT="$(mktemp)"
-chmod 644 "$OUT"
-
-git fetch origin refs/notes/*:refs/notes/* ||:
-
-for c in $(git notes list | cut -d\ -f2); do
- DATA="$(git notes --ref=refs/notes/ci-data show "$c")"
- FILENAME="$(echo "$DATA" | cut -d\ -f2)"
- echo "$DATA" > "public/ci-data/$FILENAME"
- git notes --ref=refs/notes/ci-logs show "$c" > "public/ci-logs/$FILENAME"
-done
-
-cat <<EOF >> "$OUT"
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="icon" type="image/svg+xml" href="favicon.svg" />
-
- <style>
- pre {
- display: inline;
- }
- </style>
- </head>
- <body>
- <h1>
- CI logs for $PROJECT_UC
- </h1>
- <ul>
-EOF
-
-for f in $(find public/ci-data/ -type f | LANG=C.UTF-8 sort -r); do
- DATA="$(cat "$f")"
- STATUS="$(echo "$DATA" | cut -d\ -f1)"
- FILENAME="$(echo "$DATA" | cut -d\ -f2)"
-
- if [ "$STATUS" = 0 ]; then
- STATUS_MARKER="$PASS"
- else
- STATUS_MARKER="$FAIL"
- fi
-
- cat <<EOF >> "$OUT"
- <li>
- <a href="ci-logs/$FILENAME">
- $STATUS_MARKER <pre>$FILENAME</pre>
- </a>
- </li>
-EOF
-done
-
-cat <<EOF >> "$OUT"
- </ul>
- </body>
-</html>
-EOF
-
-mv "$OUT" public/ci.html
diff --git a/sh/templates/aux/guix/manifest.scm b/sh/templates/aux/guix/manifest.scm
deleted file mode 100644
index a6892351..00000000
--- a/sh/templates/aux/guix/manifest.scm
+++ /dev/null
@@ -1,17 +0,0 @@
-(specifications->manifest
- (map symbol->string
- '(bash
- coreutils
- findutils
- diffutils
- grep
- sed
- git
- tar
- gzip
- gawk
- make
- perl
- shellcheck
- groff
- pandoc)))
diff --git a/sh/templates/aux/guix/pinned-channels.scm b/sh/templates/aux/guix/pinned-channels.scm
deleted file mode 100644
index 504406f8..00000000
--- a/sh/templates/aux/guix/pinned-channels.scm
+++ /dev/null
@@ -1,11 +0,0 @@
-(cons*
- (channel
- (name 'xyz-euandreh)
- (url "git://euandreh.xyz/package-repository")
- (branch "main")
- (introduction
- (make-channel-introduction
- "d749e053e6db365069cb9b2ef47a78b06f9e7361"
- (openpgp-fingerprint
- "5BDA E9B8 B2F6 C6BC BB0D 6CE5 81F9 0EC3 CD35 6060"))))
- %default-channels)
diff --git a/sh/templates/aux/guix/with-container.sh b/sh/templates/aux/guix/with-container.sh
deleted file mode 100755
index b521c825..00000000
--- a/sh/templates/aux/guix/with-container.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -eux
-
-if [ -z "${1:-}" ]; then
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm
-elif [ "$1" = '-p' ]; then
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm --pure -C
-else
- guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm --pure -C -- sh -c "$@"
-fi
diff --git a/sh/templates/aux/tests-lib.sh b/sh/templates/aux/tests-lib.sh
deleted file mode 100755
index e0759748..00000000
--- a/sh/templates/aux/tests-lib.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-OUT=
-ERR=
-STATUS=
-
-assert_status() {
- if [ "$STATUS" != "$1" ]; then
- printf '\nERR: Bad status.\n\nexpected: %s\ngot: %s\n' \
- "$1" "$STATUS" >&2
- exit 1
- fi
-}
-
-assert_usage() {
- if ! grep -Fq 'Usage' "$1"; then
- echo 'Expected to find "Usage" text, it was missing:' >&2
- cat "$1" >&2
- exit 1
- fi
-}
-
-assert_empty_stream() {
- if [ -s "$2" ]; then
- printf '\nERR: Expected %s (%s) to be empty, but has content:\n%s\n' \
- "$1" "$2" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_empty_stdout() {
- assert_empty_stream STDOUT "$OUT"
-}
-
-assert_empty_stderr() {
- assert_empty_stream STDERR "$ERR"
-}
-
-assert_stream() {
- if [ "$(cat "$2")" != "$3" ]; then
- printf '\nERR: Bad %s (%s)\n\nexpected: %s\ngot: %s\n' \
- "$1" "$2" "$3" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_stdout() {
- assert_stream STDOUT "$OUT" "$1"
-}
-
-assert_stderr() {
- assert_stream STDERR "$ERR" "$1"
-}
-
-assert_grep_stream() {
- if ! grep -qE "$3" "$2"; then
- printf '\nERR: Bad %s (%s)\n\ngrepping: %s\nin:\n%s\n' \
- "$1" "$2" "$3" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_grep_stdout() {
- assert_grep_stream STDOUT "$OUT" "$1"
-}
-
-assert_grep_stderr() {
- assert_grep_stream STDERR "$ERR" "$1"
-}
-
-assert_fgrep_stream() {
- if ! grep -Fq -- "$3" "$2"; then
- printf '\nERR: Bad %s (%s)\n\ngrepping: %s\nin:\n%s\n' \
- "$1" "$2" "$3" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_fgrep_stdout() {
- assert_fgrep_stream STDOUT "$OUT" "$1"
-}
-
-assert_fgrep_stderr() {
- assert_fgrep_stream STDERR "$ERR" "$1"
-}
-
-testing() {
- printf 'testing: %s...' "$1" >&2
-}
-
-test_ok() {
- printf ' OK.\n' >&2
-}
diff --git a/sh/templates/aux/tld.txt b/sh/templates/aux/tld.txt
deleted file mode 100644
index 0cb8b8b0..00000000
--- a/sh/templates/aux/tld.txt
+++ /dev/null
@@ -1 +0,0 @@
-euandreh.xyz
diff --git a/sh/templates/aux/utils.sh b/sh/templates/aux/utils.sh
deleted file mode 100755
index 8d93fb56..00000000
--- a/sh/templates/aux/utils.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-uuid() {
- # Taken from:
- # https://serverfault.com/a/799198
- od -xN20 /dev/urandom | \
- head -1 | \
- awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
-}
diff --git a/sh/templates/aux/workflow/TODOs.sh b/sh/templates/aux/workflow/TODOs.sh
deleted file mode 100755
index 80059ee4..00000000
--- a/sh/templates/aux/workflow/TODOs.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT_UC="$1"
-PROJECT="$2"
-MAILING_LIST="$3"
-TLD="$(cat aux/tld.txt)"
-
-TODOS_REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{#(.*?)\}$/## <a href="#\3"><span class="\1">\1<\/span> \2<\/a>\n<span class="header-anchor" id="\3">#\3<\/span>\n/'
-
-TAGS_REGEX='s/tag:([\w-]+)/<span class="tag">\1<\/span>/g'
-
-sed -e "s:@PROJECT_UC@:$PROJECT_UC:g" \
- -e "s:@PROJECT@:$PROJECT:g" \
- -e "s:@MAILING_LIST@:$MAILING_LIST:g" \
- -e "s:@TLD@:$TLD:g" \
- < aux/workflow/preamble.md | \
- printf \
- '%s\n\n%s' \
- "$(cat -)" \
- "$(perl -pe "$TODOS_REGEX" TODOs.md | perl -pe "$TAGS_REGEX")" | \
- pandoc \
- --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - TODOs" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- -H aux/workflow/favicon.html \
- -H aux/workflow/style.css \
- > public/TODOs.html
diff --git a/sh/templates/aux/workflow/assert-changelog.sh b/sh/templates/aux/workflow/assert-changelog.sh
deleted file mode 100755
index 8e81f1f4..00000000
--- a/sh/templates/aux/workflow/assert-changelog.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT="$1"
-
-for VVERSION in $(git tag); do
- VERSION="${VVERSION#v}"
- DATE="$(git log -1 --format=%cd --date=short "$VVERSION")"
- CHANGELOG_ENTRY="# [$VERSION](https://git.euandreh.xyz/$PROJECT/commit/?id=$VVERSION) - $DATE"
- if ! grep -qF "$CHANGELOG_ENTRY" CHANGELOG.md; then
- echo "Missing '$CHANGELOG_ENTRY' entry from CHANGELOG.md" >&2
- exit 1
- fi
-done
diff --git a/sh/templates/aux/workflow/assert-readme.sh b/sh/templates/aux/workflow/assert-readme.sh
deleted file mode 100755
index cef75dd9..00000000
--- a/sh/templates/aux/workflow/assert-readme.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT="$1"
-MAILING_LIST="$2"
-TLD="$(cat aux/tld.txt)"
-
-EXPECTED="$(mktemp)"
-cat <<EOF >> "$EXPECTED"
-
-For running the extra development-only checks, run:
-
-\`\`\`shell
-$ make dev-check
-\`\`\`
-
-and for generating the documentation HTML and website, run:
-
-\`\`\`shell
-$ make public
-\`\`\`
-
-
-## Links
-
-- [home page](https://$TLD/$PROJECT/)
-- [source code](https://git.euandreh.xyz/$PROJECT/)
-- [bug tracking](https://$TLD/$PROJECT/TODOs.html)
-- [mailing list](https://lists.sr.ht/~euandreh/$MAILING_LIST?search=%5B$PROJECT%5D)
-- [CI logs](https://$TLD/$PROJECT/ci.html)
-- [CHANGELOG](https://$TLD/$PROJECT/CHANGELOG.html)
-EOF
-
-RELEASES_LIST="$(mktemp)"
-for version in $(git tag | perl -e 'print reverse <>'); do
- echo "- version [$version](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz) ([sig](https://git.euandreh.xyz/$PROJECT/snapshot/$PROJECT-$version.tar.gz.asc)), released in $(git log -1 --format=%cd --date=short "$version")" >> "$RELEASES_LIST"
-done
-
-if [ -s "$RELEASES_LIST" ]; then
- printf '\n\n## Releases\n\n' >> "$EXPECTED"
- cat "$RELEASES_LIST" >> "$EXPECTED"
-fi
-
-cat <<EOF >> "$EXPECTED"
-
-
-## License
-
-The code is licensed under [GNU Affero General Public License v3.0 or later][AGPL-3.0-or-later] (AGPL-3.0-or-later).
-
-[AGPL-3.0-or-later]: https://www.gnu.org/licenses/agpl-3.0.en.html
-EOF
-
-if ! tail -n "$(wc -l < "$EXPECTED")" README.md | diff - "$EXPECTED"; then
- echo 'Missing metadata at the end of README.md file'
- exit 1
-fi
diff --git a/sh/templates/aux/workflow/assert-todos.sh b/sh/templates/aux/workflow/assert-todos.sh
deleted file mode 100755
index ca73b7f7..00000000
--- a/sh/templates/aux/workflow/assert-todos.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-set -eu
-
-if git grep FIXME | grep -v '^TODOs.md' | grep -v '^aux/workflow/assert-todos.sh'; then
- echo "Found dangling FIXME markers on the project."
- echo "You should write them down properly on TODOs.md."
- exit 1
-fi
-
-awk -F'{#' '
-BEGIN {
- exitstatus = 0
- h2flag = 0
- h2status = ""
- prevline = ""
- idx = 0
- delete ids[0]
-}
-h2flag == 1 {
- split($0, l, " ")
- timelinestatus = l[2]
- if (h2status != timelinestatus) {
- print "h2/timeline status mismatch for line " NR-1
- print prevline
- print $0
- exitstatus = 1
- }
- h2status = ""
- h2flag = 0
-}
-
-/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ {
- if (match($0, / \{#.*?\}$/) == 0) {
- print "Missing ID for line " NR ":\n" $0
- exitstatus = 1
- }
- id_with_prefix = substr($2, 0, length($2) - 1)
- match(id_with_prefix, /^\w+-/)
- id = substr(id_with_prefix, RLENGTH + 1)
- if (id in arr) {
- print "Duplicate ID: " id
- exitstatus = 1
- } else {
- arr[id] = 1
- }
-
- split($0, l, " ")
- h2status = l[2]
- h2flag = 1
- prevline = $0
-}
-
-
-/^# Scratch$/ {
- exit exitstatus
-}
-' TODOs.md
diff --git a/sh/templates/aux/workflow/commonmark.sh b/sh/templates/aux/workflow/commonmark.sh
deleted file mode 100755
index 6016f51b..00000000
--- a/sh/templates/aux/workflow/commonmark.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p public
-
-PROJECT_UC="$1"
-F="$2"
-OUT="${3:-${F%.*}.html}"
-
-pandoc \
- --toc \
- --highlight-style pygments \
- --toc-depth=2 \
- -s \
- --metadata title="$PROJECT_UC - ${F%.*}" \
- --metadata lang=en \
- -r commonmark \
- -w html \
- -H aux/workflow/favicon.html \
- < "$F" > "public/$OUT"
diff --git a/sh/templates/aux/workflow/dist.sh b/sh/templates/aux/workflow/dist.sh
deleted file mode 100755
index c061a04b..00000000
--- a/sh/templates/aux/workflow/dist.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-set -eu
-
-DATE="$1"
-VVERSION="v$2"
-PROJECT="$3"
-
-if git show "$VVERSION" 1>/dev/null 2>/dev/null; then
- echo "Version '$VVERSION' already exists." >&2
- exit 1
-fi
-
-if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then
- echo "Date '$DATE' is not up-to-date." >&2
- exit 1
-fi
-
-if [ "Release $VVERSION" != "$(git log --format=%B -1 HEAD | head -n1)" ]; then
- echo "Commit message isn't 'Release $VVERSION'." >&2
- exit 1
-fi
-
-sh aux/workflow/assert-changelog.sh "$PROJECT"
-
-git tag "$VVERSION"
-
-sh aux/workflow/sign-tarballs.sh "$PROJECT"
diff --git a/sh/templates/aux/workflow/favicon.html b/sh/templates/aux/workflow/favicon.html
deleted file mode 100644
index 8f9327c7..00000000
--- a/sh/templates/aux/workflow/favicon.html
+++ /dev/null
@@ -1 +0,0 @@
-<link rel="icon" type="image/svg+xml" href="favicon.svg" />
diff --git a/sh/templates/aux/workflow/favicon.png b/sh/templates/aux/workflow/favicon.png
deleted file mode 100644
index 051fdf1d..00000000
--- a/sh/templates/aux/workflow/favicon.png
+++ /dev/null
Binary files differ
diff --git a/sh/templates/aux/workflow/favicon.svg b/sh/templates/aux/workflow/favicon.svg
deleted file mode 100644
index ce566b2d..00000000
--- a/sh/templates/aux/workflow/favicon.svg
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
- <path d="M 0 8 L 1 8 L 1 9 L 0 9 L 0 8 Z" />
- <path d="M 0 13 L 1 13 L 1 14 L 0 14 L 0 13 Z" />
- <path d="M 1 8 L 2 8 L 2 9 L 1 9 L 1 8 Z" />
- <path d="M 1 13 L 2 13 L 2 14 L 1 14 L 1 13 Z" />
- <path d="M 2 8 L 3 8 L 3 9 L 2 9 L 2 8 Z" />
- <path d="M 2 13 L 3 13 L 3 14 L 2 14 L 2 13 Z" />
- <path d="M 3 8 L 4 8 L 4 9 L 3 9 L 3 8 Z" />
- <path d="M 3 13 L 4 13 L 4 14 L 3 14 L 3 13 Z" />
- <path d="M 4 7 L 5 7 L 5 8 L 4 8 L 4 7 Z" />
- <path d="M 4 8 L 5 8 L 5 9 L 4 9 L 4 8 Z" />
- <path d="M 4 13 L 5 13 L 5 14 L 4 14 L 4 13 Z" />
- <path d="M 5 6 L 6 6 L 6 7 L 5 7 L 5 6 Z" />
- <path d="M 5 7 L 6 7 L 6 8 L 5 8 L 5 7 Z" />
- <path d="M 5 13 L 6 13 L 6 14 L 5 14 L 5 13 Z" />
- <path d="M 6 5 L 7 5 L 7 6 L 6 6 L 6 5 Z" />
- <path d="M 6 6 L 7 6 L 7 7 L 6 7 L 6 6 Z" />
- <path d="M 6 14 L 7 14 L 7 15 L 6 15 L 6 14 Z" />
- <path d="M 7 1 L 8 1 L 8 2 L 7 2 L 7 1 Z" />
- <path d="M 7 14 L 8 14 L 8 15 L 7 15 L 7 14 Z" />
- <path d="M 7 15 L 8 15 L 8 16 L 7 16 L 7 15 Z" />
- <path d="M 7 2 L 8 2 L 8 3 L 7 3 L 7 2 Z" />
- <path d="M 7 3 L 8 3 L 8 4 L 7 4 L 7 3 Z" />
- <path d="M 7 4 L 8 4 L 8 5 L 7 5 L 7 4 Z" />
- <path d="M 7 5 L 8 5 L 8 6 L 7 6 L 7 5 Z" />
- <path d="M 8 1 L 9 1 L 9 2 L 8 2 L 8 1 Z" />
- <path d="M 8 15 L 9 15 L 9 16 L 8 16 L 8 15 Z" />
- <path d="M 9 1 L 10 1 L 10 2 L 9 2 L 9 1 Z" />
- <path d="M 9 2 L 10 2 L 10 3 L 9 3 L 9 2 Z" />
- <path d="M 9 6 L 10 6 L 10 7 L 9 7 L 9 6 Z" />
- <path d="M 9 15 L 10 15 L 10 16 L 9 16 L 9 15 Z" />
- <path d="M 10 2 L 11 2 L 11 3 L 10 3 L 10 2 Z" />
- <path d="M 10 3 L 11 3 L 11 4 L 10 4 L 10 3 Z" />
- <path d="M 10 4 L 11 4 L 11 5 L 10 5 L 10 4 Z" />
- <path d="M 10 5 L 11 5 L 11 6 L 10 6 L 10 5 Z" />
- <path d="M 10 6 L 11 6 L 11 7 L 10 7 L 10 6 Z" />
- <path d="M 11 6 L 12 6 L 12 7 L 11 7 L 11 6 Z" />
- <path d="M 11 8 L 12 8 L 12 9 L 11 9 L 11 8 Z" />
- <path d="M 10 15 L 11 15 L 11 16 L 10 16 L 10 15 Z" />
- <path d="M 11 10 L 12 10 L 12 11 L 11 11 L 11 10 Z" />
- <path d="M 11 12 L 12 12 L 12 13 L 11 13 L 11 12 Z" />
- <path d="M 11 14 L 12 14 L 12 15 L 11 15 L 11 14 Z" />
- <path d="M 11 15 L 12 15 L 12 16 L 11 16 L 11 15 Z" />
- <path d="M 12 6 L 13 6 L 13 7 L 12 7 L 12 6 Z" />
- <path d="M 12 8 L 13 8 L 13 9 L 12 9 L 12 8 Z" />
- <path d="M 12 10 L 13 10 L 13 11 L 12 11 L 12 10 Z" />
- <path d="M 12 12 L 13 12 L 13 13 L 12 13 L 12 12 Z" />
- <path d="M 12 14 L 13 14 L 13 15 L 12 15 L 12 14 Z" />
- <path d="M 13 6 L 14 6 L 14 7 L 13 7 L 13 6 Z" />
- <path d="M 13 8 L 14 8 L 14 9 L 13 9 L 13 8 Z" />
- <path d="M 13 10 L 14 10 L 14 11 L 13 11 L 13 10 Z" />
- <path d="M 13 12 L 14 12 L 14 13 L 13 13 L 13 12 Z" />
- <path d="M 13 13 L 14 13 L 14 14 L 13 14 L 13 13 Z" />
- <path d="M 13 14 L 14 14 L 14 15 L 13 15 L 13 14 Z" />
- <path d="M 14 7 L 15 7 L 15 8 L 14 8 L 14 7 Z" />
- <path d="M 14 8 L 15 8 L 15 9 L 14 9 L 14 8 Z" />
- <path d="M 14 9 L 15 9 L 15 10 L 14 10 L 14 9 Z" />
- <path d="M 14 10 L 15 10 L 15 11 L 14 11 L 14 10 Z" />
- <path d="M 14 11 L 15 11 L 15 12 L 14 12 L 14 11 Z" />
- <path d="M 14 12 L 15 12 L 15 13 L 14 13 L 14 12 Z" />
-</svg>
diff --git a/sh/templates/aux/workflow/preamble.md b/sh/templates/aux/workflow/preamble.md
deleted file mode 100644
index 30efe0ba..00000000
--- a/sh/templates/aux/workflow/preamble.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# About
-
-TODOs for @PROJECT_UC@.
-
-See also [@TLD@/@PROJECT@/](https://@TLD@/@PROJECT@/) and [CI logs](https://@TLD@/@PROJECT@/ci.html).
-
-Register a new one at
-[~euandreh/@MAILING_LIST@@lists.sr.ht](mailto:~euandreh/@MAILING_LIST@@lists.sr.ht?subject=%5B@PROJECT@%5D%20BUG%20or%20TASK%3A%20%3Cdescription%3E)
-and see [existing discussions](https://lists.sr.ht/~euandreh/@MAILING_LIST@?search=%5B@PROJECT@%5D).
-
-*Vocรช tambรฉm pode escrever em portuguรชs*.
-
-*Vous pouvez aussi รฉcrire en franรงais*.
-
-*Vi povas ankaลญ skribi esperante*.
-
diff --git a/sh/templates/aux/workflow/public.sh b/sh/templates/aux/workflow/public.sh
deleted file mode 100755
index 8ecb8553..00000000
--- a/sh/templates/aux/workflow/public.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT_UC="$1"
-PROJECT="$2"
-MAILING_LIST="$3"
-
-sh aux/workflow/TODOs.sh "$PROJECT_UC" "$PROJECT" "$MAILING_LIST"
-sh aux/workflow/commonmark.sh "$PROJECT" README.md index.html ||:
-
-if [ -f CHANGELOG.md ]; then
- sh aux/workflow/commonmark.sh "$PROJECT" CHANGELOG.md
-fi
-
-sh aux/ci/report.sh "$PROJECT"
-
-cp aux/workflow/favicon.* public/
diff --git a/sh/templates/aux/workflow/sign-tarballs.sh b/sh/templates/aux/workflow/sign-tarballs.sh
deleted file mode 100755
index 8de6ac43..00000000
--- a/sh/templates/aux/workflow/sign-tarballs.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -eu
-
-PROJECT="$1"
-
-SIGNATURES="$(git notes --ref=refs/notes/signatures/tar.gz list | cut -d\ -f2)"
-for tag in $(git tag); do
- COMMIT="$(git rev-list -n1 "$tag")"
- if ! echo "$SIGNATURES" | grep -qF "$COMMIT"; then
- echo "Adding missing signature to $tag" >&2
- git notes --ref=refs/notes/signatures/tar.gz add -f -C "$(
- git archive --format tar.gz --prefix "$PROJECT-${tag#v}/" "$tag" |
- gpg --output - --armor --detach-sign |
- git hash-object -w --stdin
- )" "$tag"
- fi
-done
diff --git a/sh/templates/aux/workflow/style.css b/sh/templates/aux/workflow/style.css
deleted file mode 100644
index d7935d0e..00000000
--- a/sh/templates/aux/workflow/style.css
+++ /dev/null
@@ -1,46 +0,0 @@
-<style>
- hr {
- background-color: #ccc;
- }
-
- div.header-anchor {
- opacity: 0.5;
- }
-
- span.tag {
- font-family: monospace;
- font-size: 70%;
- background-color: lightgray;
- padding: 3px;
- border-radius: 5px;
- }
-
- /*
- Replicate colors from:
- https://git.euandreh.xyz/dotfiles/tree/spacemacs.el?id=fcd9f9c4ef399d45d54927382dc1cdde251ebb0a#n866
- */
-
- .TODO {
- color: brown;
- }
-
- .DOING {
- color: yellowgreen;
- }
-
- .WAITING, .MEETING {
- color: gray;
- }
-
- .INACTIVE {
- color: orange;
- }
-
- .NEXT {
- color: red;
- }
-
- .CANCELLED, .DONE {
- color: green;
- }
-</style>
diff --git a/sh/templates/cronjob-with-email.sh b/sh/templates/cronjob-with-email.sh
deleted file mode 100644
index 304e51d1..00000000
--- a/sh/templates/cronjob-with-email.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-set -eux
-LOG_FILE="$(mktemp)"
-{
- finish() {
- status=$?
- if [ $status = 0 ]; then
- STATUS="โœ… SUCCESS (status $status)"
- else
- STATUS="โŒ FAILURE (status $status)"
- fi
-
- echo "Registering status locally..."
- set -x
- printf '%s __JOB__\n' "$status" >> "/tmp/cron-dbg.summary.$(date -I).euandreh.log"
-
- echo "Sending report email..."
-
- SUBJECT="Job report on $(hostname): ${STATUS} for job-__JOB__.sh"
- gpg -easr eu@euandre.org < "$LOG_FILE" | \
- mail eu@euandre.org \
- -s "$SUBJECT" \
- -a 'From:eu@euandre.org' \
- --content-type 'text/plain; charset=utf-8'
- echo 'Mail sent!'
- }
- trap finish EXIT
-
- echo "Starting: $(date -Is)"
- ~/dev/libre/dotfiles/cron/__JOB__.sh
- echo "Finishing: $(date -Is)"
-} | tee "$LOG_FILE" 2>&1
diff --git a/sh/templates/description b/sh/templates/description
deleted file mode 100644
index 4c28ea5d..00000000
--- a/sh/templates/description
+++ /dev/null
@@ -1 +0,0 @@
-FIXME \ No newline at end of file
diff --git a/sh/templates/long-description b/sh/templates/long-description
deleted file mode 100644
index 4c28ea5d..00000000
--- a/sh/templates/long-description
+++ /dev/null
@@ -1 +0,0 @@
-FIXME \ No newline at end of file
diff --git a/sh/templates/tests/lib.sh b/sh/templates/tests/lib.sh
deleted file mode 100755
index 957566e2..00000000
--- a/sh/templates/tests/lib.sh
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-OUT=
-ERR=
-STATUS=
-
-assert_status() {
- if [ "$STATUS" != "$1" ]; then
- printf '\nERR: Bad status.\n\nexpected: %s\ngot: %s\n' \
- "$1" "$STATUS" >&2
- exit 1
- fi
-}
-
-assert_usage() {
- if ! grep -Fq 'Usage' "$1"; then
- echo 'Expected to find "Usage" text, it was missing:' >&2
- cat "$1" >&2
- exit 1
- fi
-}
-
-assert_empty_stream() {
- if [ -s "$2" ]; then
- printf '\nERR: Expected %s (%s) to be empty, but has content:\n%s\n' \
- "$1" "$2" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_empty_stdout() {
- assert_empty_stream STDOUT "$OUT"
-}
-
-assert_empty_stderr() {
- assert_empty_stream STDERR "$ERR"
-}
-
-assert_stream() {
- if [ "$(cat "$2")" != "$3" ]; then
- printf '\nERR: Bad %s (%s)\n\nexpected: %s\ngot: %s\n' \
- "$1" "$2" "$3" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_stdout() {
- assert_stream STDOUT "$OUT" "$1"
-}
-
-assert_stderr() {
- assert_stream STDERR "$ERR" "$1"
-}
-
-assert_grep_stream() {
- if ! grep -qE "$3" "$2"; then
- printf '\nERR: Bad %s (%s)\n\ngrepping: %s\nin:\n%s\n' \
- "$1" "$2" "$3" "$(cat "$2")" >&2
- exit 1
- fi
-}
-
-assert_grep_stdout() {
- assert_grep_stream STDOUT "$OUT" "$1"
-}
-
-assert_grep_stderr() {
- assert_grep_stream STDERR "$ERR" "$1"
-}
-
-testing() {
- printf 'testing: %s...' "$1" >&2
-}
-
-test_ok() {
- printf ' OK.\n' >&2
-}
diff --git a/sh/util.sh b/sh/util.sh
deleted file mode 100644
index 89199c11..00000000
--- a/sh/util.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-genpassword() {
- length="${1-99}"
- tr -cd '[:alnum:]' < /dev/urandom | fold "-w$length" | head -n1 ||:
-}
-
-t() {
- expand "$1" -t2 | sponge "$1"
-}
-
-ut() {
- unexpand "$1" -t2 | sponge "$1"
-}
-
-gvi() {
- if [ -e "$1" ]; then
- INIT="gpg -qd"
- else
- INIT="echo"
- fi
- $INIT "$1" | vipe | gpg -qer eu@euandre.org | sponge "$1"
-}
-
-disable_ci() {
- NAME="$(basename "$PWD")"
- rm -f ".git/hooks/$NAME/pre-push"
- ssh euandreh.xyz rm -f "/srv/git/$NAME.git/hooks/post-receive"
-}
diff --git a/sh/vcs.sh b/sh/vcs.sh
deleted file mode 100644
index 5d6afb51..00000000
--- a/sh/vcs.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-alias mr='mr -s'
-alias s='git status'
-alias d='git diff'
-alias ds='git diff --staged'
diff --git a/sh/x.sh b/sh/x.sh
deleted file mode 100644
index 5202917c..00000000
--- a/sh/x.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-setxkbmap -option esperanto:qwerty
-xset r rate 225 75
-
-# query with: xdg-mime query filetype <file>
-xdg-mime default evince.desktop application/pdf
-xdg-mime default mpv.desktop video/mp4
-xdg-mime default mpv.desktop video/webm
-xdg-mime default mpv.desktop video/x-matroska
-xdg-mime default mpv.desktop audio/mpeg
-xdg-mime default mpv.desktop audio/x-flac
-
-xdg-mime default firefox.desktop text/html
-xdg-mime default firefox.desktop text/xml
-
-xdg-mime default nautilus.desktop inode/directory
-xmodmap -e 'keycode 118 = bar Greek_lambda'
diff --git a/src/bin/backup b/src/bin/backup
deleted file mode 100755
index 828b96a8..00000000
--- a/src/bin/backup
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-set -u
-
-usage() {
- cat <<-'EOF'
- Usage:
- backup [ARCHIVE_TAG [COMMENT]]
- backup -h
- EOF
-}
-
-help() {
- cat <<-'EOF'
-
- ARCHIVE_TAG defaults to "cronjob".
- COMMENT defaults to an empty string.
-
- Options:
- -h, --help show this message
- EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-VERBOSE_FLAG=''
-while getopts 'hv' flag; do
- case "$flag" in
- h)
- usage
- help
- exit
- ;;
- v)
- VERBOSE_FLAG='-v'
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-
-set -x
-
-finish() {
- STATUS=$?
- printf '\n>>>\n>>> exit status: %s\n>>>\n\n' "$STATUS" >&2
-}
-trap finish EXIT
-
-
-export BORG_REMOTE_PATH='borg1'
-export BORG_PASSCOMMAND='pass show Usurpador/borg/passphrase'
-SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
-export SSH_AUTH_SOCK
-
-borg init -e repokey-blake2 suyin:borg/usurpador ||:
-borg key export suyin:borg/usurpador ~/archive/usurpador-borg-key.txt
-
-borg create \
- $VERBOSE_FLAG \
- --exclude ~/.cache \
- --stats \
- --compression lzma,9 \
- --comment "${2:-}" \
- "suyin:borg/usurpador::{hostname}-{now}-${1:-cronjob}" \
- ~/
-
-borg check \
- --verbose \
- --last 3 \
- suyin:borg/usurpador
-
-borg prune \
- --verbose \
- --list \
- --keep-within=6m \
- --keep-weekly=52 \
- --keep-monthly=24 \
- suyin:borg/usurpador
-
-ssh suyin quota
diff --git a/src/bin/commit-md b/src/bin/commit-md
deleted file mode 100755
index 3d4d5f6a..00000000
--- a/src/bin/commit-md
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- commit-md [COMMIT]
- commit-md -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -h, --help show this message
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-while getopts 'h' flag; do
- case "$flag" in
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-COMMIT="${1:-$(git rev-parse HEAD)}"
-REPOSITORY="$(basename "$PWD")"
-
-LINK="$(printf 'https://euandreh.xyz/%s.git/commit/?id=%s' "$REPOSITORY" "$COMMIT")"
-# shellcheck disable=2016
-MD="$(printf '[`%s`](%s)' "$COMMIT" "$LINK")"
-
-xdg-open "$LINK"
-printf ' Done in\n%s.' "$MD" | xclip -sel clip
-printf 'Copied %s to the clipboard!\n' "$MD" >&2
diff --git a/src/bin/copy b/src/bin/copy
deleted file mode 100755
index 04dc265d..00000000
--- a/src/bin/copy
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- copy [-n] < STDIN
- copy -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -n remove newlines
- -h, --help show this message
-
- Examples:
-
- Copy numbers to clipboard:
- seq 10 | copy
-
- Copy string without newline:
- echo 'with automatic newline' | copy -n
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-TRIM=false
-while getopts 'nh' flag; do
- case "$flag" in
- n)
- TRIM=true
- ;;
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-if [ "$TRIM" = 'true' ]; then
- cat - | tr -d '\n' | xclip -sel clip
-else
- cat - | xclip -sel clip
-fi
diff --git a/src/bin/fim b/src/bin/fim
deleted file mode 100755
index 7a21a513..00000000
--- a/src/bin/fim
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- fim
- fim -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -h, --help show this message
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-while getopts 'h' flag; do
- case "$flag" in
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-play "$DOTFILES/sh/Positive.ogg" 2> /dev/null
diff --git a/src/bin/gc b/src/bin/gc
deleted file mode 100755
index 0fd2ca78..00000000
--- a/src/bin/gc
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- gc
- gc -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -h, --help show this message
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-while getopts 'h' flag; do
- case "$flag" in
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-set -x
-before="$(df -h .)"
-
-PROFILES='
-per-user/root/channels
-per-user/andreh/profile
-per-user/andreh/channels
-system
-'
-
-for p in $PROFILES; do
- doas nix-env --delete-generations old -p "/nix/var/nix/profiles/$p"
-done
-nix-env --delete-generations old
-nix-store --gc
-nix-collect-garbage -d
-
-guix gc -d
-
-find ~/ -name 'nohup.out' -exec rm {} \;
-rm -rf ~/.local/share/Trash/files/*
-find /tmp/ -type f -atime +10 -exec rm {} \; ||:
-
-if command -V docker; then
- echo y | docker system prune -a
- docker rmi "$(docker images -a -q)" ||:
- docker rm "$(docker ps -a -f status=exited -q)" ||:
- docker stop "$(docker ps -a -q)" ||:
- docker rm "$(docker ps -a -q)" ||:
- echo y | docker volume prune
- echo y | docker container prune
-fi
-
-notmuch search --output=files --exclude=false tag:deleted | xargs -I{} rm "{}"
-notmuch new
-
-after="$(df -h .)"
-
-set +x
-echo 'Disk space before and after:'
-echo " before: $before"
-echo " after: $after"
diff --git a/src/bin/open b/src/bin/open
deleted file mode 100755
index 8ede1b7a..00000000
--- a/src/bin/open
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- open FILE...
- open -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -h, --help show this message
-
- Examples:
-
- Open an HTML file on the current $BROWSER:
- open index.html
-
- Open multiple PDF files (with zathura):
- open *.pdf
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-while getopts 'h' flag; do
- case "$flag" in
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-if [ -z "${1:-}" ]; then
- usage >&2
- exit 2
-fi
-
-for f in "$@"; do
- case "$f" in
- *.ico|*.jpg|*.jpeg|*.png)
- feh "$f"
- ;;
- https://www.youtube.com/watch*)
- nohup mpv "$f" 1>&2 2>/dev/null &
- ;;
- *.flac|*.ogg|*.mkv|*.avi|*.mp4)
- nohup mpv "$f" 1>&2 2>/dev/null &
- ;;
- http*|*.svg|*.html)
- "$BROWSER" "$f"
- ;;
- gopher://*)
- amfora "$f"
- ;;
- gemini://*)
- amfora "$f"
- ;;
- *.pdf|*.djvu|*.ps|*.epub)
- nohup zathura "$f" 1>&2 2>/dev/null &
- ;;
- *.txt)
- less "$f"
- ;;
- *.midi)
- timidity "$f"
- ;;
- *)
- /run/current-system/sw/bin/xdg-open "$f"
- ;;
- esac
-done
diff --git a/src/bin/print b/src/bin/print
deleted file mode 100755
index 735d8baa..00000000
--- a/src/bin/print
+++ /dev/null
@@ -1,151 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- print [-d] [-q QUALITY] [FILE...]
- print -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -d print duplex/double-sided
- -q QUALITY choose the print quality, either:
- low, medium (default) or high.
- -h, --help show this message
-
- Examples:
-
- Print the given PostScript file with default quality:
- $ print f1.ps
-
- Print multiple PDF files with high quality:
- $ print -dq high *.pdf
-
- Print the file from STDIN, double-sided:
- $ print -d < f2.ps
-
- Print multiple source code files:
- $ print src/*.{c,h}
-EOF
-}
-
-mkdtemp() {
- name="$(echo 'mkstemp(template)' |
- m4 -D template="${TMPDIR:-/tmp}/m4-tmpname.")"
- rm -f "$name"
- mkdir "$name"
- echo "$name"
-}
-
-n_pages() {
- pdftk "$1" dump_data | awk '/NumberOfPages/ { print $2 }'
-}
-
-main() {
- if file -b "$FILE" | grep -q PostScript; then
- ps2pdf "$FILE" "$NEWDIR"/in.pdf
- elif file -b "$FILE" | grep -q PDF; then
- cp "$FILE" "$NEWDIR"/in.pdf
- else
- enscript -o- "$FILE" | ps2pdf - "$NEWDIR"/in.pdf
- fi
- cd "$NEWDIR"
-
- if [ -z "$DUPLEX" ]; then
- lp in.pdf
- cd - > /dev/null
- return
- fi
-
- if [ "$(n_pages in.pdf)" = '1' ]; then
- lp in.pdf
- return
- fi
-
- pdftk A=in.pdf cat Aodd output odd.pdf
- pdftk A=in.pdf cat Aeven output even.pdf
-
- NODD="$(n_pages odd.pdf)"
- NEVEN="$(n_pages even.pdf)"
-
- printf 'Printing odd pages...\n' >&2
- lp odd.pdf
- printf 'Has printing finished yet? Once it does, reload the pages and hit it enter to continue. '
- read -r < /dev/tty
- lp even.pdf
-
- if [ "$NODD" != "$NEVEN" ]; then
- printf '\n' | lp
- fi
-
- cd - > /dev/null
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-lpoptions -o PrintQuality=standard
-DUPLEX=
-while getopts 'dq:h' flag; do
- case "$flag" in
- d)
- DUPLEX=1
- ;;
- q)
- case "$OPTARG" in
- low)
- lpoptions -o PrintQuality=draft
- ;;
- medium)
- lpoptions -o PrintQuality=standard
- ;;
- high)
- lpoptions -o PrintQuality=high
- ;;
- *)
- echo "Bad QUALITY option: \"$OPTARG\"" >&2
- exit 2
- ;;
- esac
- ;;
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-NEWDIR="$(mkdtemp)"
-if [ -z "${1:-}" ]; then
- FILE="$NEWDIR"/STDIN
- cat - > "$FILE"
- main
-else
- for f in "$@"; do
- FILE="$f"
- main
- done
-fi
diff --git a/src/bin/qr b/src/bin/qr
deleted file mode 100755
index 0fce2343..00000000
--- a/src/bin/qr
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- qr [-s PIXEL_SIZE] [DATA|-]
- qr -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -s size of the pixel (default 10)
- -h, --help show this help message
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-PIXEL_SIZE=10
-while getopts 's:h' flag; do
- case "$flag" in
- s)
- PIXEL_SIZE="$OPTARG"
- ;;
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-
-echo "${1:-$(cat -)}" | qrencode -s "$PIXEL_SIZE" -o- | feh -
diff --git a/src/bin/rfc b/src/bin/rfc
deleted file mode 100755
index 27d5357b..00000000
--- a/src/bin/rfc
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-set -eu
-set -o pipefail
-
-usage() {
- cat <<-'EOF'
- Usage:
- rfc [-w FORMAT] RFC_NUMBER
- rfc -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -w FORMAT Choose between text (txt, the default) and
- JSON (json)
- -h, --help show this message
-EOF
-}
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-FORMAT='txt'
-while getopts 'w:h' flag; do
- case "$flag" in
- w)
- case "$OPTARG" in
- json|txt)
- FORMAT="$OPTARG"
- ;;
- *)
- printf 'Bad FORMAT options: %s\n' \
- "$OPTARG" >&2
- exit 2
- ;;
- esac
- ;;
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-
-if [ -z "${1:-}" ]; then
- echo 'Missing argument RFC_NUMBER' >&2
- usage >&2
- exit 2
-fi
-
-if [ ! -e "$HOME/.local/share/doc/rfc/rfc$1.$FORMAT" ]; then
- printf 'Given RFC_NUMBER "%s" does not exist\n' "$1" >&2
- exit 2
-fi
-
-view() {
- if [ -t 1 ]; then
- $PAGER
- else
- cat -
- fi
-}
-
-case "$FORMAT" in
- txt)
- cat "$HOME/.local/share/doc/rfc/rfc$1.txt" | view
- ;;
- json)
- jq < "$HOME/.local/share/doc/rfc/rfc$1.json" | view
- ;;
- *)
- printf 'Unreachable: unsupported FORMAT "%s"\n' \
- "$FORMAT" >&2
- exit 2
- ;;
-esac
diff --git a/src/bin/xdg-open b/src/bin/xdg-open
deleted file mode 120000
index ce4a72b8..00000000
--- a/src/bin/xdg-open
+++ /dev/null
@@ -1 +0,0 @@
-open \ No newline at end of file
diff --git a/src/bin/yt b/src/bin/yt
deleted file mode 100755
index 0ef5932c..00000000
--- a/src/bin/yt
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-set -eu
-
-usage() {
- cat <<-'EOF'
- Usage:
- yt [-f] URL... [PLAYLIST_COUNT:-15]
- yt [-f] FILE... [PLAYLIST_COUNT:-15]
- yt -h
-EOF
-}
-
-help() {
- cat <<-'EOF'
-
- Options:
- -f force to download a video already
- in the archive
- -h, --help show this message
-EOF
-}
-
-mkstemp() {
- echo 'mkstemp(template)' | m4 -D template="${TMPDIR:-/tmp}/m4-tmpname."
-}
-
-
-for flag in "$@"; do
- case "$flag" in
- --)
- break
- ;;
- --help)
- usage
- help
- exit
- ;;
- *)
- ;;
- esac
-done
-
-while getopts 'fh:' flag; do
- case "$flag" in
- f)
- FORCE=1
- ;;
- h)
- usage
- help
- exit
- ;;
- *)
- usage >&2
- exit 2
- ;;
- esac
-done
-shift $((OPTIND - 1))
-
-if [ -z "${1:-}" ]; then
- echo 'Missing URL|FILE argument' >&2
- usage >&2
- exit 2
-fi
-
-
-if [ ! -e "$1" ]; then
- F="$(mkstemp)"
- printf '%s\n' "$1" > "$F"
-else
- F="$1"
-fi
-
-
-DEFAULT_PLAYLIST_END=15
-YT_TEMPLATE="$HOME/Downloads/yt-dl/%(uploader)s/%(upload_date)s %(title)s.%(ext)s"
-
-if [ -z "${FORCE:-}" ]; then
- ARCHIVE_OPTION="--download-archive $HOME/archive/youtube-dl-seen.conf"
-fi
-
-youtube-dl \
- --batch-file "$F" \
- --format best \
- --prefer-free-formats \
- --playlist-end "${2:-$DEFAULT_PLAYLIST_END}" \
- --write-description \
- --output "$YT_TEMPLATE" \
- ${ARCHIVE_OPTION:-}
diff --git a/xmonad/scripts/brightness.sh b/xmonad/scripts/brightness.sh
deleted file mode 100755
index 7eae0e5c..00000000
--- a/xmonad/scripts/brightness.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-set -eux
-
-BRIGHTNESS_DIFF="$1"
-
-# base dir for backlight class
-BASEDIR='/sys/class/backlight/'
-
-# get the backlight handler
-HANDLER="$BASEDIR$(ls "$BASEDIR")"
-
-# get current brightness
-OLD_BRIGHTNESS="$(cat "$HANDLER/brightness")"
-
-# get max brightness
-MAX_BRIGHTNESS="$(cat "$HANDLER/max_brightness")"
-
-# get current brightness %
-OLD_BRIGHTNESS_P=$(( 100 * "$OLD_BRIGHTNESS" / "$MAX_BRIGHTNESS" ))
-
-# calculate new brightness %, bounded by 0 100 range
-NEW_BRIGHTNESS_P=$(("$OLD_BRIGHTNESS_P" + "$BRIGHTNESS_DIFF"))
-NEW_BRIGHTNESS_P=$(("$NEW_BRIGHTNESS_P" > 100 ? 100 : "$NEW_BRIGHTNESS_P"))
-NEW_BRIGHTNESS_P=$(("$NEW_BRIGHTNESS_P" < 1 ? 1 : "$NEW_BRIGHTNESS_P"))
-
-# calculate new brightness value
-NEW_BRIGHTNESS=$(( "$MAX_BRIGHTNESS" * "$NEW_BRIGHTNESS_P" / 100 ))
-
-# set the new brightness value
-echo "$NEW_BRIGHTNESS" > "$HANDLER/brightness" || doas chmod 666 "$HANDLER/brightness"
diff --git a/xmonad/scripts/dmenu-clipmenu.sh b/xmonad/scripts/dmenu-clipmenu.sh
deleted file mode 100755
index d1e9fc92..00000000
--- a/xmonad/scripts/dmenu-clipmenu.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -eu
-
-clipmenu -l 20 -i -p 'Entry: ' -fn Monospace-18
diff --git a/xmonad/scripts/dmenu-emoji.sh b/xmonad/scripts/dmenu-emoji.sh
deleted file mode 100755
index 4ee93520..00000000
--- a/xmonad/scripts/dmenu-emoji.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -eu
-
-# Derived from:
-# https://github.com/porras/dmenu-emoji
-
-cd ~/dev/libre/dotfiles/xmonad/scripts/
-
-dmenu -l 20 -i -p 'Emoji: ' -fn Monospace-18 < list-emoji.txt |
- awk '{print $(NF)}' |
- tr -d '\n' |
- xclip -sel clip
diff --git a/xmonad/scripts/dmenu-pass-login.sh b/xmonad/scripts/dmenu-pass-login.sh
deleted file mode 100755
index 915048d0..00000000
--- a/xmonad/scripts/dmenu-pass-login.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -eu
-
-choice="$(find ~/.password-store/ -type f -name '*.gpg' |
- sed -e "s|^$HOME/.password-store/||" -e 's/\.gpg$//' |
- dmenu -l 20 -i -p 'Pass: ' -fn Monospace-18)"
-
-if [ -n "$choice" ]; then
- pass show -c2 "$choice"
-fi
diff --git a/xmonad/scripts/dmenu-pass.sh b/xmonad/scripts/dmenu-pass.sh
deleted file mode 100755
index 5721c081..00000000
--- a/xmonad/scripts/dmenu-pass.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -eu
-
-clipctl disable
-
-choice="$(
- find ~/.password-store/ -type f -name '*.gpg' |
- sed -e "s|^$HOME/.password-store/||" -e 's/\.gpg$//' |
- LANG=POSIX.UTF-8 sort |
- dmenu -l 20 -i -p 'Pass: ' -fn Monospace-18
-)"
-
-if [ -n "$choice" ]; then
- pass show -c "$choice"
-fi
-
-clipctl enable
diff --git a/xmonad/scripts/list-emoji.txt b/xmonad/scripts/list-emoji.txt
deleted file mode 100644
index 06b5a582..00000000
--- a/xmonad/scripts/list-emoji.txt
+++ /dev/null
@@ -1,1432 +0,0 @@
-grinning face ๐Ÿ˜€
-smiling face with open mouth ๐Ÿ˜ƒ
-smiling face with open mouth & smiling eyes ๐Ÿ˜„
-grinning face with smiling eyes ๐Ÿ˜
-smiling face with open mouth & closed eyes ๐Ÿ˜†
-smiling face with open mouth & cold sweat ๐Ÿ˜…
-face with tears of joy ๐Ÿ˜‚
-rolling on the floor laughing ๐Ÿคฃ
-smiling face โ˜บ๏ธ
-smiling face with smiling eyes ๐Ÿ˜Š
-smiling face with halo ๐Ÿ˜‡
-slightly smiling face ๐Ÿ™‚
-upside-down face ๐Ÿ™ƒ
-winking face ๐Ÿ˜‰
-relieved face ๐Ÿ˜Œ
-smiling face with heart-eyes ๐Ÿ˜
-face blowing a kiss ๐Ÿ˜˜
-kissing face ๐Ÿ˜—
-kissing face with smiling eyes ๐Ÿ˜™
-kissing face with closed eyes ๐Ÿ˜š
-face savouring delicious food ๐Ÿ˜‹
-face with stuck-out tongue & winking eye ๐Ÿ˜œ
-face with stuck-out tongue & closed eyes ๐Ÿ˜
-face with stuck-out tongue ๐Ÿ˜›
-money-mouth face ๐Ÿค‘
-hugging face ๐Ÿค—
-nerd face ๐Ÿค“
-smiling face with sunglasses ๐Ÿ˜Ž
-clown face ๐Ÿคก
-cowboy hat face ๐Ÿค 
-smirking face ๐Ÿ˜
-unamused face ๐Ÿ˜’
-disappointed face ๐Ÿ˜ž
-pensive face ๐Ÿ˜”
-worried face ๐Ÿ˜Ÿ
-confused face ๐Ÿ˜•
-slightly frowning face ๐Ÿ™
-frowning face โ˜น๏ธ
-persevering face ๐Ÿ˜ฃ
-confounded face ๐Ÿ˜–
-tired face ๐Ÿ˜ซ
-weary face ๐Ÿ˜ฉ
-face with steam from nose ๐Ÿ˜ค
-angry face ๐Ÿ˜ 
-pouting face ๐Ÿ˜ก
-face without mouth ๐Ÿ˜ถ
-neutral face ๐Ÿ˜
-expressionless face ๐Ÿ˜‘
-hushed face ๐Ÿ˜ฏ
-frowning face with open mouth ๐Ÿ˜ฆ
-anguished face ๐Ÿ˜ง
-face with open mouth ๐Ÿ˜ฎ
-astonished face ๐Ÿ˜ฒ
-dizzy face ๐Ÿ˜ต
-flushed face ๐Ÿ˜ณ
-face screaming in fear ๐Ÿ˜ฑ
-fearful face ๐Ÿ˜จ
-face with open mouth & cold sweat ๐Ÿ˜ฐ
-crying face ๐Ÿ˜ข
-disappointed but relieved face ๐Ÿ˜ฅ
-drooling face ๐Ÿคค
-loudly crying face ๐Ÿ˜ญ
-face with cold sweat ๐Ÿ˜“
-sleepy face ๐Ÿ˜ช
-sleeping face ๐Ÿ˜ด
-face with rolling eyes ๐Ÿ™„
-thinking face ๐Ÿค”
-lying face ๐Ÿคฅ
-grimacing face ๐Ÿ˜ฌ
-zipper-mouth face ๐Ÿค
-nauseated face ๐Ÿคข
-sneezing face ๐Ÿคง
-face with medical mask ๐Ÿ˜ท
-face with thermometer ๐Ÿค’
-face with head-bandage ๐Ÿค•
-smiling face with horns ๐Ÿ˜ˆ
-angry face with horns ๐Ÿ‘ฟ
-ogre ๐Ÿ‘น
-goblin ๐Ÿ‘บ
-pile of poo ๐Ÿ’ฉ
-ghost ๐Ÿ‘ป
-skull ๐Ÿ’€
-skull and crossbones โ˜ ๏ธ
-alien ๐Ÿ‘ฝ
-alien monster ๐Ÿ‘พ
-robot face ๐Ÿค–
-jack-o-lantern ๐ŸŽƒ
-smiling cat face with open mouth ๐Ÿ˜บ
-grinning cat face with smiling eyes ๐Ÿ˜ธ
-cat face with tears of joy ๐Ÿ˜น
-smiling cat face with heart-eyes ๐Ÿ˜ป
-cat face with wry smile ๐Ÿ˜ผ
-kissing cat face with closed eyes ๐Ÿ˜ฝ
-weary cat face ๐Ÿ™€
-crying cat face ๐Ÿ˜ฟ
-pouting cat face ๐Ÿ˜พ
-open hands ๐Ÿ‘
-raising hands ๐Ÿ™Œ
-clapping hands ๐Ÿ‘
-folded hands ๐Ÿ™
-handshake ๐Ÿค
-thumbs up ๐Ÿ‘
-thumbs down ๐Ÿ‘Ž
-oncoming fist ๐Ÿ‘Š
-raised fist โœŠ
-left-facing fist ๐Ÿค›
-right-facing fist ๐Ÿคœ
-crossed fingers ๐Ÿคž
-victory hand โœŒ๏ธ
-sign of the horns ๐Ÿค˜
-OK hand ๐Ÿ‘Œ
-backhand index pointing left ๐Ÿ‘ˆ
-backhand index pointing right ๐Ÿ‘‰
-backhand index pointing up ๐Ÿ‘†
-backhand index pointing down ๐Ÿ‘‡
-index pointing up โ˜๏ธ
-raised hand โœ‹
-raised back of hand ๐Ÿคš
-raised hand with fingers splayed ๐Ÿ–
-vulcan salute ๐Ÿ––
-waving hand ๐Ÿ‘‹
-call me hand ๐Ÿค™
-flexed biceps ๐Ÿ’ช
-middle finger ๐Ÿ–•
-writing hand โœ๏ธ
-selfie ๐Ÿคณ
-nail polish ๐Ÿ’…
-ring ๐Ÿ’
-lipstick ๐Ÿ’„
-kiss mark ๐Ÿ’‹
-mouth ๐Ÿ‘„
-tongue ๐Ÿ‘…
-ear ๐Ÿ‘‚
-nose ๐Ÿ‘ƒ
-footprints ๐Ÿ‘ฃ
-eye ๐Ÿ‘
-eyes ๐Ÿ‘€
-speaking head ๐Ÿ—ฃ
-bust in silhouette ๐Ÿ‘ค
-busts in silhouette ๐Ÿ‘ฅ
-baby ๐Ÿ‘ถ
-boy ๐Ÿ‘ฆ
-girl ๐Ÿ‘ง
-man ๐Ÿ‘จ
-woman ๐Ÿ‘ฉ
-blond-haired woman ๐Ÿ‘ฑโ€โ™€
-blond-haired person ๐Ÿ‘ฑ
-old man ๐Ÿ‘ด
-old woman ๐Ÿ‘ต
-man with Chinese cap ๐Ÿ‘ฒ
-woman wearing turban ๐Ÿ‘ณโ€โ™€
-person wearing turban ๐Ÿ‘ณ
-woman police officer ๐Ÿ‘ฎโ€โ™€
-police officer ๐Ÿ‘ฎ
-woman construction worker ๐Ÿ‘ทโ€โ™€
-construction worker ๐Ÿ‘ท
-woman guard ๐Ÿ’‚โ€โ™€
-guard ๐Ÿ’‚
-woman detective ๐Ÿ•ต๏ธโ€โ™€๏ธ
-detective ๐Ÿ•ต
-woman health worker ๐Ÿ‘ฉโ€โš•
-man health worker ๐Ÿ‘จโ€โš•
-woman farmer ๐Ÿ‘ฉโ€๐ŸŒพ
-man farmer ๐Ÿ‘จโ€๐ŸŒพ
-woman cook ๐Ÿ‘ฉโ€๐Ÿณ
-man cook ๐Ÿ‘จโ€๐Ÿณ
-woman student ๐Ÿ‘ฉโ€๐ŸŽ“
-man student ๐Ÿ‘จโ€๐ŸŽ“
-woman singer ๐Ÿ‘ฉโ€๐ŸŽค
-man singer ๐Ÿ‘จโ€๐ŸŽค
-woman teacher ๐Ÿ‘ฉโ€๐Ÿซ
-man teacher ๐Ÿ‘จโ€๐Ÿซ
-woman factory worker ๐Ÿ‘ฉโ€๐Ÿญ
-man factory worker ๐Ÿ‘จโ€๐Ÿญ
-woman technologist ๐Ÿ‘ฉโ€๐Ÿ’ป
-man technologist ๐Ÿ‘จโ€๐Ÿ’ป
-woman office worker ๐Ÿ‘ฉโ€๐Ÿ’ผ
-man office worker ๐Ÿ‘จโ€๐Ÿ’ผ
-woman mechanic ๐Ÿ‘ฉโ€๐Ÿ”ง
-man mechanic ๐Ÿ‘จโ€๐Ÿ”ง
-woman scientist ๐Ÿ‘ฉโ€๐Ÿ”ฌ
-man scientist ๐Ÿ‘จโ€๐Ÿ”ฌ
-woman artist ๐Ÿ‘ฉโ€๐ŸŽจ
-man artist ๐Ÿ‘จโ€๐ŸŽจ
-woman firefighter ๐Ÿ‘ฉโ€๐Ÿš’
-man firefighter ๐Ÿ‘จโ€๐Ÿš’
-woman pilot ๐Ÿ‘ฉโ€โœˆ
-man pilot ๐Ÿ‘จโ€โœˆ
-woman astronaut ๐Ÿ‘ฉโ€๐Ÿš€
-man astronaut ๐Ÿ‘จโ€๐Ÿš€
-woman judge ๐Ÿ‘ฉโ€โš–
-man judge ๐Ÿ‘จโ€โš–
-Mrs. Claus ๐Ÿคถ
-Santa Claus ๐ŸŽ…
-princess ๐Ÿ‘ธ
-prince ๐Ÿคด
-bride with veil ๐Ÿ‘ฐ
-man in tuxedo ๐Ÿคต
-baby angel ๐Ÿ‘ผ
-pregnant woman ๐Ÿคฐ
-woman bowing ๐Ÿ™‡โ€โ™€
-person bowing ๐Ÿ™‡
-person tipping hand ๐Ÿ’
-man tipping hand ๐Ÿ’โ€โ™‚
-person gesturing NO ๐Ÿ™…
-man gesturing NO ๐Ÿ™…โ€โ™‚
-person gesturing OK ๐Ÿ™†
-man gesturing OK ๐Ÿ™†โ€โ™‚
-person raising hand ๐Ÿ™‹
-man raising hand ๐Ÿ™‹โ€โ™‚
-woman facepalming ๐Ÿคฆโ€โ™€
-man facepalming ๐Ÿคฆโ€โ™‚
-woman shrugging ๐Ÿคทโ€โ™€
-man shrugging ๐Ÿคทโ€โ™‚
-person pouting ๐Ÿ™Ž
-man pouting ๐Ÿ™Žโ€โ™‚
-person frowning ๐Ÿ™
-man frowning ๐Ÿ™โ€โ™‚
-person getting haircut ๐Ÿ’‡
-man getting haircut ๐Ÿ’‡โ€โ™‚
-person getting massage ๐Ÿ’†
-man getting massage ๐Ÿ’†โ€โ™‚
-man in business suit levitating ๐Ÿ•ด
-woman dancing ๐Ÿ’ƒ
-man dancing ๐Ÿ•บ
-people with bunny ears partying ๐Ÿ‘ฏ
-men with bunny ears partying ๐Ÿ‘ฏโ€โ™‚
-woman walking ๐Ÿšถโ€โ™€
-person walking ๐Ÿšถ
-woman running ๐Ÿƒโ€โ™€
-person running ๐Ÿƒ
-man and woman holding hands ๐Ÿ‘ซ
-two women holding hands ๐Ÿ‘ญ
-two men holding hands ๐Ÿ‘ฌ
-couple with heart ๐Ÿ’‘
-couple with heart: woman woman ๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ‘ฉ
-couple with heart: man man ๐Ÿ‘จโ€โค๏ธโ€๐Ÿ‘จ
-kiss ๐Ÿ’
-kiss: woman woman ๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ
-kiss: man man ๐Ÿ‘จโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘จ
-family ๐Ÿ‘ช
-family: man woman girl ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง
-family: man woman girl boy ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
-family: man woman boy boy ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ
-family: man woman girl girl ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง
-family: woman woman boy ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ
-family: woman woman girl ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ง
-family: woman woman girl boy ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
-family: woman woman boy boy ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ
-family: woman woman girl girl ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง
-family: man man boy ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆ
-family: man man girl ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ง
-family: man man girl boy ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
-family: man man boy boy ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ
-family: man man girl girl ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง
-family: woman boy ๐Ÿ‘ฉโ€๐Ÿ‘ฆ
-family: woman girl ๐Ÿ‘ฉโ€๐Ÿ‘ง
-family: woman girl boy ๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
-family: woman boy boy ๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ
-family: woman girl girl ๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง
-family: man boy ๐Ÿ‘จโ€๐Ÿ‘ฆ
-family: man girl ๐Ÿ‘จโ€๐Ÿ‘ง
-family: man girl boy ๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
-family: man boy boy ๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ
-family: man girl girl ๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง
-womanโ€™s clothes ๐Ÿ‘š
-t-shirt ๐Ÿ‘•
-jeans ๐Ÿ‘–
-necktie ๐Ÿ‘”
-dress ๐Ÿ‘—
-bikini ๐Ÿ‘™
-kimono ๐Ÿ‘˜
-high-heeled shoe ๐Ÿ‘ 
-womanโ€™s sandal ๐Ÿ‘ก
-womanโ€™s boot ๐Ÿ‘ข
-manโ€™s shoe ๐Ÿ‘ž
-running shoe ๐Ÿ‘Ÿ
-womanโ€™s hat ๐Ÿ‘’
-top hat ๐ŸŽฉ
-graduation cap ๐ŸŽ“
-crown ๐Ÿ‘‘
-rescue workerโ€™s helmet โ›‘
-school backpack ๐ŸŽ’
-clutch bag ๐Ÿ‘
-purse ๐Ÿ‘›
-handbag ๐Ÿ‘œ
-briefcase ๐Ÿ’ผ
-glasses ๐Ÿ‘“
-sunglasses ๐Ÿ•ถ
-closed umbrella ๐ŸŒ‚
-umbrella โ˜‚๏ธ
-dog face ๐Ÿถ
-cat face ๐Ÿฑ
-mouse face ๐Ÿญ
-hamster face ๐Ÿน
-rabbit face ๐Ÿฐ
-fox face ๐ŸฆŠ
-bear face ๐Ÿป
-panda face ๐Ÿผ
-koala ๐Ÿจ
-tiger face ๐Ÿฏ
-lion face ๐Ÿฆ
-cow face ๐Ÿฎ
-pig face ๐Ÿท
-pig nose ๐Ÿฝ
-frog face ๐Ÿธ
-monkey face ๐Ÿต
-see-no-evil monkey ๐Ÿ™ˆ
-hear-no-evil monkey ๐Ÿ™‰
-speak-no-evil monkey ๐Ÿ™Š
-monkey ๐Ÿ’
-chicken ๐Ÿ”
-penguin ๐Ÿง
-bird ๐Ÿฆ
-baby chick ๐Ÿค
-hatching chick ๐Ÿฃ
-front-facing baby chick ๐Ÿฅ
-duck ๐Ÿฆ†
-eagle ๐Ÿฆ…
-owl ๐Ÿฆ‰
-bat ๐Ÿฆ‡
-wolf face ๐Ÿบ
-boar ๐Ÿ—
-horse face ๐Ÿด
-unicorn face ๐Ÿฆ„
-honeybee ๐Ÿ
-bug ๐Ÿ›
-butterfly ๐Ÿฆ‹
-snail ๐ŸŒ
-spiral shell ๐Ÿš
-lady beetle ๐Ÿž
-ant ๐Ÿœ
-spider ๐Ÿ•ท
-spider web ๐Ÿ•ธ
-turtle ๐Ÿข
-snake ๐Ÿ
-lizard ๐ŸฆŽ
-scorpion ๐Ÿฆ‚
-crab ๐Ÿฆ€
-squid ๐Ÿฆ‘
-octopus ๐Ÿ™
-shrimp ๐Ÿฆ
-tropical fish ๐Ÿ 
-fish ๐ŸŸ
-blowfish ๐Ÿก
-dolphin ๐Ÿฌ
-shark ๐Ÿฆˆ
-spouting whale ๐Ÿณ
-whale ๐Ÿ‹
-crocodile ๐ŸŠ
-leopard ๐Ÿ†
-tiger ๐Ÿ…
-water buffalo ๐Ÿƒ
-ox ๐Ÿ‚
-cow ๐Ÿ„
-deer ๐ŸฆŒ
-camel ๐Ÿช
-two-hump camel ๐Ÿซ
-elephant ๐Ÿ˜
-rhinoceros ๐Ÿฆ
-gorilla ๐Ÿฆ
-horse ๐ŸŽ
-pig ๐Ÿ–
-goat ๐Ÿ
-ram ๐Ÿ
-sheep ๐Ÿ‘
-dog ๐Ÿ•
-poodle ๐Ÿฉ
-cat ๐Ÿˆ
-rooster ๐Ÿ“
-turkey ๐Ÿฆƒ
-dove ๐Ÿ•Š
-rabbit ๐Ÿ‡
-mouse ๐Ÿ
-rat ๐Ÿ€
-chipmunk ๐Ÿฟ
-paw prints ๐Ÿพ
-dragon ๐Ÿ‰
-dragon face ๐Ÿฒ
-cactus ๐ŸŒต
-Christmas tree ๐ŸŽ„
-evergreen tree ๐ŸŒฒ
-deciduous tree ๐ŸŒณ
-palm tree ๐ŸŒด
-seedling ๐ŸŒฑ
-herb ๐ŸŒฟ
-shamrock โ˜˜๏ธ
-four leaf clover ๐Ÿ€
-pine decoration ๐ŸŽ
-tanabata tree ๐ŸŽ‹
-leaf fluttering in wind ๐Ÿƒ
-fallen leaf ๐Ÿ‚
-maple leaf ๐Ÿ
-mushroom ๐Ÿ„
-sheaf of rice ๐ŸŒพ
-bouquet ๐Ÿ’
-tulip ๐ŸŒท
-rose ๐ŸŒน
-wilted flower ๐Ÿฅ€
-sunflower ๐ŸŒป
-blossom ๐ŸŒผ
-cherry blossom ๐ŸŒธ
-hibiscus ๐ŸŒบ
-globe showing Americas ๐ŸŒŽ
-globe showing Europe-Africa ๐ŸŒ
-globe showing Asia-Australia ๐ŸŒ
-full moon ๐ŸŒ•
-waning gibbous moon ๐ŸŒ–
-last quarter moon ๐ŸŒ—
-waning crescent moon ๐ŸŒ˜
-new moon ๐ŸŒ‘
-waxing crescent moon ๐ŸŒ’
-first quarter moon ๐ŸŒ“
-waxing gibbous moon ๐ŸŒ”
-new moon face ๐ŸŒš
-full moon with face ๐ŸŒ
-sun with face ๐ŸŒž
-first quarter moon with face ๐ŸŒ›
-last quarter moon with face ๐ŸŒœ
-crescent moon ๐ŸŒ™
-dizzy ๐Ÿ’ซ
-white medium star โญ๏ธ
-glowing star ๐ŸŒŸ
-sparkles โœจ
-high voltage โšก๏ธ
-fire ๐Ÿ”ฅ
-collision ๐Ÿ’ฅ
-comet โ˜„
-sun โ˜€๏ธ
-sun behind small cloud ๐ŸŒค
-sun behind cloud โ›…๏ธ
-sun behind large cloud ๐ŸŒฅ
-sun behind rain cloud ๐ŸŒฆ
-rainbow ๐ŸŒˆ
-cloud โ˜๏ธ
-cloud with rain ๐ŸŒง
-cloud with lightning and rain โ›ˆ
-cloud with lightning ๐ŸŒฉ
-cloud with snow ๐ŸŒจ
-snowman โ˜ƒ๏ธ
-snowman without snow โ›„๏ธ
-snowflake โ„๏ธ
-wind face ๐ŸŒฌ
-dashing away ๐Ÿ’จ
-tornado ๐ŸŒช
-fog ๐ŸŒซ
-water wave ๐ŸŒŠ
-droplet ๐Ÿ’ง
-sweat droplets ๐Ÿ’ฆ
-umbrella with rain drops โ˜”๏ธ
-green apple ๐Ÿ
-red apple ๐ŸŽ
-pear ๐Ÿ
-tangerine ๐ŸŠ
-lemon ๐Ÿ‹
-banana ๐ŸŒ
-watermelon ๐Ÿ‰
-grapes ๐Ÿ‡
-strawberry ๐Ÿ“
-melon ๐Ÿˆ
-cherries ๐Ÿ’
-peach ๐Ÿ‘
-pineapple ๐Ÿ
-kiwi fruit ๐Ÿฅ
-avocado ๐Ÿฅ‘
-tomato ๐Ÿ…
-eggplant ๐Ÿ†
-cucumber ๐Ÿฅ’
-carrot ๐Ÿฅ•
-ear of corn ๐ŸŒฝ
-hot pepper ๐ŸŒถ
-potato ๐Ÿฅ”
-roasted sweet potato ๐Ÿ 
-chestnut ๐ŸŒฐ
-peanuts ๐Ÿฅœ
-honey pot ๐Ÿฏ
-croissant ๐Ÿฅ
-bread ๐Ÿž
-baguette bread ๐Ÿฅ–
-cheese wedge ๐Ÿง€
-egg ๐Ÿฅš
-cooking ๐Ÿณ
-bacon ๐Ÿฅ“
-pancakes ๐Ÿฅž
-fried shrimp ๐Ÿค
-poultry leg ๐Ÿ—
-meat on bone ๐Ÿ–
-pizza ๐Ÿ•
-hot dog ๐ŸŒญ
-hamburger ๐Ÿ”
-french fries ๐ŸŸ
-stuffed flatbread ๐Ÿฅ™
-taco ๐ŸŒฎ
-burrito ๐ŸŒฏ
-green salad ๐Ÿฅ—
-shallow pan of food ๐Ÿฅ˜
-spaghetti ๐Ÿ
-steaming bowl ๐Ÿœ
-pot of food ๐Ÿฒ
-fish cake with swirl ๐Ÿฅ
-sushi ๐Ÿฃ
-bento box ๐Ÿฑ
-curry rice ๐Ÿ›
-cooked rice ๐Ÿš
-rice ball ๐Ÿ™
-rice cracker ๐Ÿ˜
-oden ๐Ÿข
-dango ๐Ÿก
-shaved ice ๐Ÿง
-ice cream ๐Ÿจ
-soft ice cream ๐Ÿฆ
-shortcake ๐Ÿฐ
-birthday cake ๐ŸŽ‚
-custard ๐Ÿฎ
-lollipop ๐Ÿญ
-candy ๐Ÿฌ
-chocolate bar ๐Ÿซ
-popcorn ๐Ÿฟ
-doughnut ๐Ÿฉ
-cookie ๐Ÿช
-glass of milk ๐Ÿฅ›
-baby bottle ๐Ÿผ
-hot beverage โ˜•๏ธ
-teacup without handle ๐Ÿต
-sake ๐Ÿถ
-beer mug ๐Ÿบ
-clinking beer mugs ๐Ÿป
-clinking glasses ๐Ÿฅ‚
-wine glass ๐Ÿท
-tumbler glass ๐Ÿฅƒ
-cocktail glass ๐Ÿธ
-tropical drink ๐Ÿน
-bottle with popping cork ๐Ÿพ
-spoon ๐Ÿฅ„
-fork and knife ๐Ÿด
-fork and knife with plate ๐Ÿฝ
-soccer ball โšฝ๏ธ
-basketball ๐Ÿ€
-american football ๐Ÿˆ
-baseball โšพ๏ธ
-tennis ๐ŸŽพ
-volleyball ๐Ÿ
-rugby football ๐Ÿ‰
-pool 8 ball ๐ŸŽฑ
-ping pong ๐Ÿ“
-badminton ๐Ÿธ
-goal net ๐Ÿฅ…
-ice hockey ๐Ÿ’
-field hockey ๐Ÿ‘
-cricket ๐Ÿ
-flag in hole โ›ณ๏ธ
-bow and arrow ๐Ÿน
-fishing pole ๐ŸŽฃ
-boxing glove ๐ŸฅŠ
-martial arts uniform ๐Ÿฅ‹
-ice skate โ›ธ
-skis ๐ŸŽฟ
-skier โ›ท
-snowboarder ๐Ÿ‚
-woman lifting weights ๐Ÿ‹๏ธโ€โ™€๏ธ
-person lifting weights ๐Ÿ‹
-person fencing ๐Ÿคบ
-women wrestling ๐Ÿคผโ€โ™€
-men wrestling ๐Ÿคผโ€โ™‚
-woman cartwheeling ๐Ÿคธโ€โ™€
-man cartwheeling ๐Ÿคธโ€โ™‚
-woman bouncing ball โ›น๏ธโ€โ™€๏ธ
-person bouncing ball โ›น
-woman playing handball ๐Ÿคพโ€โ™€
-man playing handball ๐Ÿคพโ€โ™‚
-woman golfing ๐ŸŒ๏ธโ€โ™€๏ธ
-person golfing ๐ŸŒ
-woman surfing ๐Ÿ„โ€โ™€
-person surfing ๐Ÿ„
-woman swimming ๐ŸŠโ€โ™€
-person swimming ๐ŸŠ
-woman playing water polo ๐Ÿคฝโ€โ™€
-man playing water polo ๐Ÿคฝโ€โ™‚
-woman rowing boat ๐Ÿšฃโ€โ™€
-person rowing boat ๐Ÿšฃ
-horse racing ๐Ÿ‡
-woman biking ๐Ÿšดโ€โ™€
-person biking ๐Ÿšด
-woman mountain biking ๐Ÿšตโ€โ™€
-person mountain biking ๐Ÿšต
-running shirt ๐ŸŽฝ
-sports medal ๐Ÿ…
-military medal ๐ŸŽ–
-1st place medal ๐Ÿฅ‡
-2nd place medal ๐Ÿฅˆ
-3rd place medal ๐Ÿฅ‰
-trophy ๐Ÿ†
-rosette ๐Ÿต
-reminder ribbon ๐ŸŽ—
-ticket ๐ŸŽซ
-admission tickets ๐ŸŽŸ
-circus tent ๐ŸŽช
-woman juggling ๐Ÿคนโ€โ™€
-man juggling ๐Ÿคนโ€โ™‚
-performing arts ๐ŸŽญ
-artist palette ๐ŸŽจ
-clapper board ๐ŸŽฌ
-microphone ๐ŸŽค
-headphone ๐ŸŽง
-musical score ๐ŸŽผ
-musical keyboard ๐ŸŽน
-drum ๐Ÿฅ
-saxophone ๐ŸŽท
-trumpet ๐ŸŽบ
-guitar ๐ŸŽธ
-violin ๐ŸŽป
-game die ๐ŸŽฒ
-direct hit ๐ŸŽฏ
-bowling ๐ŸŽณ
-video game ๐ŸŽฎ
-slot machine ๐ŸŽฐ
-automobile ๐Ÿš—
-taxi ๐Ÿš•
-sport utility vehicle ๐Ÿš™
-bus ๐ŸšŒ
-trolleybus ๐ŸšŽ
-racing car ๐ŸŽ
-police car ๐Ÿš“
-ambulance ๐Ÿš‘
-fire engine ๐Ÿš’
-minibus ๐Ÿš
-delivery truck ๐Ÿšš
-articulated lorry ๐Ÿš›
-tractor ๐Ÿšœ
-kick scooter ๐Ÿ›ด
-bicycle ๐Ÿšฒ
-motor scooter ๐Ÿ›ต
-motorcycle ๐Ÿ
-police car light ๐Ÿšจ
-oncoming police car ๐Ÿš”
-oncoming bus ๐Ÿš
-oncoming automobile ๐Ÿš˜
-oncoming taxi ๐Ÿš–
-aerial tramway ๐Ÿšก
-mountain cableway ๐Ÿš 
-suspension railway ๐ŸšŸ
-railway car ๐Ÿšƒ
-tram car ๐Ÿš‹
-mountain railway ๐Ÿšž
-monorail ๐Ÿš
-high-speed train ๐Ÿš„
-high-speed train with bullet nose ๐Ÿš…
-light rail ๐Ÿšˆ
-locomotive ๐Ÿš‚
-train ๐Ÿš†
-metro ๐Ÿš‡
-tram ๐ŸšŠ
-station ๐Ÿš‰
-helicopter ๐Ÿš
-small airplane ๐Ÿ›ฉ
-airplane โœˆ๏ธ
-airplane departure ๐Ÿ›ซ
-airplane arrival ๐Ÿ›ฌ
-rocket ๐Ÿš€
-satellite ๐Ÿ›ฐ
-seat ๐Ÿ’บ
-canoe ๐Ÿ›ถ
-sailboat โ›ต๏ธ
-motor boat ๐Ÿ›ฅ
-speedboat ๐Ÿšค
-passenger ship ๐Ÿ›ณ
-ferry โ›ด
-ship ๐Ÿšข
-anchor โš“๏ธ
-construction ๐Ÿšง
-fuel pump โ›ฝ๏ธ
-bus stop ๐Ÿš
-vertical traffic light ๐Ÿšฆ
-horizontal traffic light ๐Ÿšฅ
-world map ๐Ÿ—บ
-moai ๐Ÿ—ฟ
-Statue of Liberty ๐Ÿ—ฝ
-fountain โ›ฒ๏ธ
-Tokyo tower ๐Ÿ—ผ
-castle ๐Ÿฐ
-Japanese castle ๐Ÿฏ
-stadium ๐ŸŸ
-ferris wheel ๐ŸŽก
-roller coaster ๐ŸŽข
-carousel horse ๐ŸŽ 
-umbrella on ground โ›ฑ
-beach with umbrella ๐Ÿ–
-desert island ๐Ÿ
-mountain โ›ฐ
-snow-capped mountain ๐Ÿ”
-mount fuji ๐Ÿ—ป
-volcano ๐ŸŒ‹
-desert ๐Ÿœ
-camping ๐Ÿ•
-tent โ›บ๏ธ
-railway track ๐Ÿ›ค
-motorway ๐Ÿ›ฃ
-building construction ๐Ÿ—
-factory ๐Ÿญ
-house ๐Ÿ 
-house with garden ๐Ÿก
-house ๐Ÿ˜
-derelict house ๐Ÿš
-office building ๐Ÿข
-department store ๐Ÿฌ
-Japanese post office ๐Ÿฃ
-post office ๐Ÿค
-hospital ๐Ÿฅ
-bank ๐Ÿฆ
-hotel ๐Ÿจ
-convenience store ๐Ÿช
-school ๐Ÿซ
-love hotel ๐Ÿฉ
-wedding ๐Ÿ’’
-classical building ๐Ÿ›
-church โ›ช๏ธ
-mosque ๐Ÿ•Œ
-synagogue ๐Ÿ•
-kaaba ๐Ÿ•‹
-shinto shrine โ›ฉ
-map of Japan ๐Ÿ—พ
-moon viewing ceremony ๐ŸŽ‘
-national park ๐Ÿž
-sunrise ๐ŸŒ…
-sunrise over mountains ๐ŸŒ„
-shooting star ๐ŸŒ 
-sparkler ๐ŸŽ‡
-fireworks ๐ŸŽ†
-sunset ๐ŸŒ‡
-cityscape at dusk ๐ŸŒ†
-cityscape ๐Ÿ™
-night with stars ๐ŸŒƒ
-milky way ๐ŸŒŒ
-bridge at night ๐ŸŒ‰
-foggy ๐ŸŒ
-watch โŒš๏ธ
-mobile phone ๐Ÿ“ฑ
-mobile phone with arrow ๐Ÿ“ฒ
-laptop computer ๐Ÿ’ป
-keyboard โŒจ๏ธ
-desktop computer ๐Ÿ–ฅ
-printer ๐Ÿ–จ
-computer mouse ๐Ÿ–ฑ
-trackball ๐Ÿ–ฒ
-joystick ๐Ÿ•น
-clamp ๐Ÿ—œ
-computer disk ๐Ÿ’ฝ
-floppy disk ๐Ÿ’พ
-optical disk ๐Ÿ’ฟ
-dvd ๐Ÿ“€
-videocassette ๐Ÿ“ผ
-camera ๐Ÿ“ท
-camera with flash ๐Ÿ“ธ
-video camera ๐Ÿ“น
-movie camera ๐ŸŽฅ
-film projector ๐Ÿ“ฝ
-film frames ๐ŸŽž
-telephone receiver ๐Ÿ“ž
-telephone โ˜Ž๏ธ
-pager ๐Ÿ“Ÿ
-fax machine ๐Ÿ“ 
-television ๐Ÿ“บ
-radio ๐Ÿ“ป
-studio microphone ๐ŸŽ™
-level slider ๐ŸŽš
-control knobs ๐ŸŽ›
-stopwatch โฑ
-timer clock โฒ
-alarm clock โฐ
-mantelpiece clock ๐Ÿ•ฐ
-hourglass โŒ›๏ธ
-hourglass with flowing sand โณ
-satellite antenna ๐Ÿ“ก
-battery ๐Ÿ”‹
-electric plug ๐Ÿ”Œ
-light bulb ๐Ÿ’ก
-flashlight ๐Ÿ”ฆ
-candle ๐Ÿ•ฏ
-wastebasket ๐Ÿ—‘
-oil drum ๐Ÿ›ข
-money with wings ๐Ÿ’ธ
-dollar banknote ๐Ÿ’ต
-yen banknote ๐Ÿ’ด
-euro banknote ๐Ÿ’ถ
-pound banknote ๐Ÿ’ท
-money bag ๐Ÿ’ฐ
-credit card ๐Ÿ’ณ
-gem stone ๐Ÿ’Ž
-balance scale โš–๏ธ
-wrench ๐Ÿ”ง
-hammer ๐Ÿ”จ
-hammer and pick โš’
-hammer and wrench ๐Ÿ› 
-pick โ›
-nut and bolt ๐Ÿ”ฉ
-gear โš™๏ธ
-chains โ›“
-pistol ๐Ÿ”ซ
-bomb ๐Ÿ’ฃ
-kitchen knife ๐Ÿ”ช
-dagger ๐Ÿ—ก
-crossed swords โš”๏ธ
-shield ๐Ÿ›ก
-cigarette ๐Ÿšฌ
-coffin โšฐ๏ธ
-funeral urn โšฑ๏ธ
-amphora ๐Ÿบ
-crystal ball ๐Ÿ”ฎ
-prayer beads ๐Ÿ“ฟ
-barber pole ๐Ÿ’ˆ
-alembic โš—๏ธ
-telescope ๐Ÿ”ญ
-microscope ๐Ÿ”ฌ
-hole ๐Ÿ•ณ
-pill ๐Ÿ’Š
-syringe ๐Ÿ’‰
-thermometer ๐ŸŒก
-toilet ๐Ÿšฝ
-potable water ๐Ÿšฐ
-shower ๐Ÿšฟ
-bathtub ๐Ÿ›
-person taking bath ๐Ÿ›€
-bellhop bell ๐Ÿ›Ž
-key ๐Ÿ”‘
-old key ๐Ÿ—
-door ๐Ÿšช
-couch and lamp ๐Ÿ›‹
-bed ๐Ÿ›
-person in bed ๐Ÿ›Œ
-framed picture ๐Ÿ–ผ
-shopping bags ๐Ÿ›
-shopping cart ๐Ÿ›’
-wrapped gift ๐ŸŽ
-balloon ๐ŸŽˆ
-carp streamer ๐ŸŽ
-ribbon ๐ŸŽ€
-confetti ball ๐ŸŽŠ
-party popper ๐ŸŽ‰
-Japanese dolls ๐ŸŽŽ
-red paper lantern ๐Ÿฎ
-wind chime ๐ŸŽ
-envelope โœ‰๏ธ
-envelope with arrow ๐Ÿ“ฉ
-incoming envelope ๐Ÿ“จ
-e-mail ๐Ÿ“ง
-love letter ๐Ÿ’Œ
-inbox tray ๐Ÿ“ฅ
-outbox tray ๐Ÿ“ค
-package ๐Ÿ“ฆ
-label ๐Ÿท
-closed mailbox with lowered flag ๐Ÿ“ช
-closed mailbox with raised flag ๐Ÿ“ซ
-open mailbox with raised flag ๐Ÿ“ฌ
-open mailbox with lowered flag ๐Ÿ“ญ
-postbox ๐Ÿ“ฎ
-postal horn ๐Ÿ“ฏ
-scroll ๐Ÿ“œ
-page with curl ๐Ÿ“ƒ
-page facing up ๐Ÿ“„
-bookmark tabs ๐Ÿ“‘
-bar chart ๐Ÿ“Š
-chart increasing ๐Ÿ“ˆ
-chart decreasing ๐Ÿ“‰
-spiral notepad ๐Ÿ—’
-spiral calendar ๐Ÿ—“
-tear-off calendar ๐Ÿ“†
-calendar ๐Ÿ“…
-card index ๐Ÿ“‡
-card file box ๐Ÿ—ƒ
-ballot box with ballot ๐Ÿ—ณ
-file cabinet ๐Ÿ—„
-clipboard ๐Ÿ“‹
-file folder ๐Ÿ“
-open file folder ๐Ÿ“‚
-card index dividers ๐Ÿ—‚
-rolled-up newspaper ๐Ÿ—ž
-newspaper ๐Ÿ“ฐ
-notebook ๐Ÿ““
-notebook with decorative cover ๐Ÿ“”
-ledger ๐Ÿ“’
-closed book ๐Ÿ“•
-green book ๐Ÿ“—
-blue book ๐Ÿ“˜
-orange book ๐Ÿ“™
-books ๐Ÿ“š
-open book ๐Ÿ“–
-bookmark ๐Ÿ”–
-link ๐Ÿ”—
-paperclip ๐Ÿ“Ž
-linked paperclips ๐Ÿ–‡
-triangular ruler ๐Ÿ“
-straight ruler ๐Ÿ“
-pushpin ๐Ÿ“Œ
-round pushpin ๐Ÿ“
-scissors โœ‚๏ธ
-pen ๐Ÿ–Š
-fountain pen ๐Ÿ–‹
-black nib โœ’๏ธ
-paintbrush ๐Ÿ–Œ
-crayon ๐Ÿ–
-memo ๐Ÿ“
-pencil โœ๏ธ
-left-pointing magnifying glass ๐Ÿ”
-right-pointing magnifying glass ๐Ÿ”Ž
-locked with pen ๐Ÿ”
-locked with key ๐Ÿ”
-locked ๐Ÿ”’
-unlocked ๐Ÿ”“
-red heart โค๏ธ
-yellow heart ๐Ÿ’›
-green heart ๐Ÿ’š
-blue heart ๐Ÿ’™
-purple heart ๐Ÿ’œ
-black heart ๐Ÿ–ค
-broken heart ๐Ÿ’”
-heavy heart exclamation โฃ๏ธ
-two hearts ๐Ÿ’•
-revolving hearts ๐Ÿ’ž
-beating heart ๐Ÿ’“
-growing heart ๐Ÿ’—
-sparkling heart ๐Ÿ’–
-heart with arrow ๐Ÿ’˜
-heart with ribbon ๐Ÿ’
-heart decoration ๐Ÿ’Ÿ
-peace symbol โ˜ฎ๏ธ
-latin cross โœ๏ธ
-star and crescent โ˜ช๏ธ
-om ๐Ÿ•‰
-wheel of dharma โ˜ธ๏ธ
-star of David โœก๏ธ
-dotted six-pointed star ๐Ÿ”ฏ
-menorah ๐Ÿ•Ž
-yin yang โ˜ฏ๏ธ
-orthodox cross โ˜ฆ๏ธ
-place of worship ๐Ÿ›
-Ophiuchus โ›Ž
-Aries โ™ˆ๏ธ
-Taurus โ™‰๏ธ
-Gemini โ™Š๏ธ
-Cancer โ™‹๏ธ
-Leo โ™Œ๏ธ
-Virgo โ™๏ธ
-Libra โ™Ž๏ธ
-Scorpius โ™๏ธ
-Sagittarius โ™๏ธ
-Capricorn โ™‘๏ธ
-Aquarius โ™’๏ธ
-Pisces โ™“๏ธ
-ID button ๐Ÿ†”
-atom symbol โš›๏ธ
-Japanese โ€œacceptableโ€ button ๐Ÿ‰‘
-radioactive โ˜ข๏ธ
-biohazard โ˜ฃ๏ธ
-mobile phone off ๐Ÿ“ด
-vibration mode ๐Ÿ“ณ
-Japanese โ€œnot free of chargeโ€ button ๐Ÿˆถ
-Japanese โ€œfree of chargeโ€ button ๐Ÿˆš๏ธ
-Japanese โ€œapplicationโ€ button ๐Ÿˆธ
-Japanese โ€œopen for businessโ€ button ๐Ÿˆบ
-Japanese โ€œmonthly amountโ€ button ๐Ÿˆท๏ธ
-eight-pointed star โœด๏ธ
-VS button ๐Ÿ†š
-white flower ๐Ÿ’ฎ
-Japanese โ€œbargainโ€ button ๐Ÿ‰
-Japanese โ€œsecretโ€ button ใŠ™๏ธ
-Japanese โ€œcongratulationsโ€ button ใŠ—๏ธ
-Japanese โ€œpassing gradeโ€ button ๐Ÿˆด
-Japanese โ€œno vacancyโ€ button ๐Ÿˆต
-Japanese โ€œdiscountโ€ button ๐Ÿˆน
-Japanese โ€œprohibitedโ€ button ๐Ÿˆฒ
-A button (blood type) ๐Ÿ…ฐ๏ธ
-B button (blood type) ๐Ÿ…ฑ๏ธ
-AB button (blood type) ๐Ÿ†Ž
-CL button ๐Ÿ†‘
-O button (blood type) ๐Ÿ…พ๏ธ
-SOS button ๐Ÿ†˜
-cross mark โŒ
-heavy large circle โญ•๏ธ
-stop sign ๐Ÿ›‘
-no entry โ›”๏ธ
-name badge ๐Ÿ“›
-prohibited ๐Ÿšซ
-hundred points ๐Ÿ’ฏ
-anger symbol ๐Ÿ’ข
-hot springs โ™จ๏ธ
-no pedestrians ๐Ÿšท
-no littering ๐Ÿšฏ
-no bicycles ๐Ÿšณ
-non-potable water ๐Ÿšฑ
-no one under eighteen ๐Ÿ”ž
-no mobile phones ๐Ÿ“ต
-no smoking ๐Ÿšญ
-exclamation mark โ—๏ธ
-white exclamation mark โ•
-question mark โ“
-white question mark โ”
-double exclamation mark โ€ผ๏ธ
-exclamation question mark โ‰๏ธ
-dim button ๐Ÿ”…
-bright button ๐Ÿ”†
-part alternation mark ใ€ฝ๏ธ
-warning โš ๏ธ
-children crossing ๐Ÿšธ
-trident emblem ๐Ÿ”ฑ
-fleur-de-lis โšœ๏ธ
-Japanese symbol for beginner ๐Ÿ”ฐ
-recycling symbol โ™ป๏ธ
-white heavy check mark โœ…
-Japanese โ€œreservedโ€ button ๐Ÿˆฏ๏ธ
-chart increasing with yen ๐Ÿ’น
-sparkle โ‡๏ธ
-eight-spoked asterisk โœณ๏ธ
-cross mark button โŽ
-globe with meridians ๐ŸŒ
-diamond with a dot ๐Ÿ’ 
-circled M โ“‚๏ธ
-cyclone ๐ŸŒ€
-zzz ๐Ÿ’ค
-ATM sign ๐Ÿง
-water closet ๐Ÿšพ
-wheelchair symbol โ™ฟ๏ธ
-P button ๐Ÿ…ฟ๏ธ
-Japanese โ€œvacancyโ€ button ๐Ÿˆณ
-Japanese โ€œservice chargeโ€ button ๐Ÿˆ‚๏ธ
-passport control ๐Ÿ›‚
-customs ๐Ÿ›ƒ
-baggage claim ๐Ÿ›„
-left luggage ๐Ÿ›…
-menโ€™s room ๐Ÿšน
-womenโ€™s room ๐Ÿšบ
-baby symbol ๐Ÿšผ
-restroom ๐Ÿšป
-litter in bin sign ๐Ÿšฎ
-cinema ๐ŸŽฆ
-antenna bars ๐Ÿ“ถ
-Japanese โ€œhereโ€ button ๐Ÿˆ
-input symbols ๐Ÿ”ฃ
-information โ„น๏ธ
-input latin letters ๐Ÿ”ค
-input latin lowercase ๐Ÿ”ก
-input latin uppercase ๐Ÿ” 
-NG button ๐Ÿ†–
-OK button ๐Ÿ†—
-UP! button ๐Ÿ†™
-COOL button ๐Ÿ†’
-NEW button ๐Ÿ†•
-FREE button ๐Ÿ†“
-keycap: 0 0๏ธโƒฃ
-keycap: 1 1๏ธโƒฃ
-keycap: 2 2๏ธโƒฃ
-keycap: 3 3๏ธโƒฃ
-keycap: 4 4๏ธโƒฃ
-keycap: 5 5๏ธโƒฃ
-keycap: 6 6๏ธโƒฃ
-keycap: 7 7๏ธโƒฃ
-keycap: 8 8๏ธโƒฃ
-keycap: 9 9๏ธโƒฃ
-keycap 10 ๐Ÿ”Ÿ
-input numbers ๐Ÿ”ข
-keycap: # #๏ธโƒฃ
-keycap: * *๏ธโƒฃ
-play button โ–ถ๏ธ
-pause button โธ
-play or pause button โฏ
-stop button โน
-record button โบ
-next track button โญ
-last track button โฎ
-fast-forward button โฉ
-fast reverse button โช
-fast up button โซ
-fast down button โฌ
-reverse button โ—€๏ธ
-up button ๐Ÿ”ผ
-down button ๐Ÿ”ฝ
-right arrow โžก๏ธ
-left arrow โฌ…๏ธ
-up arrow โฌ†๏ธ
-down arrow โฌ‡๏ธ
-up-right arrow โ†—๏ธ
-down-right arrow โ†˜๏ธ
-down-left arrow โ†™๏ธ
-up-left arrow โ†–๏ธ
-up-down arrow โ†•๏ธ
-left-right arrow โ†”๏ธ
-left arrow curving right โ†ช๏ธ
-right arrow curving left โ†ฉ๏ธ
-right arrow curving up โคด๏ธ
-right arrow curving down โคต๏ธ
-shuffle tracks button ๐Ÿ”€
-repeat button ๐Ÿ”
-repeat single button ๐Ÿ”‚
-anticlockwise arrows button ๐Ÿ”„
-clockwise vertical arrows ๐Ÿ”ƒ
-musical note ๐ŸŽต
-musical notes ๐ŸŽถ
-heavy plus sign โž•
-heavy minus sign โž–
-heavy division sign โž—
-heavy multiplication x โœ–๏ธ
-heavy dollar sign ๐Ÿ’ฒ
-currency exchange ๐Ÿ’ฑ
-trade mark โ„ข๏ธ
-copyright ยฉ๏ธ
-registered ยฎ๏ธ
-wavy dash ใ€ฐ๏ธ
-curly loop โžฐ
-double curly loop โžฟ
-END arrow ๐Ÿ”š
-BACK arrow ๐Ÿ”™
-ON! arrow ๐Ÿ”›
-TOP arrow ๐Ÿ”
-SOON arrow ๐Ÿ”œ
-heavy check mark โœ”๏ธ
-ballot box with check โ˜‘๏ธ
-radio button ๐Ÿ”˜
-white circle โšช๏ธ
-black circle โšซ๏ธ
-red circle ๐Ÿ”ด
-blue circle ๐Ÿ”ต
-red triangle pointed up ๐Ÿ”บ
-red triangle pointed down ๐Ÿ”ป
-small orange diamond ๐Ÿ”ธ
-small blue diamond ๐Ÿ”น
-large orange diamond ๐Ÿ”ถ
-large blue diamond ๐Ÿ”ท
-white square button ๐Ÿ”ณ
-black square button ๐Ÿ”ฒ
-black small square โ–ช๏ธ
-white small square โ–ซ๏ธ
-black medium-small square โ—พ๏ธ
-white medium-small square โ—ฝ๏ธ
-black medium square โ—ผ๏ธ
-white medium square โ—ป๏ธ
-black large square โฌ›๏ธ
-white large square โฌœ๏ธ
-speaker low volume ๐Ÿ”ˆ
-muted speaker ๐Ÿ”‡
-speaker medium volume ๐Ÿ”‰
-speaker high volume ๐Ÿ”Š
-bell ๐Ÿ””
-bell with slash ๐Ÿ”•
-megaphone ๐Ÿ“ฃ
-loudspeaker ๐Ÿ“ข
-eye in speech bubble ๐Ÿ‘โ€๐Ÿ—จ
-speech balloon ๐Ÿ’ฌ
-thought balloon ๐Ÿ’ญ
-right anger bubble ๐Ÿ—ฏ
-spade suit โ™ ๏ธ
-club suit โ™ฃ๏ธ
-heart suit โ™ฅ๏ธ
-diamond suit โ™ฆ๏ธ
-joker ๐Ÿƒ
-flower playing cards ๐ŸŽด
-mahjong red dragon ๐Ÿ€„๏ธ
-one oโ€™clock ๐Ÿ•
-two oโ€™clock ๐Ÿ•‘
-three oโ€™clock ๐Ÿ•’
-four oโ€™clock ๐Ÿ•“
-five oโ€™clock ๐Ÿ•”
-six oโ€™clock ๐Ÿ••
-seven oโ€™clock ๐Ÿ•–
-eight oโ€™clock ๐Ÿ•—
-nine oโ€™clock ๐Ÿ•˜
-ten oโ€™clock ๐Ÿ•™
-eleven oโ€™clock ๐Ÿ•š
-twelve oโ€™clock ๐Ÿ•›
-one-thirty ๐Ÿ•œ
-two-thirty ๐Ÿ•
-three-thirty ๐Ÿ•ž
-four-thirty ๐Ÿ•Ÿ
-five-thirty ๐Ÿ• 
-six-thirty ๐Ÿ•ก
-seven-thirty ๐Ÿ•ข
-eight-thirty ๐Ÿ•ฃ
-nine-thirty ๐Ÿ•ค
-ten-thirty ๐Ÿ•ฅ
-eleven-thirty ๐Ÿ•ฆ
-twelve-thirty ๐Ÿ•ง
-white flag ๐Ÿณ๏ธ
-black flag ๐Ÿด
-chequered flag ๐Ÿ
-triangular flag ๐Ÿšฉ
-rainbow flag ๐Ÿณ๏ธโ€๐ŸŒˆ
-Afghanistan ๐Ÿ‡ฆ๐Ÿ‡ซ
-ร…land Islands ๐Ÿ‡ฆ๐Ÿ‡ฝ
-Albania ๐Ÿ‡ฆ๐Ÿ‡ฑ
-Algeria ๐Ÿ‡ฉ๐Ÿ‡ฟ
-American Samoa ๐Ÿ‡ฆ๐Ÿ‡ธ
-Andorra ๐Ÿ‡ฆ๐Ÿ‡ฉ
-Angola ๐Ÿ‡ฆ๐Ÿ‡ด
-Anguilla ๐Ÿ‡ฆ๐Ÿ‡ฎ
-Antarctica ๐Ÿ‡ฆ๐Ÿ‡ถ
-Antigua & Barbuda ๐Ÿ‡ฆ๐Ÿ‡ฌ
-Argentina ๐Ÿ‡ฆ๐Ÿ‡ท
-Armenia ๐Ÿ‡ฆ๐Ÿ‡ฒ
-Aruba ๐Ÿ‡ฆ๐Ÿ‡ผ
-Australia ๐Ÿ‡ฆ๐Ÿ‡บ
-Austria ๐Ÿ‡ฆ๐Ÿ‡น
-Azerbaijan ๐Ÿ‡ฆ๐Ÿ‡ฟ
-Bahamas ๐Ÿ‡ง๐Ÿ‡ธ
-Bahrain ๐Ÿ‡ง๐Ÿ‡ญ
-Bangladesh ๐Ÿ‡ง๐Ÿ‡ฉ
-Barbados ๐Ÿ‡ง๐Ÿ‡ง
-Belarus ๐Ÿ‡ง๐Ÿ‡พ
-Belgium ๐Ÿ‡ง๐Ÿ‡ช
-Belize ๐Ÿ‡ง๐Ÿ‡ฟ
-Benin ๐Ÿ‡ง๐Ÿ‡ฏ
-Bermuda ๐Ÿ‡ง๐Ÿ‡ฒ
-Bhutan ๐Ÿ‡ง๐Ÿ‡น
-Bolivia ๐Ÿ‡ง๐Ÿ‡ด
-Caribbean Netherlands ๐Ÿ‡ง๐Ÿ‡ถ
-Bosnia & Herzegovina ๐Ÿ‡ง๐Ÿ‡ฆ
-Botswana ๐Ÿ‡ง๐Ÿ‡ผ
-Brazil ๐Ÿ‡ง๐Ÿ‡ท
-British Indian Ocean Territory ๐Ÿ‡ฎ๐Ÿ‡ด
-British Virgin Islands ๐Ÿ‡ป๐Ÿ‡ฌ
-Brunei ๐Ÿ‡ง๐Ÿ‡ณ
-Bulgaria ๐Ÿ‡ง๐Ÿ‡ฌ
-Burkina Faso ๐Ÿ‡ง๐Ÿ‡ซ
-Burundi ๐Ÿ‡ง๐Ÿ‡ฎ
-Cape Verde ๐Ÿ‡จ๐Ÿ‡ป
-Cambodia ๐Ÿ‡ฐ๐Ÿ‡ญ
-Cameroon ๐Ÿ‡จ๐Ÿ‡ฒ
-Canada ๐Ÿ‡จ๐Ÿ‡ฆ
-Canary Islands ๐Ÿ‡ฎ๐Ÿ‡จ
-Cayman Islands ๐Ÿ‡ฐ๐Ÿ‡พ
-Central African Republic ๐Ÿ‡จ๐Ÿ‡ซ
-Chad ๐Ÿ‡น๐Ÿ‡ฉ
-Chile ๐Ÿ‡จ๐Ÿ‡ฑ
-China ๐Ÿ‡จ๐Ÿ‡ณ
-Christmas Island ๐Ÿ‡จ๐Ÿ‡ฝ
-Cocos (Keeling) Islands ๐Ÿ‡จ๐Ÿ‡จ
-Colombia ๐Ÿ‡จ๐Ÿ‡ด
-Comoros ๐Ÿ‡ฐ๐Ÿ‡ฒ
-Congo - Brazzaville ๐Ÿ‡จ๐Ÿ‡ฌ
-Congo - Kinshasa ๐Ÿ‡จ๐Ÿ‡ฉ
-Cook Islands ๐Ÿ‡จ๐Ÿ‡ฐ
-Costa Rica ๐Ÿ‡จ๐Ÿ‡ท
-Cรดte dโ€™Ivoire ๐Ÿ‡จ๐Ÿ‡ฎ
-Croatia ๐Ÿ‡ญ๐Ÿ‡ท
-Cuba ๐Ÿ‡จ๐Ÿ‡บ
-Curaรงao ๐Ÿ‡จ๐Ÿ‡ผ
-Cyprus ๐Ÿ‡จ๐Ÿ‡พ
-Czech Republic ๐Ÿ‡จ๐Ÿ‡ฟ
-Denmark ๐Ÿ‡ฉ๐Ÿ‡ฐ
-Djibouti ๐Ÿ‡ฉ๐Ÿ‡ฏ
-Dominica ๐Ÿ‡ฉ๐Ÿ‡ฒ
-Dominican Republic ๐Ÿ‡ฉ๐Ÿ‡ด
-Ecuador ๐Ÿ‡ช๐Ÿ‡จ
-Egypt ๐Ÿ‡ช๐Ÿ‡ฌ
-El Salvador ๐Ÿ‡ธ๐Ÿ‡ป
-Equatorial Guinea ๐Ÿ‡ฌ๐Ÿ‡ถ
-Eritrea ๐Ÿ‡ช๐Ÿ‡ท
-Estonia ๐Ÿ‡ช๐Ÿ‡ช
-Ethiopia ๐Ÿ‡ช๐Ÿ‡น
-European Union ๐Ÿ‡ช๐Ÿ‡บ
-Falkland Islands ๐Ÿ‡ซ๐Ÿ‡ฐ
-Faroe Islands ๐Ÿ‡ซ๐Ÿ‡ด
-Fiji ๐Ÿ‡ซ๐Ÿ‡ฏ
-Finland ๐Ÿ‡ซ๐Ÿ‡ฎ
-France ๐Ÿ‡ซ๐Ÿ‡ท
-French Guiana ๐Ÿ‡ฌ๐Ÿ‡ซ
-French Polynesia ๐Ÿ‡ต๐Ÿ‡ซ
-French Southern Territories ๐Ÿ‡น๐Ÿ‡ซ
-Gabon ๐Ÿ‡ฌ๐Ÿ‡ฆ
-Gambia ๐Ÿ‡ฌ๐Ÿ‡ฒ
-Georgia ๐Ÿ‡ฌ๐Ÿ‡ช
-Germany ๐Ÿ‡ฉ๐Ÿ‡ช
-Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
-Gibraltar ๐Ÿ‡ฌ๐Ÿ‡ฎ
-Greece ๐Ÿ‡ฌ๐Ÿ‡ท
-Greenland ๐Ÿ‡ฌ๐Ÿ‡ฑ
-Grenada ๐Ÿ‡ฌ๐Ÿ‡ฉ
-Guadeloupe ๐Ÿ‡ฌ๐Ÿ‡ต
-Guam ๐Ÿ‡ฌ๐Ÿ‡บ
-Guatemala ๐Ÿ‡ฌ๐Ÿ‡น
-Guernsey ๐Ÿ‡ฌ๐Ÿ‡ฌ
-Guinea ๐Ÿ‡ฌ๐Ÿ‡ณ
-Guinea-Bissau ๐Ÿ‡ฌ๐Ÿ‡ผ
-Guyana ๐Ÿ‡ฌ๐Ÿ‡พ
-Haiti ๐Ÿ‡ญ๐Ÿ‡น
-Honduras ๐Ÿ‡ญ๐Ÿ‡ณ
-Hong Kong SAR China ๐Ÿ‡ญ๐Ÿ‡ฐ
-Hungary ๐Ÿ‡ญ๐Ÿ‡บ
-Iceland ๐Ÿ‡ฎ๐Ÿ‡ธ
-India ๐Ÿ‡ฎ๐Ÿ‡ณ
-Indonesia ๐Ÿ‡ฎ๐Ÿ‡ฉ
-Iran ๐Ÿ‡ฎ๐Ÿ‡ท
-Iraq ๐Ÿ‡ฎ๐Ÿ‡ถ
-Ireland ๐Ÿ‡ฎ๐Ÿ‡ช
-Isle of Man ๐Ÿ‡ฎ๐Ÿ‡ฒ
-Israel ๐Ÿ‡ฎ๐Ÿ‡ฑ
-Italy ๐Ÿ‡ฎ๐Ÿ‡น
-Jamaica ๐Ÿ‡ฏ๐Ÿ‡ฒ
-Japan ๐Ÿ‡ฏ๐Ÿ‡ต
-crossed flags ๐ŸŽŒ
-Jersey ๐Ÿ‡ฏ๐Ÿ‡ช
-Jordan ๐Ÿ‡ฏ๐Ÿ‡ด
-Kazakhstan ๐Ÿ‡ฐ๐Ÿ‡ฟ
-Kenya ๐Ÿ‡ฐ๐Ÿ‡ช
-Kiribati ๐Ÿ‡ฐ๐Ÿ‡ฎ
-Kosovo ๐Ÿ‡ฝ๐Ÿ‡ฐ
-Kuwait ๐Ÿ‡ฐ๐Ÿ‡ผ
-Kyrgyzstan ๐Ÿ‡ฐ๐Ÿ‡ฌ
-Laos ๐Ÿ‡ฑ๐Ÿ‡ฆ
-Latvia ๐Ÿ‡ฑ๐Ÿ‡ป
-Lebanon ๐Ÿ‡ฑ๐Ÿ‡ง
-Lesotho ๐Ÿ‡ฑ๐Ÿ‡ธ
-Liberia ๐Ÿ‡ฑ๐Ÿ‡ท
-Libya ๐Ÿ‡ฑ๐Ÿ‡พ
-Liechtenstein ๐Ÿ‡ฑ๐Ÿ‡ฎ
-Lithuania ๐Ÿ‡ฑ๐Ÿ‡น
-Luxembourg ๐Ÿ‡ฑ๐Ÿ‡บ
-Macau SAR China ๐Ÿ‡ฒ๐Ÿ‡ด
-Macedonia ๐Ÿ‡ฒ๐Ÿ‡ฐ
-Madagascar ๐Ÿ‡ฒ๐Ÿ‡ฌ
-Malawi ๐Ÿ‡ฒ๐Ÿ‡ผ
-Malaysia ๐Ÿ‡ฒ๐Ÿ‡พ
-Maldives ๐Ÿ‡ฒ๐Ÿ‡ป
-Mali ๐Ÿ‡ฒ๐Ÿ‡ฑ
-Malta ๐Ÿ‡ฒ๐Ÿ‡น
-Marshall Islands ๐Ÿ‡ฒ๐Ÿ‡ญ
-Martinique ๐Ÿ‡ฒ๐Ÿ‡ถ
-Mauritania ๐Ÿ‡ฒ๐Ÿ‡ท
-Mauritius ๐Ÿ‡ฒ๐Ÿ‡บ
-Mayotte ๐Ÿ‡พ๐Ÿ‡น
-Mexico ๐Ÿ‡ฒ๐Ÿ‡ฝ
-Micronesia ๐Ÿ‡ซ๐Ÿ‡ฒ
-Moldova ๐Ÿ‡ฒ๐Ÿ‡ฉ
-Monaco ๐Ÿ‡ฒ๐Ÿ‡จ
-Mongolia ๐Ÿ‡ฒ๐Ÿ‡ณ
-Montenegro ๐Ÿ‡ฒ๐Ÿ‡ช
-Montserrat ๐Ÿ‡ฒ๐Ÿ‡ธ
-Morocco ๐Ÿ‡ฒ๐Ÿ‡ฆ
-Mozambique ๐Ÿ‡ฒ๐Ÿ‡ฟ
-Myanmar (Burma) ๐Ÿ‡ฒ๐Ÿ‡ฒ
-Namibia ๐Ÿ‡ณ๐Ÿ‡ฆ
-Nauru ๐Ÿ‡ณ๐Ÿ‡ท
-Nepal ๐Ÿ‡ณ๐Ÿ‡ต
-Netherlands ๐Ÿ‡ณ๐Ÿ‡ฑ
-New Caledonia ๐Ÿ‡ณ๐Ÿ‡จ
-New Zealand ๐Ÿ‡ณ๐Ÿ‡ฟ
-Nicaragua ๐Ÿ‡ณ๐Ÿ‡ฎ
-Niger ๐Ÿ‡ณ๐Ÿ‡ช
-Nigeria ๐Ÿ‡ณ๐Ÿ‡ฌ
-Niue ๐Ÿ‡ณ๐Ÿ‡บ
-Norfolk Island ๐Ÿ‡ณ๐Ÿ‡ซ
-Northern Mariana Islands ๐Ÿ‡ฒ๐Ÿ‡ต
-North Korea ๐Ÿ‡ฐ๐Ÿ‡ต
-Norway ๐Ÿ‡ณ๐Ÿ‡ด
-Oman ๐Ÿ‡ด๐Ÿ‡ฒ
-Pakistan ๐Ÿ‡ต๐Ÿ‡ฐ
-Palau ๐Ÿ‡ต๐Ÿ‡ผ
-Palestinian Territories ๐Ÿ‡ต๐Ÿ‡ธ
-Panama ๐Ÿ‡ต๐Ÿ‡ฆ
-Papua New Guinea ๐Ÿ‡ต๐Ÿ‡ฌ
-Paraguay ๐Ÿ‡ต๐Ÿ‡พ
-Peru ๐Ÿ‡ต๐Ÿ‡ช
-Philippines ๐Ÿ‡ต๐Ÿ‡ญ
-Pitcairn Islands ๐Ÿ‡ต๐Ÿ‡ณ
-Poland ๐Ÿ‡ต๐Ÿ‡ฑ
-Portugal ๐Ÿ‡ต๐Ÿ‡น
-Puerto Rico ๐Ÿ‡ต๐Ÿ‡ท
-Qatar ๐Ÿ‡ถ๐Ÿ‡ฆ
-Rรฉunion ๐Ÿ‡ท๐Ÿ‡ช
-Romania ๐Ÿ‡ท๐Ÿ‡ด
-Russia ๐Ÿ‡ท๐Ÿ‡บ
-Rwanda ๐Ÿ‡ท๐Ÿ‡ผ
-St. Barthรฉlemy ๐Ÿ‡ง๐Ÿ‡ฑ
-St. Helena ๐Ÿ‡ธ๐Ÿ‡ญ
-St. Kitts & Nevis ๐Ÿ‡ฐ๐Ÿ‡ณ
-St. Lucia ๐Ÿ‡ฑ๐Ÿ‡จ
-St. Pierre & Miquelon ๐Ÿ‡ต๐Ÿ‡ฒ
-St. Vincent & Grenadines ๐Ÿ‡ป๐Ÿ‡จ
-Samoa ๐Ÿ‡ผ๐Ÿ‡ธ
-San Marino ๐Ÿ‡ธ๐Ÿ‡ฒ
-Sรฃo Tomรฉ & Prรญncipe ๐Ÿ‡ธ๐Ÿ‡น
-Saudi Arabia ๐Ÿ‡ธ๐Ÿ‡ฆ
-Senegal ๐Ÿ‡ธ๐Ÿ‡ณ
-Serbia ๐Ÿ‡ท๐Ÿ‡ธ
-Seychelles ๐Ÿ‡ธ๐Ÿ‡จ
-Sierra Leone ๐Ÿ‡ธ๐Ÿ‡ฑ
-Singapore ๐Ÿ‡ธ๐Ÿ‡ฌ
-Sint Maarten ๐Ÿ‡ธ๐Ÿ‡ฝ
-Slovakia ๐Ÿ‡ธ๐Ÿ‡ฐ
-Slovenia ๐Ÿ‡ธ๐Ÿ‡ฎ
-Solomon Islands ๐Ÿ‡ธ๐Ÿ‡ง
-Somalia ๐Ÿ‡ธ๐Ÿ‡ด
-South Africa ๐Ÿ‡ฟ๐Ÿ‡ฆ
-South Georgia & South Sandwich Islands ๐Ÿ‡ฌ๐Ÿ‡ธ
-South Korea ๐Ÿ‡ฐ๐Ÿ‡ท
-South Sudan ๐Ÿ‡ธ๐Ÿ‡ธ
-Spain ๐Ÿ‡ช๐Ÿ‡ธ
-Sri Lanka ๐Ÿ‡ฑ๐Ÿ‡ฐ
-Sudan ๐Ÿ‡ธ๐Ÿ‡ฉ
-Suriname ๐Ÿ‡ธ๐Ÿ‡ท
-Swaziland ๐Ÿ‡ธ๐Ÿ‡ฟ
-Sweden ๐Ÿ‡ธ๐Ÿ‡ช
-Switzerland ๐Ÿ‡จ๐Ÿ‡ญ
-Syria ๐Ÿ‡ธ๐Ÿ‡พ
-Taiwan ๐Ÿ‡น๐Ÿ‡ผ
-Tajikistan ๐Ÿ‡น๐Ÿ‡ฏ
-Tanzania ๐Ÿ‡น๐Ÿ‡ฟ
-Thailand ๐Ÿ‡น๐Ÿ‡ญ
-Timor-Leste ๐Ÿ‡น๐Ÿ‡ฑ
-Togo ๐Ÿ‡น๐Ÿ‡ฌ
-Tokelau ๐Ÿ‡น๐Ÿ‡ฐ
-Tonga ๐Ÿ‡น๐Ÿ‡ด
-Trinidad & Tobago ๐Ÿ‡น๐Ÿ‡น
-Tunisia ๐Ÿ‡น๐Ÿ‡ณ
-Turkey ๐Ÿ‡น๐Ÿ‡ท
-Turkmenistan ๐Ÿ‡น๐Ÿ‡ฒ
-Turks & Caicos Islands ๐Ÿ‡น๐Ÿ‡จ
-Tuvalu ๐Ÿ‡น๐Ÿ‡ป
-Uganda ๐Ÿ‡บ๐Ÿ‡ฌ
-Ukraine ๐Ÿ‡บ๐Ÿ‡ฆ
-United Arab Emirates ๐Ÿ‡ฆ๐Ÿ‡ช
-United Kingdom ๐Ÿ‡ฌ๐Ÿ‡ง
-United States ๐Ÿ‡บ๐Ÿ‡ธ
-U.S. Virgin Islands ๐Ÿ‡ป๐Ÿ‡ฎ
-Uruguay ๐Ÿ‡บ๐Ÿ‡พ
-Uzbekistan ๐Ÿ‡บ๐Ÿ‡ฟ
-Vanuatu ๐Ÿ‡ป๐Ÿ‡บ
-Vatican City ๐Ÿ‡ป๐Ÿ‡ฆ
-Venezuela ๐Ÿ‡ป๐Ÿ‡ช
-Vietnam ๐Ÿ‡ป๐Ÿ‡ณ
-Wallis & Futuna ๐Ÿ‡ผ๐Ÿ‡ซ
-Western Sahara ๐Ÿ‡ช๐Ÿ‡ญ
-Yemen ๐Ÿ‡พ๐Ÿ‡ช
-Zambia ๐Ÿ‡ฟ๐Ÿ‡ฒ
-Zimbabwe ๐Ÿ‡ฟ๐Ÿ‡ผ
diff --git a/xmonad/scripts/playerctl-play-pause.sh b/xmonad/scripts/playerctl-play-pause.sh
deleted file mode 100755
index a24733ae..00000000
--- a/xmonad/scripts/playerctl-play-pause.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ -z "${1:-}" ]; then
- playerctl --player="$(cat ~/.cache/euandreh/mpris-player.txt)" play-pause
-fi
-
-if [ "$(playerctl --player="$(cat ~/.cache/euandreh/mpris-player.txt)" status)" = 'Paused' ]; then
- cat ~/.cache/euandreh/mpris-player.txt >> ~/.cache/euandreh/mpris-player-xmobar.txt
-elif [ "$(playerctl --player="$(cat ~/.cache/euandreh/mpris-player.txt)" status)" = 'Playing' ]; then
- printf '%s: %s\n' \
- "$(cat ~/.cache/euandreh/mpris-player.txt)" \
- "$(playerctl --player="$(cat ~/.cache/euandreh/mpris-player.txt)" metadata xesam:title)" \
- >> ~/.cache/euandreh/mpris-player-xmobar.txt
-fi
diff --git a/xmonad/scripts/rotate-mpris-player.sh b/xmonad/scripts/rotate-mpris-player.sh
deleted file mode 100755
index ce93e95f..00000000
--- a/xmonad/scripts/rotate-mpris-player.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-set -eu
-
-mkdir -p "$HOME/.cache/euandreh/"
-CURRENT_PLAYER_PATH="$HOME/.cache/euandreh/mpris-player.txt"
-AVAILABLE_PLAYERS="$(playerctl --list-all | sort)"
-CURRENT_PLAYER="$(cat "$CURRENT_PLAYER_PATH" ||:)"
-
-pick_first() {
- echo "$AVAILABLE_PLAYERS" | head -n1 > "$CURRENT_PLAYER_PATH"
-}
-
-if [ -z "$CURRENT_PLAYER" ]; then
- pick_first
-elif ! echo "$AVAILABLE_PLAYERS" | grep -q "$CURRENT_PLAYER"; then
- # Unknown $CURRENT_PLAYER, pick anyone
- pick_first
-else
- INDEX="$(echo "$AVAILABLE_PLAYERS" | grep -n "$CURRENT_PLAYER" | cut -d: -f1)"
- LENGTH="$(echo "$AVAILABLE_PLAYERS" | wc -l)"
- if [ "$INDEX" = "$LENGTH" ]; then
- # Reached the end of the $AVAILABLE_PLAYERS list, wrapping
- pick_first
- else
- # Get the next player instead
- echo "$AVAILABLE_PLAYERS" | awk -v idx="$INDEX" 'NR == idx+1 {print}' > "$CURRENT_PLAYER_PATH"
- fi
-fi
-
-sh ~/dev/libre/dotfiles/xmonad/scripts/playerctl-play-pause.sh --refresh-only
diff --git a/xmonad/scripts/toggle-pulseaudio-sink.sh b/xmonad/scripts/toggle-pulseaudio-sink.sh
deleted file mode 100755
index 90f5734e..00000000
--- a/xmonad/scripts/toggle-pulseaudio-sink.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-set -eu
-
-# This script assumes that at most 2 sinks exist at any time.
-# When this premise is no longer true, it needs to be upgraded.
-
-CURRENT="$(pacmd list-sinks | grep '\* index' | cut -d: -f2 | tr -d ' ')"
-OTHER="$(pacmd list-sinks | grep index | grep -v '\* index' | tail -n1 | cut -d: -f2 | tr -d ' ')"
-
-if [ "$CURRENT" = 0 ]; then
- pacmd set-default-sink "$OTHER"
-else
- pacmd set-default-sink 0
-fi
diff --git a/xmonad/scripts/xmobar-mail.sh b/xmonad/scripts/xmobar-mail.sh
deleted file mode 100755
index 5f317053..00000000
--- a/xmonad/scripts/xmobar-mail.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -eu
-
-while true; do
- printf "mail: %s/%s - %s\n" "$(notmuch count tag:unread AND \(tag:to-me OR to:nubank.com.br OR to:euandre.org\) AND NOT tag:killed AND NOT tag:archive)" "$(notmuch count tag:inbox AND \(tag:to-me OR to:nubank.com.br OR to:euandre.org\) AND NOT tag:killed AND NOT tag:archive)" "$(msmtp-queue -d | grep -c '^From')"
- if acpi -a | grep -q off-line; then
- sleep $((60 * 15))
- else
- sleep $((60 * 1))
- fi
-done
diff --git a/xmonad/scripts/xmobar-mpris.sh b/xmonad/scripts/xmobar-mpris.sh
deleted file mode 100755
index 3ac48863..00000000
--- a/xmonad/scripts/xmobar-mpris.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -eu
-
-CUR_PATH="$HOME/.cache/euandreh/mpris-player-xmobar.txt"
-mkdir -p "$(dirname "$CUR_PATH")"
-touch "$CUR_PATH"
-
-tail -f "$CUR_PATH" 2> /dev/null
diff --git a/xmonad/scripts/xmobar-notifications.sh b/xmonad/scripts/xmobar-notifications.sh
deleted file mode 100755
index d05a2d48..00000000
--- a/xmonad/scripts/xmobar-notifications.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -eu
-
-CUR_PATH="$HOME/.cache/euandreh/xmobar-notifications.txt"
-mkdir -p "$(dirname "$CUR_PATH")"
-touch "$CUR_PATH"
-
-tail -f "$CUR_PATH" 2> /dev/null
diff --git a/xmonad/scripts/zero-brightness.sh b/xmonad/scripts/zero-brightness.sh
deleted file mode 100755
index c487dd3c..00000000
--- a/xmonad/scripts/zero-brightness.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -eux
-
-# base dir for backlight class
-BASEDIR='/sys/class/backlight/'
-
-# get the backlight handler
-HANDLER="${BASEDIR}$(ls "${BASEDIR}")"
-
-# set the new brightness value
-echo 0 > "${HANDLER}/brightness" || sudo chmod 666 "${HANDLER}/brightness"