Anjandev Momi
5f5cc6e675
Added button for build status
4 years ago
Reed Wade
8d5eda8af7
Add automatic shellchecks with CI
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
4 years ago
Anjandev Momi
55887d9afe
update megiaudioroute.c for 5.9 kernel
...
When combined with Sam's audio patch, this fixes audio calls on 5.9
kernel.
Source: https://xnux.eu/devices/feature/audio-pp.html
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Sam Bowlby
c8ca9e850b
fixed renamed alsa controls
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Miles Alan
b78a3ca674
Add sxmo_networks.sh script to manage nmcli connections
4 years ago
Miles Alan
deb83c0967
Don't source /etc/profile & $HOME/.profile if nonexistant in xinit
4 years ago
Miles Alan
f16b3f9762
Add sxmo_vibratepine to programs list for Makefile
4 years ago
Maarten van Gompel
7830d95209
also source ~/.profile when looking for envvars
...
I have the impression that setting environment variables in the custom
xinit script doesn't always work properly (no idea why). Putting them in
~/.profile seems to be more robust. Sourcing it is a good idea anyhow,
hence this patch:
4 years ago
Serge E. Hallyn
41f2adf18a
Makefile: be a little more conventional
...
The all target will build the programs, and each program has its
source as build dep.
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
4 years ago
Serge E. Hallyn
5a4ce877df
screenlock: set max field width for sprintf
...
Stop a compiler warning about overwriting the 100 char buffer with larger
string.
programs/sxmo_screenlock.c:61:3: note: ‘sprintf’ output between 39 and 294 bytes into a destination of size 100
4 years ago
Serge E. Hallyn
2cec0fc3be
Enable irq wakeups
...
This is needed for crust to wake us up on an incoming call.
Thanks to smaeul in #crust for the tip.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
4 years ago
Anjandev Momi
c94e58f6d2
modemmonitor: fixed no contact name displayed in notifications and new folders without +
4 years ago
Miles Alan
4c24155a62
Don't delete leading + from incoming calls in sxmo_modemmonitor.sh
4 years ago
Miles Alan
a48be9cbcf
Fix shellcheck errors in sxmo_{camera,rotateautotoggle.sh}
4 years ago
Julian P Samaroo
1253dcd5f1
Added Clear Notifications option to menu
4 years ago
Miles Alan
67a5a25163
Omit empty lines from youtube history file
4 years ago
Anjandev Momi
64cef4d0c4
camera: update constants for new alpine update
4 years ago
Andre Ramnitz
1221e853cb
Proper xresources for xcalc
4 years ago
Miles Alan
a60641cebc
Retain position in RSS script when selecting items
4 years ago
Miles Alan
47eda92e03
Allow multiple word queries for youtube script
4 years ago
Julian P Samaroo
bbdf195090
Show one line in previewing text message to edit
4 years ago
Sam Bowlby
93de0d4d84
correct variable name for incoming text number used in sms hook
4 years ago
Miles Alan
a211d82939
Set MPV_HOME in xinit and add input.conf & mpv.conf
4 years ago
Miles Alan
561122b07c
sxmo_camera.sh: Set cache-secs and demuxer-readahead-secs to 0 to prevent lag
...
Stops camera stream in mpv from falling behind
4 years ago
Miles Alan
fbb431bf7a
sxmo_camera.sh: Launch rear/front camera fns in st to show startup progress
4 years ago
Miles Alan
a426555983
sxmo_camera.sh: Pipe ffmpeg converted V4L2 to rawvideo data; remote X rotation
...
Use ffmpeg to convert V4L2 data into rawvideo data and pipe that to mpv. This
lets us use mpv's rawvideo demuxer which is instant for transpose / rotation.
Removes the X handling of rotation.
4 years ago
Miles Alan
607ef17637
Refactor camera script to use mpv instead of mplayer and delete dead code
4 years ago
Anjandev Momi
44784c106b
camera: low latency preview and picture
...
- Take pictures by pressing "s" when the preview opens.
- Depends on sxmo_autorotate.sh
- movie is not currently working. See comments in code
- uses sxiv for image previews of photos taken during that photoshoot
- TODO: use sxiv keyhandlers to add a delete photo function
- See: /usr/share/examples/sxiv/key-handler
- I dont know how we would distribute this
4 years ago
Miles Alan
d245a004b6
Remove userscripts entry from main menu; Let Edit Scripts remain on menu bottom
4 years ago
Maarten van Gompel
7978535069
Enhanced application/scripts menu
...
I added a whole bunch of possibly useful tools to the
application menu (will only show if they are actually installed) and sorted
the list alphabetically. Also included a new hook so the user can completely
override the app menu. The scripts and user-scripts menus are now merged into
one.
4 years ago
Miles Alan
ffd359165e
Style fixes for autorotate script for consistency with other scripts
...
Seperate autorotate enable/disable into fns.
Also show which state you're toggling from/to for autorotate in Config menu
4 years ago
Anjandev Momi
b86b152e6e
Added autorotate using accelerometer script
4 years ago
Maarten van Gompel
565eae8835
Updated handling of '+' in phone numbers, it is now never stripped but expected: all numbers should be full international phone numbers (including in contacts.tsv).
...
Ensure contacts from modem and contacts lists are all fully qualified phone numbers (starting with + and carrying a country prefix). This effectively filters out older/incompatible entries.
4 years ago
Miles Alan
7f2f50c11a
Use proper ytdl flags instead of JSON output for sxmo_youtube.sh
...
Avoids unecessary JSON parsing; also this is simpler and may just be
a bit faster as well.
4 years ago
Miles Alan
f57cc7db8b
Cleanup sxmo_youtube.sh, shellcheck, indent properly, and remove unused cndtn
4 years ago
Serge E. Hallyn
e424bfe85b
sxmo_vol.sh: notify after setvol too
4 years ago
Miles Alan
f24e946721
Rework sxmo_youtube.sh script to use ytdl rather then codemadness youtube-cli
...
Also add in ability to select number of results and fork when opening entries
so that the user can select multiple entries.
4 years ago
Miles Alan
68641aab4f
Move LED setting to be indpendent of notification hook
4 years ago
Miles Alan
46acb72dd7
Kill in-progress notification hooks if the notif dir is empty
4 years ago
Miles Alan
747da7863c
Fix shellcheck
4 years ago
Anjandev Momi
24c650ee49
files: play mkv files in mpv
4 years ago
Miles Alan
317437572a
Improve default notificationhook to vibrate consistently
4 years ago
Miles Alan
45c571727c
Cleanup logic for notification LED setting; increase default call volume
4 years ago
Miles Alan
8e1c40e832
Delete calls from modem on terminating the in call script
4 years ago
Miles Alan
17fb103ee3
Create a new notification when there is a missed call
4 years ago
Miles Alan
5f8aad0386
Fix bugs with incall functionality around statusbar showing call duration
4 years ago
Miles Alan
c5b665ca4f
Look for ATTRIB events for notifications updates; remove "Pickup" menu
...
Picking up call can be done from both dunst notification & notifications menu;
so for more consistency / less bugs the Pickup menu entry has been removed.
4 years ago
Miles Alan
7559984430
Fix sxmo_notificationmonitor.sh to ensure script running doesnt overlap; (kill)
4 years ago
Miles Alan
4f118bb767
Add menu entry to edit scripts / open files script in Userscripts menu
4 years ago
Anjandev Momi
6b9233b965
youtube: keep search history
...
resolves #50
4 years ago