Commit graph

262 commits

Author SHA1 Message Date
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
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
Anjandev Momi
92e185b888 Add XDG user directories and env variables
This patch adds the rest of XDG user directories as per XDG base directory
specification.

https://wiki.archlinux.org/index.php/XDG_Base_Directory

This fixes launching anbox on sxmo. Furthermore, it makes sure $XDG_RUNTIME_HOME
has the correct permissions.

Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-18 10:38:22 -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
Miles Alan
5c4c6c15e2 Refactor xinit to be more structured and set $EDITOR if unset to vis 2020-07-18 10:14:58 -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
0801bb1adb Restructure configs into seperate folder 2020-07-12 19:29:46 -05:00
Miles Alan
d713b19199 Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic 2020-07-12 11:38:31 -05:00
Miles Alan
87c99ec024 Use USR1 signal instead of update file for updating statusbar 2020-07-12 11:32:02 -05:00
Miles Alan
f448f3c444 Source rather than just run the user's custom xinit file; allows exporting ENV 2020-07-11 09:53:18 -05:00
Miles Alan
7a9ec120e1 Fork urlhandler program if run with fork option and pass opt in RSS script 2020-07-09 18:22:30 -05:00
Miles Alan
e0067998c8 Always kick mpv to use -ao=alsa; prevents alsa from trying to use pulse 2020-07-08 22:42:21 -05:00
Maarten van Gompel
63d5ec3f7d added wireless symbol to bar if wireless is connected
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-06 21:21:40 -05:00
Miles Alan
435a1e74f1 Create empty file for contactsfile if missing 2020-06-30 22:29:32 -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
4814701e00 Kill existing foxtrotgps before setting new settings via gsettings
This should prevent foxtrotgps from saving (e.g. overriding parameters)
unintentionally between sessions
2020-06-29 19:40:42 -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
Miles Alan
917ad2ebfe Remove temp files usage from sxmo_contacts.sh; & use awk to allow unsorted 2020-06-29 12:42:29 -05:00
Miles Alan
9f930e742a Simplify sxmo_contacts.sh - use less tempfiles and join logic, output w/ colon 2020-06-29 11:38:16 -05:00
Anjandev Momi
f95cb51984 add contacts.tsv integration to call and text apps
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-29 10:30:54 -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
Maarten van Gompel
e455d31e55 read custom conky.conf if available
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-28 09:34:14 -05:00
Miles Alan
46a8999e0f Fix gps location setting bug 2020-06-28 09:20:45 -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
8ee22f3038 Quote $@ where needed 2020-06-27 20:50:06 -05:00
Miles Alan
cef4de2af0 Use "$@" for expansion calls rather than manually listing argument numbers 2020-06-27 20:19:47 -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
6cbd8670c5 Set scale to be 5 for bc lat/lon converisons 2020-06-27 17:59:50 -05:00
Miles Alan
00e09e6897 Allow user customization of map locations via SXMO_GPSLOCATIONSFILES 2020-06-27 17:57:19 -05:00
Miles Alan
b80ce9e872 Disable ligsd 1 finger gestures while using foxtrotgps 2020-06-26 20:02:24 -05:00
Miles Alan
60963cd20c Start lisgd via a script instead of directly so changing gestures is simpler 2020-06-26 19:56:56 -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
1d13cb6379 Make sure shellcheck passes and fixup style in sxmo_gpsutil.sh script 2020-06-24 21:48:48 -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