Commit graph

151 commits

Author SHA1 Message Date
git@jonathanh.co.uk
c33e54e0b0
Fixes the Modem Reset / Restart in config menu
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-09-30 15:55:42 +02:00
Anjandev Momi
0faa65d5be sxmo_appmenu.sh: add pulsemixer to app menu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-19 13:14:45 +02:00
Anjandev Momi
d66e57384b sxmo_appmenu: add gnome chess
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-19 13:12:53 +02:00
baroque
8f900c29f8 moved flashlight to main menu, out of "configuration" (that is crowded already)
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:26:13 +02:00
baroque
80c656f3ad added Marble in the apps.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:25:58 +02:00
baroque
9e058e546d added || pkill sway after pkill dwm in "logout"
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:25:53 +02:00
Sam Bowlby
657fbd85ba
added new appmenu items; tests for wm for some apps
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-30 08:04:20 +02:00
Sam Bowlby
ac34711bc3
fixed appmenu for Foot shortcuts
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-29 15:06:34 +02:00
Stacy Harper
9f6af8abcc
Fix appmenu.sh in ssh mode
We had issue in ssh mode and this new bemenu curses mode.

No issue on other sxmo menu that use successive bemnu but this appmenu
loop displaying some ~F char when you select a subentry.

I refactorised a little bit this script and now it works well. I'm not
stil not sure of what was causing this.

By the way I changed some echo for printf. I also added the wrap
argument for bemenu in ssh mode.
2021-08-25 13:29:59 +02:00
Maarten van Gompel
64e7140501 shellcheck fixes 2021-08-25 13:01:24 +02:00
Stacy Harper
fbaa9155bc
Display the idle entry menu only in sway 2021-08-24 13:07:12 +02:00
Stacy Harper
5a769d3fa8
Fix swmo shellcheck issues 2021-08-22 14:17:47 +02:00
Stacy Harper
8a27933c47 SWMO - SXMO over Wayland
This is a huge patch for Swmo, Sxmo over Sway.

It is Dwm backward compatible so dwm users should not expect regressions.

If you install all dependencies, you then can toggle between Sway and Dwm using a new config entry. It will reboot the phone.

This commit also contains:
    * Make the modemmonitor bullet proof
    * various other smaller fixes

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-22 13:23:22 +02:00
Maarten van Gompel
edc48a01d2
ModemMonitor: Periodically check whether the modem is still alive, reset it if not
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-25 17:28:54 +02:00
Maarten van Gompel
13b29f7139
Added a wifi toggle #290
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-25 17:03:58 +02:00
Stacy Harper
cfa15765e2
Fix some shellchecks issues 2021-07-25 09:55:46 +02:00
Anjandev Momi
250cb91652 confirm logout, poweroff, and reboot
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-07-19 19:04:12 +02:00
Galen Abell
1d9821c2a4 Don't echo pmos-tweaks path in config menu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-07-10 16:14:03 +02:00
Stacy Harper
1c9a139d74
Cleanup unused sxmo_unlocklistener 2021-07-07 20:27:12 +02:00
Stacy Harper
1acab51003
Adapt the suspend appmenu entry with recent reworks
This menu should lock the phone then crust the phone cause we rely on
the lock state after waking up to have a consistent workflow.
2021-07-07 20:24:00 +02:00
Galen Abell
50f1c4e102
Add context menu for cmus
Requires the `set_term_title` in cmus to be set to false, otherwise cmus
will set the WM_TITLE to the currently playing song / album, which makes
it hard to determine that the current app is cmus.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-07-06 21:44:17 +02:00
Maarten van Gompel
a5acd7fcd5 made pmos-tweaks optional 2021-06-22 15:01:32 +02:00
Anjandev Momi
92ad227b65 add pmos-tweaks to config menu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-22 14:54:08 +02:00
Fernando Ramos
a10d556993 Add pure-maps to app menu (and new map icon to 'sxmo_common.sh')
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-21 22:58:42 +02:00
noneofyourbusiness
823ad95477 add scrot script & add scrot to appmenu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-06 22:23:15 +02:00
Anjandev Momi
725d89d6d6
Rework the sxmo screenlock 2021-06-06 09:41:36 +02:00
noneofyourbusiness
1121e29b3e replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-04 21:50:59 +02:00
Anjandev Momi
30e8dfdc88 aerc: reopen menu after archiving or viewing next part 2021-05-31 19:46:35 +00:00
Anjandev Momi
eda812b1fa aerc: archive flat, add close tab, and clarify open as xdg-open 2021-05-31 19:41:37 +00:00
Anjandev Momi
0615306072 added context menu for aerc
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-05-31 21:37:52 +02:00
Nguyễn Gia Phong
d8e19504f6
Use Super as dwm modifier key
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-05-23 14:14:59 +02:00
Maarten van Gompel
f60ef805bc added quit option in context menu for less 2021-05-19 23:07:45 +02:00
Maarten van Gompel
c77a54857a added some links back to st menu 2021-05-19 23:07:37 +02:00
Maarten van Gompel
ad586b6b58 add some vim shortcuts to the generic hotkey menu (vim context menu is not always properly detected) 2021-05-19 23:07:28 +02:00
Maarten van Gompel
9795992d8a added Close Tab option for firefox in context menu 2021-05-19 23:07:18 +02:00
Timotej Lazar
51815acb0a smxo_appmenu: replace if/grep with case in programchoicesinit
On a PinePhone, this function took ~90 ms before the change and ~45 ms
after.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-05-18 06:10:12 +00:00
Anjandev Momi
161cc52091 Clarify Lagrange submenu not firefox 2021-05-09 06:20:51 +00:00
Stacy Harper
94613e5ae7 Add lagrange shortcuts in appmenu
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-05-09 06:18:30 +00:00
Nguyễn Gia Phong
401ca22d46 Add gomuks to apps launcher
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-30 20:47:01 +02:00
Stacy Harper
6426a94e46 Add proximity lock toggle on the config menu
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-23 19:16:24 +02:00
Stacy Harper
6423ece891
Add less|mless appmenus
Very usefull when displaying multiple files. It is used by mless, a
basic mblaze command to show emails.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-04-21 19:39:48 -04:00
Maxim Karasev
fbd0f24c50 Fix neovim executable name
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-11 17:59:03 +02:00
Sam Bowlby
bf212e1b7b add Profanity to app menu; add System Menu to Network menu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-05 20:47:27 +02:00
Maarten van Gompel
e220a30e15 added some more apps to the app menu 2021-04-05 17:18:52 +02:00
Stacy Harper
262418637f Rework of the sxmo_modemtext with benefit
* Draft files are assigned to each number:

Stored here ".local/share/modem/+33666666666/draft.txt"
We automatically edit this single file, making crash or unexpected
edition issue to leave intact saved draft.

* Simplification of some logics

Having a known draft file instead of using a TEXT var simplify lots
of things

* EDITOR is not run in a subshell

Some editors as kakoune got issues with that. Futhermore, it will be
usefull for some other development as making all menu ssh mode
compatible

* Remove modem check

As we now got draft, why do we care if modem is up or down ?

* Display the contact name instead of it number in the conversation

Or use "Unknown Number (+337798676)"

* Unify display message notif adding possibilities to bypass the
main menu

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-05 12:00:49 +02:00
Maarten van Gompel
b37a1fb8b5 Fixed anbox start command #230 2021-04-02 17:38:03 +02:00
Anjandev Momi
47ef03f48c
change dino to scale=1 because of global dpi scaling
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-04-01 15:41:01 -04:00
Stacy Harper
ceaea60141 Add some gemini apps
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-31 13:39:09 +02:00
Stacy Harper
fac35e8b6c Add some scroll shortcuts to weechat
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-03-31 13:37:39 +02:00
Maarten van Gompel
086c103eb2 added an edit configuration option to the menu to edit the user's xinit 2021-03-29 14:29:23 +02:00