~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 3 months ago

~earboxer/swipeKeyboard

Last active 3 months ago

~earboxer/musicdir-announce

Last active 4 months ago

~earboxer/musicdir-devel

Last active 9 months ago

~earboxer/musicdir-discuss

Last active 10 months ago

~earboxer/wiki.zachdecook.com-edits

Last active 1 year, 5 months ago
View more

Recent activity

[PATCH sxmo-utils 3/3] Gestures for VTE: Don't push up/down when dragging scrollbar a day ago

From Zach DeCook to ~mil/sxmo-devel

---
 .../sxmo_hook_inputhandler.sh                 | 20 ++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/three_button_touchscreen/sxmo_hook_inputhandler.sh b/configs/default_hooks/three_button_touchscreen/sxmo_hook_inputhandler.sh
index 02ec0fe..a2f0edb 100755
--- a/configs/default_hooks/three_button_touchscreen/sxmo_hook_inputhandler.sh
+++ b/configs/default_hooks/three_button_touchscreen/sxmo_hook_inputhandler.sh
@@ -110,7 +110,7 @@ case "$WMCLASS" in
				;;
		esac
		;;
	*"foot"*|*"st"*|*"vte"*)
	*"foot"*|*"st"*|*"vte"*|"terminal")
[message trimmed]

[PATCH sxmo-utils 2/3] Context Menu: Treat gtk4-vte3 the same as vte3 a day ago

From Zach DeCook to ~mil/sxmo-devel

---
 configs/default_hooks/sxmo_hook_contextmenu.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 71c2331..1c19dbf 100755
--- a/configs/default_hooks/sxmo_hook_contextmenu.sh
+++ b/configs/default_hooks/sxmo_hook_contextmenu.sh
@@ -203,7 +203,7 @@ case "$WMCLASS" in
		"
		WINNAME=St
		;;
	*foot*|*st*|*terminal*)
	*foot*|*st*|*terminal*|org.gnome.vte.application)
[message trimmed]

[PATCH sxmo-utils 1/3] Apps: Add Secrets and vte3-gtk4 a day ago

From Zach DeCook to ~mil/sxmo-devel

---
 configs/default_hooks/sxmo_hook_apps.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/default_hooks/sxmo_hook_apps.sh b/configs/default_hooks/sxmo_hook_apps.sh
index 16a8fab..372a0a1 100755
--- a/configs/default_hooks/sxmo_hook_apps.sh
+++ b/configs/default_hooks/sxmo_hook_apps.sh
@@ -91,6 +91,7 @@ write_line_app profanity "$icon_msg Profanity" "sxmo_terminal.sh profanity"
write_line_app qutebrowser "$icon_glb Qutebrowser" "qutebrowser"
write_line_app ranger "$icon_dir Ranger" "sxmo_terminal.sh ranger"
write_line_app sacc "$icon_glb Sacc" "sxmo_terminal.sh sacc i-logout.cz/1/bongusta"
write_line_app secrets "$icon_lck Secrets" "secrets"
write_line_app senpai "$icon_msg Senpai" "sxmo_terminal.sh senpai"
[message trimmed]

Re: [PATCH sxmo-utils v3] LEDs: Add support for rgb multi-intensity device (OnePlus 6) 7 days ago

From Zach DeCook to ~mil/sxmo-devel

On Fri Mar 3, 2023 at 11:13 AM EST, Willow Barraco wrote:
> Here some code review. In general, don't use "test" but prefer [ … ] please.

I'll keep that in mind for my v4 (fixed another problem)

> > -			red|green|blue) type="indicator" ;;
> > +			red|green|blue)
> > +				if [ -z "$SXMO_LED_RGB_TYPE" ]; then
> > +					type="indicator"
> > +				fi
> > +				;;
>
> I would prefer if this methods return fast if $SXMO_LED_RGB_TYPE exists:
>

[PATCH sxmo-utils v3] LEDs: Add support for rgb multi-intensity device (OnePlus 6) 12 days ago

From Zach DeCook to ~mil/sxmo-devel

---
 .../default_hooks/sxmo_hook_contextmenu.sh    |  2 +-
 configs/udev/90-sxmo.rules                    |  2 +
 scripts/core/sxmo_flashtoggle.sh              |  2 +-
 scripts/core/sxmo_led.sh                      | 92 +++++++++++++++++--
 scripts/deviceprofiles/README.md              |  2 +
 .../sxmo_deviceprofile_oneplus,enchilada.sh   |  2 +-
 .../sxmo_deviceprofile_oneplus,fajita.sh      |  2 +-
 7 files changed, 91 insertions(+), 13 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 1bc650b..7383d43 100755
--- a/configs/default_hooks/sxmo_hook_contextmenu.sh
+++ b/configs/default_hooks/sxmo_hook_contextmenu.sh
[message trimmed]

[PATCH sxmo-utils v2] LEDs: Add support for rgb multi-intensity device (OnePlus 6) 13 days ago

From Zach DeCook to ~mil/sxmo-devel

---
 .../default_hooks/sxmo_hook_contextmenu.sh    |  2 +-
 configs/udev/90-sxmo.rules                    |  2 +
 scripts/core/sxmo_flashtoggle.sh              |  2 +-
 scripts/core/sxmo_led.sh                      | 87 +++++++++++++++++--
 scripts/deviceprofiles/README.md              |  2 +
 .../sxmo_deviceprofile_oneplus,enchilada.sh   |  2 +-
 .../sxmo_deviceprofile_oneplus,fajita.sh      |  2 +-
 7 files changed, 86 insertions(+), 13 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 1bc650b..7383d43 100755
--- a/configs/default_hooks/sxmo_hook_contextmenu.sh
+++ b/configs/default_hooks/sxmo_hook_contextmenu.sh
[message trimmed]

[PATCH sxmo-utils] LEDs: Add support for rgb multi-intensity device (OnePlus 6) 16 days ago

From Zach DeCook to ~mil/sxmo-devel

---
(also tested for regressions on the PinePhone, and it's fine).
More future work may be needed when these devices support a flashlight.
 .../default_hooks/sxmo_hook_contextmenu.sh    |  2 +-
 configs/udev/90-sxmo.rules                    |  2 +
 scripts/core/sxmo_flashtoggle.sh              |  2 +-
 scripts/core/sxmo_led.sh                      | 85 +++++++++++++++++--
 scripts/deviceprofiles/README.md              |  2 +
 .../sxmo_deviceprofile_oneplus,enchilada.sh   |  2 +-
 .../sxmo_deviceprofile_oneplus,fajita.sh      |  2 +-
 7 files changed, 84 insertions(+), 13 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 1bc650b..7383d43 100755
[message trimmed]

[PATCH sxmobar] bugfix: Don't crash when elements contain hare format placeholders {} 23 days ago

From Zach DeCook to ~mil/sxmo-devel

---
 bar/component.ha | 60 ++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/bar/component.ha b/bar/component.ha
index a60473b..8b5804a 100644
--- a/bar/component.ha
@@ -40,32 +40,32 @@ fn display_openning(output: io::handle, format: format,
	case format::PLAIN =>
		return;
	case format::TTY =>
		fmt::fprintf(output, fgcolortotty(component.fg_color))?;
		fmt::fprintf(output, bgcolortotty(component.bg_color))?;
[message trimmed]

[PATCH sxmo-utils] statusbar: use ligatures for icons a month ago

From Zach DeCook to ~mil/sxmo-devel

battery, device volume, wifi strength, cellular signal, modem state, and modem error
and microphone state
and notifications
---

This depends on the statusbar ligature icon font:

https://sr.ht/~earboxer/statusbar

 configs/appcfg/sway_template                 |   2 +-
 configs/appcfg/xresources_dwm.xr             |   2 +-
 configs/default_hooks/sxmo_hook_statusbar.sh | 146 +++++++------------
 3 files changed, 56 insertions(+), 94 deletions(-)
[message trimmed]

Re: [PATCH sxmo-utils] change blinking to static led for screenoff a month ago

From Zach DeCook to ~mil/sxmo-devel

On Thu Jan 26, 2023 at 12:35 PM EST, Peter John Hartman wrote:
> If in screenoff, we will have a static red (if no notificaitons)
> or a static red+green (if notifications).
> ---

I still use a static red to indicate the device is suspended (with two overridden hooks).

What would you recommend for those who wish to distinguish suspend from shutdown and powered off?