West Michigan, USA
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.
From Zach DeCook to ~mil/sxmo-devel
--- docs/sxmo.7.scd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sxmo.7.scd b/docs/sxmo.7.scd index 8724600..66856b5 100644 --- a/docs/sxmo.7.scd +++ b/docs/sxmo.7.scd @@ -106,6 +106,9 @@ are several device subdirectories, one of which will be your $SXMO_DEVICE_NAME. It should be a symlink to another subdirectory, e.g., *one_button_ereader* or *three_button_touchscreen*. Device-specific hooks go here. While you can manually copy and edit hooks to your liking, _sxmo_hookmenu.sh_ (MENU > config > hooks) simplifies this process.[message trimmed]
From Zach DeCook to ~mil/sxmo-devel
More compact than 'special', made to complement 'simple'. Works well for both 'nav' and 'dialer' uses. --- layout.mobintl.h | 56 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/layout.mobintl.h b/layout.mobintl.h index ae91f23..9a48420 100644 --- a/layout.mobintl.h +++ b/layout.mobintl.h @@ -12,6 +12,7 @@ enum layout_id { [message trimmed]
From Zach DeCook to ~mil/sxmo-devel
--- layout.mobintl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout.mobintl.h b/layout.mobintl.h index 6e02c78..ae91f23 100644 --- a/layout.mobintl.h +++ b/layout.mobintl.h @@ -337,8 +337,9 @@ static struct key keys_simple[] = { {"Abc", "Abc", 1.0, NextLayer, .scheme = 1}, {"Ctr", "Ctr", 1.0, Mod, Ctrl, .scheme = 1}, {",", "'", 1.0, Code, KEY_COMMA, &layouts[ComposeMath]}, {"-", "_", 1.0, Code, KEY_MINUS, &layouts[ComposeMath]}, [message trimmed]
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]
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]
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]
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: >
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]
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]
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]