Maarten van Gompel
0e4406bffa
added vlc to app menu
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-01 17:35:52 +01:00
Maarten van Gompel
f0d40f28fc
Fix for shellcheck problem and whitespace issue as suggested by Reed Wade (also stripping trailing spaces)
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-01 14:14:57 +01:00
Maarten van Gompel
0f685fa3a4
minor cleanup for "unmute" patch so it passes shellcheck
2020-11-01 13:59:16 +01:00
Reed Wade
56efe6e166
Autocomplete WPA networks with scanned ones
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-01 13:12:03 +01:00
Dmytro
6aaca4b161
Unmute fix
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-01 13:04:36 +01:00
Maarten van Gompel
86469c9b60
applied the same logic to the system menu: fix crash on open menu if already open
2020-11-01 13:01:21 +01:00
Sam Bowlby
c1aa407414
fix crash on open menu if already open
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-01 12:59:36 +01:00
Maarten van Gompel
e8e4c77a51
swapped the two move-window-to-next-desktop gestures, the direction of the swipe is now the direction of movement (makes more sense imho)
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-10-31 13:54:49 +01:00
Maarten van Gompel
6448587eb8
complete revision of gestures, using new edge system
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-10-31 13:53:46 +01:00
Maarten van Gompel
642bf1cc27
Implementing optional rtc wakeup at regular intervals, added presuspend, rtcwake and postwake scripts (with hooks)
...
(includes missing return 0 statement caught by Serge Hallyn)
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-10-31 12:13:22 +01:00
Reed Wade
8d5eda8af7
Add automatic shellchecks with CI
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
2020-10-30 12:56:04 -04:00
Miles Alan
b78a3ca674
Add sxmo_networks.sh script to manage nmcli connections
2020-09-19 17:15:32 -05:00
Miles Alan
deb83c0967
Don't source /etc/profile & $HOME/.profile if nonexistant in xinit
2020-09-19 17:15:32 -05:00
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:
2020-09-15 19:29:17 -05:00
Miles Alan
a48be9cbcf
Fix shellcheck errors in sxmo_{camera,rotateautotoggle.sh}
2020-09-12 22:58:17 -05:00
Anjandev Momi
64cef4d0c4
camera: update constants for new alpine update
2020-09-12 22:26:10 -05:00
Miles Alan
a211d82939
Set MPV_HOME in xinit and add input.conf & mpv.conf
2020-08-31 22:13:28 -05:00
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
2020-08-30 14:31:06 -05:00
Miles Alan
fbb431bf7a
sxmo_camera.sh: Launch rear/front camera fns in st to show startup progress
2020-08-30 14:23:37 -05:00
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.
2020-08-30 13:51:34 -05:00
Miles Alan
607ef17637
Refactor camera script to use mpv instead of mplayer and delete dead code
2020-08-29 12:35:21 -05:00
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
2020-08-28 21:51:26 -05:00
Miles Alan
d245a004b6
Remove userscripts entry from main menu; Let Edit Scripts remain on menu bottom
2020-08-28 21:36:01 -05:00
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.
2020-08-28 20:26:37 -05:00
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
2020-08-28 20:14:11 -05:00
Anjandev Momi
b86b152e6e
Added autorotate using accelerometer script
2020-08-28 19:31:49 -05:00
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.
2020-08-26 23:24:27 -05:00
Serge E. Hallyn
e424bfe85b
sxmo_vol.sh: notify after setvol too
2020-08-25 21:18:57 -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
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
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
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