Maarten van Gompel
156f638a92
Use poweroff instead of halt #172
2021-02-21 15:14:16 +01:00
Maarten van Gompel
a1d2875345
Fix for "Pick up incoming call" menu item sometimes discarding the call #167
2021-02-13 12:22:19 +01:00
Maarten van Gompel
f4ba3978c9
Call common script, moved icons to common script, removed unnecessary aliases from common (let's add them only when there are conflicts), made sure plays along with shellcheck
2021-02-01 18:32:32 +01:00
Maarten van Gompel
7669fa341e
adding icons to menus
2021-02-01 18:32:32 +01:00
Maarten van Gompel
24905884ee
Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible
2021-02-01 18:32:32 +01:00
Maarten van Gompel
1608ab1ae4
increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages)
2021-01-30 21:41:08 +01:00
Reed Wade
6ce40b7daf
scale megapixel gtk ui x2
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-09 16:05:33 +01:00
Maarten van Gompel
9f11cd6a63
Implemented shortcut for picking up incoming calls #135
2020-12-09 15:46:21 +01:00
Anjandev Momi
fc051045c9
added aerc to app menu
2020-12-09 01:11:04 -05:00
Maarten van Gompel
c421d49503
added calcurse to app menu
2020-12-06 11:59:16 +01:00
Maarten van Gompel
6f2f03517b
dino menu entry: case adjustment for consistency
2020-12-06 11:57:41 +01:00
Maarten van Gompel
c554044c41
Revert "sxmo_appmenu: fixed only one userscript appearing in Scripts menu"
...
This reverts commit 0f9a86dece
.
2020-12-06 10:44:56 +01:00
Anjandev Momi
1bf1beae15
add dino (xmpp client) to apps menu
2020-12-05 23:29:09 -05:00
Anjandev Momi
0f9a86dece
sxmo_appmenu: fixed only one userscript appearing in Scripts menu
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-12-04 23:49:02 -05:00
Maarten van Gompel
7fb7cd70f3
various indentation fixes (spaces to tabs and stripping trailing whitespace)
2020-11-20 18:10:17 +01:00
Anjandev Momi
e11cf9e523
move sxmo data to XDG_DATA_HOME
...
Breaking change. Make sure you send an email to the mailing list
telling users to move their
$XDG_CONFIG_HOME/{modem,notifications} files/folders to
$XDG_DATA_HOME
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-08 19:45:39 -05:00
Maarten van Gompel
be05c10163
quote fix as suggested by shellcheck
2020-11-08 12:17:14 +01:00
Maarten van Gompel
ce188e2f26
Use $SHELL, fix after patch: Start terminal with a login shell if run from dmenu
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-07 00:00:43 +01:00
Andre Ramnitz
8fc92c55d5
Start terminal with a login shell if run from dmenu
...
Fixes sourcing of /etc/profile etc.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-06 23:59:58 +01:00
Reed Wade
0ae9825752
Replace the camera script with the Megapixel app
...
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-02 22:38:44 -05:00
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
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