Commit graph

366 commits

Author SHA1 Message Date
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
9d1527218a blank screen when locking #158 2021-02-01 18:32:28 +01:00
Maarten van Gompel
c58fa6a1e9 Added an option (extra notification) to discard an incoming call #157 2021-01-30 21:41:08 +01:00
Maarten van Gompel
24f8ed8478 wait for modem for a bit when it is not immediately available yet (e.g. after crust wakeup) 2021-01-30 21:41:08 +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
Maarten van Gompel
ca88d3029e Enable user access to pinephone hardware kernel interface through openrc script, remove setuid 0 requirement 2021-01-30 21:41:08 +01:00
Maarten van Gompel
00cf2ba3ec reduce wifi reconnection time after deep sleep #150 2021-01-30 21:40:56 +01:00
Maarten van Gompel
861eac8cca update status bar quicker after connection to wireless 2021-01-30 13:06:53 +01:00
Maarten van Gompel
2ea6612df6 fix after last patch: no prefix for configuration files 2021-01-30 00:13:41 +01:00
Maarten van Gompel
86fcb1832d set default PREFIX to /usr again (rather than /) after applying the last patch, added DESTDIR as well, makes things more compatible with how suckless does things 2021-01-30 00:01:24 +01:00
Frank Oltmanns
371d3cdd52 Support make install on non-busybox systems
Instead on using `cp`, `chown`, `chmod`, and `mkdir`, now use
`install`. This has the nice side-effects that the setuid bit is
correctly preserved on systems using GNU coreutils instead of busybox
and that the access rights are not changed in the build directory.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-01-29 23:34:41 +01:00
Maarten van Gompel
9346bf6e15 shellcheck fixes after sorting notifications menu 2020-12-23 12:13:52 +01:00
Julian P Samaroo
0c2b11c2f3 Sort notifications menu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-23 12:12:04 +01:00
Maarten van Gompel
774f1eabdf Fixed rotate gesture #141 2020-12-23 12:00:01 +01:00
Maarten van Gompel
6750e3e47b fix for calling postwake script after wakeup #130 2020-12-09 18:30:44 +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
Maarten van Gompel
a42f160ed2 make modemmonitor's dbus hooks more robust and prevent being triggered multiple times 2020-12-09 15:46:21 +01:00
Maarten van Gompel
9a4df9fd28 reworking handling finished/missed calls #134 2020-12-09 15:46:21 +01:00
Maarten van Gompel
2a07cab638 implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions 2020-12-09 15:46:21 +01:00
Maarten van Gompel
54f3332dea full contact list (--all) now also includes short/special numbers #104 2020-12-09 15:46:21 +01:00
Maarten van Gompel
4b4bfc851f explicitly delete calls after hangup/termination #134 2020-12-09 15:46:21 +01:00
Maarten van Gompel
06b25c3bc9 Restore audio to original state after finishing a call #133 2020-12-09 15:46:21 +01:00
Maarten van Gompel
4a90d86f56 Sane message when terminating call with unknown number and more verbose output to stderr from modem scripts 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
e067fd9ad6 Revert "simplify code to get phone number for incoming calls"
This reverts commit b0bb9ac9fc.

This fixes the issue with modemlog having filled with extra mmcli
output
2020-12-05 23:16:59 -05:00
Maarten van Gompel
995a80c40c Added a shellcheckrc and allowing string replacement in scripts for now (not POSIX compliant) 2020-12-05 12:07:00 +01:00
Daniele Rogora
bcf4f5c249 Workaround for reliable incoming calls waking up from CRUST
Replaced system() call with writefile()

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-05 11:58:31 +01: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
Anjandev Momi
abd931d9ce shellcheck fix: use -n instead of ! -z 2020-12-04 23:20:54 -05:00
Maarten van Gompel
031bb9de21 no need for number validation when cancelling dialer 2020-12-04 22:15:58 +01:00
Anjandev Momi
236ab9a343 Do not display text only numbers as options when dialing or composing new texts
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-04 22:07:27 +01:00
Anjandev Momi
f149b7e250 updated sxmo_contacts comment with acceptable numbers
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-04 22:00:29 +01:00
Anjandev Momi
741defe781 Fix short phone numbers or phone numbers with text do not appear in scripts
Fixes #106

Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-04 22:00:29 +01:00
Anjandev Momi
b0bb9ac9fc simplify code to get phone number for incoming calls
This code uses fewer programs and the code now matches the code for
getting phone number of incoming text.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-12-04 22:00:29 +01:00
Maarten van Gompel
17e3b623bf modemmonitortoggle may take an argument "on" or "off" to force toggling to a desired state
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-12-01 22:47:00 -05:00
Maarten van Gompel
c915de82d8 Force new process group using setgid -f when starting anything that may possibly kill an entire progress group (kill -9 0) #117
This fixes https://todo.sr.ht/~mil/sxmo-tickets/117 and the crashes when
toggling the modem monitor.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-12-01 22:47:00 -05:00
Miles Alan
9aa5c7bf16 Standardize install path for mimeapps.list to use $PREFIX 2020-12-01 17:21:43 -06:00
Reed Wade
fadbe72039 Use mono differencial as default Line Out mode
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2020-11-29 12:34:45 +01:00
Anjandev Momi
8b87386006 Fixed user log out when selecting "Close Menu" in dialer
See issue:

https://todo.sr.ht/~mil/sxmo-tickets/117
2020-11-29 02:56:17 -05:00
Anjandev Momi
f2a3ad47cf Added default sxmo applications mimeapps.list 2020-11-28 03:10:51 -05:00
Reed Wade
08b95c6182 sxmo_files now respect user desktop configurations
We use our own implementation of xdg-open that replace the hardcoded
script used in sxmo_files.

We add and will maintain some desktop entries to offer a suckless
experience by default.

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-28 02:39:25 -05:00
Maarten van Gompel
a90f565c12 minor quote fix to satisfy shellcheck 2020-11-20 18:17:57 +01:00
Maarten van Gompel
10f813b1eb editorcheck update: restrict to shell scripts and C programs for now, and removing the maximum line length check for now. 2020-11-20 18:13:31 +01:00
Maarten van Gompel
7fb7cd70f3 various indentation fixes (spaces to tabs and stripping trailing whitespace) 2020-11-20 18:10:17 +01:00