Commit graph

722 commits

Author SHA1 Message Date
Miles Alan
17fb103ee3 Create a new notification when there is a missed call 2020-08-22 13:44:05 -05:00
Miles Alan
5f8aad0386 Fix bugs with incall functionality around statusbar showing call duration 2020-08-22 12:21:51 -05:00
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.
2020-08-22 12:21:51 -05:00
Miles Alan
7559984430 Fix sxmo_notificationmonitor.sh to ensure script running doesnt overlap; (kill) 2020-08-22 12:21:48 -05:00
Miles Alan
4f118bb767 Add menu entry to edit scripts / open files script in Userscripts menu 2020-08-20 19:42:43 -05:00
Anjandev Momi
6b9233b965 youtube: keep search history
resolves #50
2020-08-18 21:27:18 -05:00
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 2020-08-18 20:59:22 -05:00
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.
2020-08-18 20:37:48 -05:00
Maarten van Gompel
15aefe2857 added mute and unmute 2020-08-18 20:36:22 -05:00
Miles Alan
ce50d0aef7 Re-enable notifications monitor 2020-08-05 23:33:53 -05:00
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
2020-08-05 23:32:39 -05:00
iressa
e6635ba7ef Notification patch v4 2020-08-05 23:32:39 -05:00
Miles Alan
dcf5ddd77c Fix shellcheck for sxmo_urlhandler.sh 2020-08-05 23:32:39 -05:00
Miles Alan
1461509fd0 Add option to invert colorscheme in config menu 2020-08-05 23:32:39 -05:00
Julian P Samaroo
68ff670338 Fixed bug in sxmo_vol.sh setvol 2020-08-05 20:11:14 -05:00
Miles Alan
b7b2fa495a Add Close Menu entry to sxmo_urlhandler.sh menu 2020-08-05 20:11:10 -05:00
Miles Alan
bc10d502bd Remove keynav daemon - this is only relevant for desktop usage.. 2020-08-05 20:11:05 -05:00
Miles Alan
d07b542840 Show Htop in application menu if present 2020-08-05 20:10:55 -05:00
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
2020-08-05 20:10:39 -05:00
Miles Alan
4362eacde2 sxmo_modemtext.sh - use variable name $CONTACT rather then $TDIR 2020-07-30 19:39:20 -05:00
Anjandev Momi
a8910cb2c6 text: show logfiles in order of last contacted (use sxmo_contacts.sh) 2020-07-30 19:33:00 -05:00
Julian P Samaroo
a24d966b7e Fix = to == in screenlock 2020-07-30 18:39:14 -05:00
Miles Alan
91c77cec6c Actually source custom xinit so that ENV vars are properly exported 2020-07-28 17:32:39 -05:00
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
2020-07-26 11:22:59 -05:00
Miles Alan
5c1e382505 Run sxmo_lisgdstart.sh instead of lisgd in sxmo_lock.sh 2020-07-26 10:34:39 -05:00
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.
2020-07-26 10:31:57 -05:00
Maarten van Gompel
b513949b95 Added make clean 2020-07-26 10:22:31 -05:00
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.
2020-07-26 10:22:31 -05:00
Julian P Samaroo
293bf69871 Add Power menu to appmenu
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-23 16:59:03 -05:00
Miles Alan
c100262d4f Remove shellcheck error in sxmo_appmenu.sh 2020-07-23 16:49:51 -05:00
Miles Alan
3e23624651 Fix typo in sxmo_modemtext.sh 2020-07-23 16:45:15 -05:00
Anjandev Momi
92c368c01f allow texting over ssh terminal
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-23 16:44:09 -05:00
Miles Alan
f3275b7cd7 After exiting suspend blink LED while in temporary suspend pending state 2020-07-21 21:40:56 -05:00
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>
2020-07-19 21:24:08 -05:00
Miles Alan
03025fae5d Delete exit entries from Sxiv / Feh - this should be done via btns or globally 2020-07-18 18:09:50 -05:00
Miles Alan
36520d487e Change ring hook location to ~/.config/sxmo/hooks/ring 2020-07-18 10:38:28 -05:00
Dmytro
9378530a1b Ringing sound configurable
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-18 10:38:28 -05:00
Anjandev Momi
92e185b888 Add XDG user directories and env variables
This patch adds the rest of XDG user directories as per XDG base directory
specification.

https://wiki.archlinux.org/index.php/XDG_Base_Directory

This fixes launching anbox on sxmo. Furthermore, it makes sure $XDG_RUNTIME_HOME
has the correct permissions.

Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-18 10:38:22 -05:00
Maarten van Gompel
d4cb102c85 added app context menu for feh and sxiv (image viewers)
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-18 10:15:19 -05:00
Miles Alan
5c4c6c15e2 Refactor xinit to be more structured and set $EDITOR if unset to vis 2020-07-18 10:14:58 -05:00
Miles Alan
d2ee25d724 Allow viewing cached RSS feeds via toggling on/off fetch option 2020-07-17 22:43:29 -05:00
Miles Alan
92e048a153 Screenlock: Recognize keyrelease rather than keydown to avoid inadvertent exits
E.g. so now you distinctively have to press down the powerbutton three times
rather than holding (which is easy to do inadvertently in pocket) to exit
screenlock.
2020-07-15 21:47:50 -05:00
Stephen Paul Weber
a50f1d3093 Allow easily searching in the page from surf menu
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-12 21:10:14 -05:00
Miles Alan
579503ee1f Add udev rules to update status bar plugging in / unplugging charger 2020-07-12 19:29:49 -05:00
Miles Alan
0801bb1adb Restructure configs into seperate folder 2020-07-12 19:29:46 -05:00
Miles Alan
d713b19199 Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic 2020-07-12 11:38:31 -05:00
Miles Alan
10705f08cd Update statusbar on waking up from deep sleep so battery % & time accurate 2020-07-12 11:32:04 -05:00
Miles Alan
87c99ec024 Use USR1 signal instead of update file for updating statusbar 2020-07-12 11:32:02 -05:00
Miles Alan
f448f3c444 Source rather than just run the user's custom xinit file; allows exporting ENV 2020-07-11 09:53:18 -05:00
Miles Alan
4fe129882d Fix weather hourly forecast time for <12hr times 2020-07-11 09:53:18 -05:00