~anjan

~

https://momi.ca

~anjan/public-inbox

Last active 1 year, 2 months ago

~anjan/fedi-go

Last active 1 year, 5 months ago

~anjan/lift

Last active 1 year, 5 months ago
View more

Recent activity

Re: [PATCH sxmo-utils] specify busybox find/xargs to fix userscripts on installs with gnu find 27 days ago

From Anjandev Momi to ~mil/sxmo-devel


>> Maybe issue the busybox alias commands at the beginning of each of our
>> sxmo scripts? Or we can specify the full path of each program our
>> scripts depend on in the script?
>>
>> What do you think?
>
> I think an alias at the beginning of each script sounds acceptable,
> though rather than duplicate it for each script, I'd suggest we make one
> common script (sxmo-common.sh? sxmo-paths.sh?) that includes the aliases and
> simply source that one from all the scripts? That makes it easier to
> maintain.

Re: [PATCH sxmo-dmenu 1/1] Perform menu actions on ButtonRelease event rather than ButtonPress. 29 days ago

From Anjandev Momi to ~mil/sxmo-devel

I have been using this patch for the past couple of days and it works
perfectly. It especially improves the touch user experience on smaller
ui elements (ie. files).

The only thing left to decide is: do we want to have a environmental
variable that will decide whether this is enabled?

I like the patch as is and dont want to add more environmental variables
but I won't merge until there has been sufficient discussion from the
community.

Thanks for the patch ~tetrakist!
-- 
w:] www.momi.ca

Re: [PATCH sxmo-utils] specify busybox find/xargs to fix userscripts on installs with gnu find 29 days ago

From Anjandev Momi to ~mil/sxmo-devel

> I wonder if it may not be a better option to set, in xinitrc:
>
> alias find "busybox find"
> alias xargs "busybox xargs"
>
> Rather than adapt the scripts? I suppose there are more instances where
> this is relevant, also regarding pkill and perhaps GNU grep?

We could also set it in .profile so that it's available over ssh:

https://git.sr.ht/~mil/sxmo-xdm-config/tree/master/item/profilesxmo.sh

The issue is that if we set it in .profile/xinitrc and the user wants to
use gnu find in the shell, it will use busybox find. As such, I wanted to

[PATCH sxmo-utils] specify busybox find/xargs to fix userscripts on installs with gnu find 29 days ago

From Anjandev Momi to ~mil/sxmo-devel

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 scripts/core/sxmo_appmenu.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh
index c6fac86..567c9fa 100755
--- a/scripts/core/sxmo_appmenu.sh
+++ b/scripts/core/sxmo_appmenu.sh
@@ -27,8 +27,8 @@ programchoicesinit() {
		if [ -x "$XDG_CONFIG_HOME/sxmo/userscripts" ]; then
			CHOICES="
				$(
					find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 |
[message trimmed]

Re: [PATCH sxmo-dwm] Keep track of whether the multikey timer is set 30 days ago

From Anjandev Momi to ~mil/sxmo-devel

Hi Andy,

Many thanks for this patch and making sxmo compatible with glibc
alongside musl. That is definitely a project goal and any other patches
you create to make sxmo libc/distro agnostic will be much appreciated.

A couple of issues with this patch:

- Please indent with tabs not spaces. I have pushed a new commit to
sxmo-dwm with our project's editorconfig (https://editorconfig.org/).

- I would prefer if we created a struct for "timer_t multikeypendingtimer" as follows:

struct time_pedantic {

[PATCH sxmo-build] install alpine-sdk package for make and gcc a month ago

From Anjandev Momi to ~mil/sxmo-devel

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 sxmo_build_all.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sxmo_build_all.sh b/sxmo_build_all.sh
index 2e8bac3..fc936cf 100755
--- a/sxmo_build_all.sh
+++ b/sxmo_build_all.sh
@@ -6,7 +6,7 @@ cd build-sxmo-dev || exit 1


echo "Installing build dependencies (permanently, this may prompt for your sudo password)">&2
[message trimmed]

[PATCH sxmo-xdm-config] Fix if user doesn't have XDG_CONFIG vars set, they cannot text via ssh a month ago

From Anjandev Momi to ~mil/sxmo-devel

Fixes issue #129

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 Makefile       | 3 ++-
 profilesxmo.sh | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 profilesxmo.sh

diff --git a/Makefile b/Makefile
index 1935e09..22398c8 100644
--- a/Makefile
+++ b/Makefile
[message trimmed]

[PATCH sxmo-utils v2] sxmo_appmenu: fixed only one userscript appearing in Scripts menu a month ago

From Anjandev Momi to ~mil/sxmo-devel

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 scripts/core/sxmo_appmenu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh
index bcf86f5..ae06881 100755
--- a/scripts/core/sxmo_appmenu.sh
+++ b/scripts/core/sxmo_appmenu.sh
@@ -28,7 +28,7 @@ programchoicesinit() {
			CHOICES="
				$(
					find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 |
[message trimmed]

[PATCH sxmo-utils] sxmo_appmenu: fixed only one userscript appearing in Scripts menu a month ago

From Anjandev Momi to ~mil/sxmo-devel

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 scripts/core/sxmo_appmenu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh
index bcf86f5..e83f53c 100755
--- a/scripts/core/sxmo_appmenu.sh
+++ b/scripts/core/sxmo_appmenu.sh
@@ -27,7 +27,7 @@ programchoicesinit() {
		if [ -x "$XDG_CONFIG_HOME/sxmo/userscripts" ]; then
			CHOICES="
				$(
[message trimmed]

[PATCH sxmo-utils 4/4 v2] Do not display text only numbers as options when dialing or composing new texts a month ago

From Anjandev Momi to ~mil/sxmo-devel

Signed-off-by: Anjandev Momi <anjan@momi.ca>
---
 scripts/modem/sxmo_modemdial.sh | 1 +
 scripts/modem/sxmo_modemtext.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/scripts/modem/sxmo_modemdial.sh b/scripts/modem/sxmo_modemdial.sh
index 8f5f0b3..8bcce10 100755
--- a/scripts/modem/sxmo_modemdial.sh
+++ b/scripts/modem/sxmo_modemdial.sh
@@ -20,6 +20,7 @@ dialmenu() {
	NUMBER="$(
		printf %b "Close Menu\nMore contacts\n$CONTACTS" |
[message trimmed]