Miles Alan
10705f08cd
Update statusbar on waking up from deep sleep so battery % & time accurate
5 years ago
Miles Alan
87c99ec024
Use USR1 signal instead of update file for updating statusbar
5 years ago
Miles Alan
f448f3c444
Source rather than just run the user's custom xinit file; allows exporting ENV
5 years ago
Miles Alan
4fe129882d
Fix weather hourly forecast time for <12hr times
5 years ago
Miles Alan
383c52380f
5s timeout for StateSuspendPending
5 years ago
Anjandev Momi
fe24fec53d
make files dmenu case insensitive
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
a35ca3f39f
screenlock - Sort functions alphabetically; add declarations; and fix warnings
5 years ago
Miles Alan
b51644baca
screenlock - Implement StateSuspendPending so exiting CRUST requires 3 clicks
...
If you don't triple click after exiting deep sleep after 10s, use select() with
timeout to kick back into deep sleep.
5 years ago
Anjandev Momi
0013ea3d73
files: if folder name longer than 7 characters, truncate
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Anjandev Momi
a245f46914
screenlock: enable rtc wakeup source
...
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.
For info on how to use rtcwake, see:
https://wiki.postmarketos.org/wiki/Nokia_N900_(nokia-n900)#Setting_the_hardware_alarm_clock
Not sure if we should patch busybox cron to use rtcwake automatically or whether we should
trust the user to use rtcwake properly and document it. However, I am certain that the rtc
wakeup source should be enabled for this usecase.
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
cf4cd1b8df
Retain brightness when entering screenlock
5 years ago
Miles Alan
7b3be0453a
Disable buggy bluetooth driver before entering suspend
5 years ago
Miles Alan
aa8513ba84
Use direct open/write/close instead of stdlib calls for device IO
5 years ago
Miles Alan
37941f6ba8
Always reconfigure wakeup sources before entering suspend
5 years ago
Miles Alan
be6737e68f
Always wake up from suspend to StateNoInput
5 years ago
Miles Alan
4d9d1ec45d
Modify screenlock to suspend on triple pressing volume down button
...
Led indicators as follows:
Blue: Screenlocked
Purple: Screenlocked and Screenoff
Red: CRUST suspend
5 years ago
Miles Alan
f25bb821ba
Fix loop for sxmo_weather.sh
5 years ago
Miles Alan
57f6e5897e
Loop reddit script and use URL handler script with fork
5 years ago
Miles Alan
7a9ec120e1
Fork urlhandler program if run with fork option and pass opt in RSS script
5 years ago
Miles Alan
fe15eb6755
Loop weather script fetch/display logic
5 years ago
Miles Alan
95e36ccec2
Loop RSS script so that you can launch multiple items without reopening
5 years ago
Miles Alan
e0067998c8
Always kick mpv to use -ao=alsa; prevents alsa from trying to use pulse
5 years ago
Miles Alan
9919f49d82
Modify weather script to pull hourly data and format in tables
5 years ago
Miles Alan
95f171e7da
Delete zipcodes config file - GPS locations is better, and international
5 years ago
Anjandev Momi
07119a7085
make dmenus with contact names case insensitive
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Maarten van Gompel
63d5ec3f7d
added wireless symbol to bar if wireless is connected
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
435a1e74f1
Create empty file for contactsfile if missing
5 years ago
Miles Alan
a011bed9b8
Ensure shellcheck passes
5 years ago
Miles Alan
888ccc53a3
Add Foxtrotgps back to programs menu
5 years ago
Daniel Edgecumbe
e648f73291
smxo_appmenu.sh: Use 'which' to kill pre-existing instances
...
We may have 'sxmo_appmenu.sh' in the full commandline of other tools
which we don't want to kill, for example lisgd arguments.
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
4079d4d7e1
Don't loop after paste in Maps in sxmo_appmenu.sh
5 years ago
Miles Alan
18745b05bb
Use setsid to update /tmp/sxmo_bar after call to refresh bar after process dead
5 years ago
Miles Alan
b3463928f8
Remove system audio recording - should be done via userscript
5 years ago
Miles Alan
f058e17369
SIGKILL on close menu in dialer
5 years ago
Miles Alan
4814701e00
Kill existing foxtrotgps before setting new settings via gsettings
...
This should prevent foxtrotgps from saving (e.g. overriding parameters)
unintentionally between sessions
5 years ago
Miles Alan
25cc04e5d1
Cleanup sxmo_weather.sh shellscript and make sure shellcheck passes
5 years ago
Miles Alan
ad39251c5d
Show incoming contact name on ring; show texts in reverse chronological order
5 years ago
Miles Alan
844ce9ddef
Plus prefix strip numbers before storing into modem log
5 years ago
Miles Alan
e3f50e9d1b
Only show entries to text for directories that exist; fix number bugs
5 years ago
Miles Alan
917ad2ebfe
Remove temp files usage from sxmo_contacts.sh; & use awk to allow unsorted
5 years ago
Miles Alan
a032e4923e
Remove +1 stripping from numbers in modem scripts
...
Note prefix stripping was unreliable because any +1XX number would break things.
The advice should be to always dial with +1 / international prefixes and store
contacts in your contacts.tsv with international codes; this way we avoid any
duplicate errors since we can be assured things in mmcli always come back w/
international prefixing automatically.
5 years ago
Miles Alan
9f930e742a
Simplify sxmo_contacts.sh - use less tempfiles and join logic, output w/ colon
5 years ago
Anjandev Momi
f95cb51984
add contacts.tsv integration to call and text apps
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
ff9ddcb634
Allow customization of zipcodes menu for sxmo_weather.sh via $SXMO_WEATHERZIPS
5 years ago
Maarten van Gompel
a804e24721
added New Tab and New Window to firefox menu
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Maarten van Gompel
efc1051244
fixed typo
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Maarten van Gompel
e455d31e55
read custom conky.conf if available
...
Signed-off-by: Miles Alan <m@milesalan.com>
5 years ago
Miles Alan
46a8999e0f
Fix gps location setting bug
5 years ago
Miles Alan
67e9320242
Fix Close Menu entry for youtube script
5 years ago
Miles Alan
c119ab0145
Pull dialing functionality into seperate script; allows in-call check to be valid
5 years ago