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
Maarten van Gompel
7ec9ca2db1
pass incoming phone number to the ring hook (allows distinctive rings/actions based on caller) and added a similar sms hook
4 years ago
Maarten van Gompel
dbdb45bd6c
smarter configuration of default keyboard if none specified; now compatible with upstream svkbd
...
Minor patch that correctly detects which virtual keyboard is available
if none was set explicitly, supports both the new upstream svkbd, as
well as the current sxmo-svkbd fork.
4 years ago
Maarten van Gompel
15aefe2857
added mute and unmute
4 years ago
Miles Alan
ce50d0aef7
Re-enable notifications monitor
4 years ago
Miles Alan
faf9bfc48d
Refactor notifications work to use 1 interface for writing notifs & use dates
...
Summary of changes:
1. Always use the sxmo_notificationwrite.sh script to write notifications
rather then sometimes using echo to the DIR
2. Reorder args for notiffile spec to be action as 1st line, watchfile 2nd, and
rest as msg; this way msg can be multiple lines without propogating bugs
3. Write calls as a standard notification via sxmo_notificationwrite.sh
4. Use datestamps from notification files instead of filename, this way (3)
works without extra logic
5. Various style fixes
4 years ago
iressa
e6635ba7ef
Notification patch v4
4 years ago
Miles Alan
dcf5ddd77c
Fix shellcheck for sxmo_urlhandler.sh
4 years ago
Miles Alan
1461509fd0
Add option to invert colorscheme in config menu
4 years ago
Julian P Samaroo
68ff670338
Fixed bug in sxmo_vol.sh setvol
4 years ago
Miles Alan
b7b2fa495a
Add Close Menu entry to sxmo_urlhandler.sh menu
4 years ago
Miles Alan
bc10d502bd
Remove keynav daemon - this is only relevant for desktop usage..
4 years ago
Miles Alan
d07b542840
Show Htop in application menu if present
4 years ago
Miles Alan
a203bbfe85
In sxmo_appmenu.sh & sxmo_urlhandler.sh only show entries if program installed
...
E.g. so if you don't have firefox installed it won't show up in menus
4 years ago
Miles Alan
4362eacde2
sxmo_modemtext.sh - use variable name $CONTACT rather then $TDIR
4 years ago
Anjandev Momi
a8910cb2c6
text: show logfiles in order of last contacted (use sxmo_contacts.sh)
4 years ago
Julian P Samaroo
a24d966b7e
Fix = to == in screenlock
4 years ago
Miles Alan
91c77cec6c
Actually source custom xinit so that ENV vars are properly exported
4 years ago
Miles Alan
e20a467976
Bump up sxmo_appmenu.sh to allow 16 entries
...
To allow surf to show all entries in one page.. this is the
max we can allow without running into keyboard
4 years ago
Miles Alan
5c1e382505
Run sxmo_lisgdstart.sh instead of lisgd in sxmo_lock.sh
4 years ago
Maarten van Gompel
113f756eb1
Adding a wrapper around sxmo_screenlock, with lock/unlock hooks. Allow setting a target state for sxmo_screenlock, and cleanup on sigterm. Added lock/suspend options to the power menu.
...
Should be applied after my prior patches from today.
4 years ago
Maarten van Gompel
b513949b95
Added make clean
4 years ago
Maarten van Gompel
ace9960926
Made choice for virtual keyboard configurable through the $KEYBOARD environment variable.
...
This implements what was suggested in the discussion regarding the svkbd
patch, it makes the choice of virtual keyboard configurable using the
$KEYBOARD variable, rather than hard-coding it.
4 years ago
Julian P Samaroo
293bf69871
Add Power menu to appmenu
...
Signed-off-by: Miles Alan <m@milesalan.com>
4 years ago
Miles Alan
c100262d4f
Remove shellcheck error in sxmo_appmenu.sh
4 years ago
Miles Alan
3e23624651
Fix typo in sxmo_modemtext.sh
4 years ago
Anjandev Momi
92c368c01f
allow texting over ssh terminal
...
Signed-off-by: Miles Alan <m@milesalan.com>
4 years ago
Miles Alan
f3275b7cd7
After exiting suspend blink LED while in temporary suspend pending state
4 years ago
Maarten van Gompel
bfdbe29c0b
added deeper context menus for vim/vis, nano, tuir, ncmpcpp, w3m
...
This patch looks at whatever application is running inside the st terminal.
and presents a more fine-tuned context menu based on it. It does so by
parsing WM_NAME.
Supported for the moment: vim/vis, nano, tuir, ncmpcpp, w3m
This probably won't work if you're in a terminal multiplexer like
screen/tmux, unless it's configured to propagate the name of running
application.
This patch is to be applied **after** my patch for feh/sxiv from earlier today (not included in this patch)
Signed-off-by: Miles Alan <m@milesalan.com>
4 years ago
Miles Alan
03025fae5d
Delete exit entries from Sxiv / Feh - this should be done via btns or globally
4 years ago
Miles Alan
36520d487e
Change ring hook location to ~/.config/sxmo/hooks/ring
4 years ago