Miles Alan
b78a3ca674
Add sxmo_networks.sh script to manage nmcli connections
2020-09-19 17:15:32 -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
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
4f118bb767
Add menu entry to edit scripts / open files script in Userscripts menu
2020-08-20 19:42:43 -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
1461509fd0
Add option to invert colorscheme in config menu
2020-08-05 23:32:39 -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
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
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
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
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
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
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
a011bed9b8
Ensure shellcheck passes
2020-06-30 19:26:46 -05:00
Miles Alan
888ccc53a3
Add Foxtrotgps back to programs menu
2020-06-30 19:25:01 -05:00
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>
2020-06-30 18:54:55 -05:00
Miles Alan
4079d4d7e1
Don't loop after paste in Maps in sxmo_appmenu.sh
2020-06-30 18:53:49 -05:00
Miles Alan
ad39251c5d
Show incoming contact name on ring; show texts in reverse chronological order
2020-06-29 18:22:02 -05:00
Maarten van Gompel
a804e24721
added New Tab and New Window to firefox menu
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-28 09:36:25 -05:00
Maarten van Gompel
efc1051244
fixed typo
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-28 09:35:05 -05:00
Miles Alan
c119ab0145
Pull dialing functionality into seperate script; allows in-call check to be valid
2020-06-27 21:28:46 -05:00
Miles Alan
391df5db6a
Fix syntax error in sxmo_appmenu.sh; trap not signal
2020-06-27 20:55:14 -05:00
Miles Alan
95f93c87d4
sxmo_appmenu.sh Only ever pick first match in sxmo_appmenu.sh
2020-06-27 20:08:47 -05:00
Miles Alan
26d8ff0ba6
sxmo_appmenu.sh: Never literal string grep match on empty string
2020-06-27 20:01:40 -05:00
Miles Alan
061d253838
Fill out gpsgeoclutget fn to call where-am-i to get current lat/lon
2020-06-26 19:56:50 -05:00
Miles Alan
9709accd13
Implement context menu for foxtrotgps with copy/paste/search/locations
...
Rename context menu title for foxtrotgps to Maps and move to top-level menu
2020-06-24 21:38:05 -05:00
Julian P Samaroo
f88b83fd15
sxmo_appmenu: Show symlinked scripts in userscripts menu
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-20 11:45:24 -05:00
Miles Alan
f4aea53ad1
Add reddit script
2020-06-20 11:41:02 -05:00
Miles Alan
a4b2724c4a
Clean up modem functionality & don't ever kill dmenu; move call monitoring to call script
2020-06-19 17:57:43 -05:00
Miles Alan
2ee1342cfa
Move files script into top system menu
2020-06-13 20:36:45 -05:00
Miles Alan
b50e3fd151
Move volume up/down to Audio
2020-06-13 20:36:18 -05:00
Miles Alan
049a93e5d8
Shellcheck and tabindent all scripts
2020-06-13 20:36:13 -05:00
Miles Alan
d5ca81b991
Add sxmo_record.sh script and Record entry to scripts menu
2020-06-09 22:09:30 -05:00
Anjandev Momi
624b702210
sxmo_appmenu: do not excecute userscript unless permission set
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-08 22:38:34 -05:00
Miles Alan
e23f439b65
Minor style cleanups in userscripts implementation
2020-06-07 10:17:11 -05:00
Anjandev Momi
933ef2b736
appmenu: added support for user scripts in $XDG_CONFIG_HOME/sxmo/userscripts
...
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-07 10:05:46 -05:00
Miles Alan
8ebf11f8bf
Add files script
2020-06-07 10:05:38 -05:00
Miles Alan
0cdf6e4723
Rework notifications to only use dunst
2020-05-30 15:15:05 -05:00
Miles Alan
e84246021a
Add script to allow user to change timezone from the config menu
2020-05-27 21:02:21 -05:00
Miles Alan
c0bf16468b
Fix capitalization of surf menu entry
2020-05-26 18:39:13 -05:00
Miles Alan
a4562f2dd4
Update to show different letter depending on audio out device
2020-05-26 18:34:59 -05:00
Miles Alan
3c1fbd9e8d
Migrate audio menu logic to appmenu and add indicator for current out device
2020-05-26 18:34:54 -05:00