~anjan

~

https://momi.ca

~anjan/public-inbox

Last active 7 months ago

~anjan/fedi-go

Last active 11 months ago

~anjan/lift

Last active 11 months ago
View more

Recent activity

[PATCH sxmo-utils] screenlock: enable rtc wakeup source 4 days ago

From Anjandev Momi to ~mil/sxmo-devel

Please apply to the crust feature branch. The rtc wakeup clock is useful cause it allows
users to script programs. If I put my phone into deep sleep, none of the scripts 
I put in my cronjob will run.

For example, if I have an alarm script:

https://git.sr.ht/~anjan/sxmo-userscripts/tree/master/alarm.sh

It is supposed to run at 7:00 am but since I put my phone in deep sleep before going to sleep,
the script doesnt play sound to wake me up.

Enabling the rtc wakeup clock enables using programs like rtcwake as a wrapper around
your cronjobs to wake up the phone at a time and excecute the command you put in cron.
[message trimmed]

Re: [PATCH sxmo-utils] files: if folder name longer than 7 characters, truncate 5 days ago

From Anjandev Momi to ~mil/sxmo-devel

> This is probably better served as $(printf "%.7b" "$DIR"),
> to avoid forking to /bin/cut.
>
> наб

Thanks for the feedback. I fixed this in v2 of the patch alongside
adding ... if the directory is truncated.

-- 
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt

[PATCH sxmo-utils v2] files: if folder name longer than 7 characters, truncate 5 days ago

From Anjandev Momi to ~mil/sxmo-devel

---
 scripts/appscripts/sxmo_files.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/appscripts/sxmo_files.sh b/scripts/appscripts/sxmo_files.sh
index 1da084a..7d2c20e 100755
--- a/scripts/appscripts/sxmo_files.sh
+++ b/scripts/appscripts/sxmo_files.sh
@@ -20,6 +20,12 @@ handlefiles() {
while true; do
	CHOICES="$(printf %b 'Close Menu\n../\n*\n'"$(ls -1p)")"
	DIR="$(basename "$(pwd)")"
	TRUNCATED="$(printf %.7s "$DIR")"
	if [ "$DIR" != "$TRUNCATED" ]; then
[message trimmed]

[PATCH sxmo-utils] files: if folder name longer than 7 characters, truncate 5 days ago

From Anjandev Momi to ~mil/sxmo-devel

This fixes a bug where if you had a folder with a really long name, you could
not read any of the contents of the folder.

---
 scripts/appscripts/sxmo_files.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/appscripts/sxmo_files.sh b/scripts/appscripts/sxmo_files.sh
index 1da084a..be5f997 100755
--- a/scripts/appscripts/sxmo_files.sh
+++ b/scripts/appscripts/sxmo_files.sh
@@ -22,7 +22,7 @@ while true; do
	DIR="$(basename "$(pwd)")"
	PICKED="$(
[message trimmed]

[PATCH sxmo-utils] make files dmenu case insensitive 5 days ago

From Anjandev Momi to ~mil/sxmo-devel

---
 scripts/appscripts/sxmo_files.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/appscripts/sxmo_files.sh b/scripts/appscripts/sxmo_files.sh
index 144b338..1da084a 100755
--- a/scripts/appscripts/sxmo_files.sh
+++ b/scripts/appscripts/sxmo_files.sh
@@ -22,7 +22,7 @@ while true; do
	DIR="$(basename "$(pwd)")"
	PICKED="$(
		echo "$CHOICES" |
		dmenu -fn Terminus-18 -c -p "$DIR" -l 20
		dmenu -fn Terminus-18 -c -p "$DIR" -l 20 -i
[message trimmed]

[PATCH sxmo-utils] make dmenus with contact names case insensitive 5 days ago

From Anjandev Momi to ~mil/sxmo-devel

---
 scripts/modem/sxmo_modemdial.sh | 2 +-
 scripts/modem/sxmo_modemtext.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/modem/sxmo_modemdial.sh b/scripts/modem/sxmo_modemdial.sh
index 7ff2fac..5cf5b89 100755
--- a/scripts/modem/sxmo_modemdial.sh
+++ b/scripts/modem/sxmo_modemdial.sh
@@ -20,7 +20,7 @@ dialmenu() {
	NUMBER="$(
		printf %b "Close Menu\n$CONTACTS" | 
		grep . |
		sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20
[message trimmed]

[PATCH sxmo-utils] allow texting over ssh terminal 14 days ago

From Anjandev Momi to ~mil/sxmo-devel

---
 scripts/modem/sxmo_modemtext.sh | 61 ++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 13 deletions(-)

diff --git a/scripts/modem/sxmo_modemtext.sh b/scripts/modem/sxmo_modemtext.sh
index 3e402c8..c936d04 100755
--- a/scripts/modem/sxmo_modemtext.sh
+++ b/scripts/modem/sxmo_modemtext.sh
@@ -1,9 +1,16 @@
#!/usr/bin/env sh
EDITOR=vis
LOGDIR="$XDG_CONFIG_HOME"/sxmo/modem
TERMMODE=$([ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] && echo "true")

[message trimmed]

[PATCH sxmo-utils v3] add contacts.tsv integration to call and text apps 24 days ago

From Anjandev Momi to ~mil/sxmo-devel

---
 scripts/core/sxmo_contacts.sh   | 35 +++++++++++++++++++++++++++++++++
 scripts/modem/sxmo_modemcall.sh | 16 ++++++---------
 scripts/modem/sxmo_modemtext.sh | 23 ++++++++++------------
 3 files changed, 51 insertions(+), 23 deletions(-)
 create mode 100755 scripts/core/sxmo_contacts.sh

diff --git a/scripts/core/sxmo_contacts.sh b/scripts/core/sxmo_contacts.sh
new file mode 100755
index 0000000..b09c67d
--- /dev/null
+++ b/scripts/core/sxmo_contacts.sh
@@ -0,0 +1,35 @@
#!/usr/bin/env sh
[message trimmed]

postmarketos stable 27 days ago

From Anjandev Momi to ~mil/sxmo-devel

Postmarketos recently created their first beta release:

https://postmarketos.org/blog/2020/06/15/pinephone-postmarketos-community-edition/

I have faced many regressions running alpine edge for the last
couple months and I am looking to switch to the stable branch.
Will the stable (beta) branch of postmarketos be supported by sxmo? 

Thanks,
-- 
Anjandev Momi
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt