~earboxer

West Michigan, USA

https://zachdecook.com

We start, around the turn of the millenium, with a dot on the map: a small city where tickets to the local cinema cost only two dollars. Just outside city limits sat a parsonage, inwhich memorable history was being formed:

"That's so easy, even Zach can read it!" called one of the others.

Now, others there were, in contrast to the big people, who, here, seemed to run the joint by joint-ownership.

I was beckoned toward a newspaper, where a three-panel cartoon was being indicated.

"Here, read this!"

My first test of skill... would I succeed, proving my capability, or fail, showing the known universe that I was most inferior.

Panel 1: Garfield sits on the counter, saying "Zzzzzzzz" Panel 2: Garfield is still sitting on the counter, Jon is watching. Garfield says "Zzzzzzzz" Panel 3: Jon breaks the pattern of Zee's, and says ________...

I couldn't do it. I was the only person who didn't know how to read.

~earboxer/public-inbox

Last active 7 days ago

~earboxer/musicdir-devel

Last active 11 days ago

~earboxer/musicdir-discuss

Last active 26 days ago

~earboxer/musicdir-announce

Last active 26 days ago

~earboxer/swipeKeyboard

Last active 4 months ago

~earboxer/wiki.zachdecook.com-edits

Last active 8 months ago
View more

Recent activity

[PATCH sxmo-utils] MPV: don't force specific audio output device 3 hours ago

From Zach DeCook to ~mil/sxmo-devel

This fixes playback of voicemails when using pulse
---
 configs/applications/sxmo-mpv-music.desktop | 2 +-
 scripts/appscripts/sxmo_record.sh           | 2 +-
 scripts/core/sxmo_urlhandler.sh             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configs/applications/sxmo-mpv-music.desktop b/configs/applications/sxmo-mpv-music.desktop
index b8879ba..1b28785 100644
--- a/configs/applications/sxmo-mpv-music.desktop
+++ b/configs/applications/sxmo-mpv-music.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=mpv Music Player
[message trimmed]

Donor-font patching and fontconfig 2 days ago

From Zach DeCook to ~grmat/otf-statusbar

> I've also stumbled across the issue that normal glyphs aren't shown and 
> removing them from the font so a fallback steps in doesn't work as well. 
> Your solution with the script for a donor font is a workaround that 
> works, but maybe someone who is into fonts can find a more elegant solution?

Yeah, I haven't seen much usage of ligature fonts, outside the web, where it's often <span style=font-family:iconfont;>battery_50</span>

I want to avoid the inline switching, so the raw text of a status bar mixing text and icons remains clean.

I want to avoid unnecessary glyph-patching, so I think this is the only way to make it work with most systems (From messing with fontconfig for longer than I would like).

The default fontconfig assigns the new font, "ZachsSharpie-statusbar" to the new family "sans-serif", and assigns a default sans font to be its first fallback.

(see /etc/fonts/conf.d/ sections 4X and 6X)

Re: [PATCH sxmo-utils] texts: Don't open multiple duplicate sms history windows 3 days ago

From Zach DeCook to ~mil/sxmo-devel

On Tue May 24, 2022 at 5:09 PM EST, Hartman, Peter wrote:
> Nice we should be able to use xwininfo -root -children + xdotool with 
> some awksedgreps to accomplish this in dwm too.  You interested in doing 
> that? If not I can sit down and do it.

That would be nice (for our dwm users). I don't switch back and forth, so I don't have any care about it.
(I also have another commit I've been using for improving notifications which is wayland-only rn...)

Re: [PATCH sxmo-utils 2/3] hook_scripts: fix bashism 3 days ago

From Zach DeCook to ~mil/sxmo-devel

>  	# Process substitution because source won't work with data piped from stdin.
> -	. <(head "$1" | grep '# title="[^\\"]*"' | sed 's/^# //g')
> +	eval "$(head "$1" | grep '# title="[^\\"]*"' | sed 's/^# //g')"

You'll want to remove the comment too, since it doesn't apply any more.

[PATCH sxmo-utils] texts: Don't open multiple duplicate sms history windows 4 days ago

From Zach DeCook to ~mil/sxmo-devel

(sway only)
---
 configs/default_hooks/sxmo_hook_tailtextlog.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_tailtextlog.sh b/configs/default_hooks/sxmo_hook_tailtextlog.sh
index 2f88cf5..899f9e4 100755
--- a/configs/default_hooks/sxmo_hook_tailtextlog.sh
+++ b/configs/default_hooks/sxmo_hook_tailtextlog.sh
@@ -11,5 +11,11 @@
NUMBER="$1"
CONTACTNAME="$(sxmo_contacts.sh | grep ": ${NUMBER}$" | cut -d: -f1)"
[ "???" = "$CONTACTNAME" ] && CONTACTNAME="$CONTACTNAME ($NUMBER)"
export TERMNAME="$NUMBER SMS"
[message trimmed]

[PATCH] Scripts: Enable patching out invisible glyphs with another font 7 days ago

From Zach DeCook to ~earboxer/public-inbox

This is useful for mixing icons with text
without changing fonts midway through.

Only the blank glyphs are removed, so the rest need to be referenced from the donor font directly.

    font="DonorFont-statusbar, DonorFont"
in your application is an easy way to configure it.

Or that could be handled by fontconfig as an alias (see `man fonts.conf`)
---
 patchicons.pe | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100755 patchicons.pe
[message trimmed]

[PATCH mdaports v2 2/2] newhymns: add project 11 days ago

From Zach DeCook to ~earboxer/musicdir-devel

---
 artists/newhymns/APKBUILD | 129 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)
 create mode 100644 artists/newhymns/APKBUILD

diff --git a/artists/newhymns/APKBUILD b/artists/newhymns/APKBUILD
new file mode 100644
index 0000000..3a75c37
--- /dev/null
+++ b/artists/newhymns/APKBUILD
@@ -0,0 +1,129 @@
# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname="musicdir-newhymns"
pkgver="2019.03.15"
[message trimmed]

[PATCH mdaports v2 1/2] build: allow to install packages needed for building 11 days ago

From Zach DeCook to ~earboxer/musicdir-devel

---
 .build.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.build.yml b/.build.yml
index b3a2421..e83fed8 100644
--- a/.build.yml
+++ b/.build.yml
@@ -6,9 +6,10 @@ tasks:
      find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild sanitycheck"
  - build_setup: |
      abuild-keygen -a -i -n
      usermod -aG abuild "$USER"
  - build_changed: |
[message trimmed]

[PATCH mdaports v2 2/2] Shaping The Silence: Update date, remote copyright file 15 days ago

From Zach DeCook to ~earboxer/musicdir-devel

---
 artists/shapingthesilence/APKBUILD            | 16 +++++-------
 .../aestheticappeal.APKBUILD                  |  5 ++--
 artists/shapingthesilence/copyright           | 26 -------------------
 3 files changed, 9 insertions(+), 38 deletions(-)
 delete mode 100644 artists/shapingthesilence/copyright

diff --git a/artists/shapingthesilence/APKBUILD b/artists/shapingthesilence/APKBUILD
index 0258300..c5a7ac5 100644
--- a/artists/shapingthesilence/APKBUILD
+++ b/artists/shapingthesilence/APKBUILD
@@ -1,22 +1,20 @@
# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname="musicdir-shapingthesilence"
[message trimmed]

[PATCH mdaports v2 1/2] Shaping The Silence: Add Rediscovery 15 days ago

From Zach DeCook to ~earboxer/musicdir-devel

---
 .../shapingthesilence/rediscovery.APKBUILD    | 59 +++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 artists/shapingthesilence/rediscovery.APKBUILD

diff --git a/artists/shapingthesilence/rediscovery.APKBUILD b/artists/shapingthesilence/rediscovery.APKBUILD
new file mode 100644
index 0000000..897e6ad
--- /dev/null
+++ b/artists/shapingthesilence/rediscovery.APKBUILD
@@ -0,0 +1,59 @@
# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname="musicdir-shapingthesilence-rediscovery"
pkgver="2019.03.17"
[message trimmed]