Commit graph

34 commits

Author SHA1 Message Date
Miles Alan
a211d82939 Set MPV_HOME in xinit and add input.conf & mpv.conf 2020-08-31 22:13:28 -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
Maarten van Gompel
dbdb45bd6c smarter configuration of default keyboard if none specified; now compatible with upstream svkbd
Minor patch that correctly detects which virtual keyboard is available
if none was set explicitly, supports both the new upstream svkbd, as
well as the current sxmo-svkbd fork.
2020-08-18 20:37:48 -05:00
Miles Alan
ce50d0aef7 Re-enable notifications monitor 2020-08-05 23:33:53 -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
bc10d502bd Remove keynav daemon - this is only relevant for desktop usage.. 2020-08-05 20:11:05 -05:00
Miles Alan
91c77cec6c Actually source custom xinit so that ENV vars are properly exported 2020-07-28 17:32:39 -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
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
Miles Alan
5c4c6c15e2 Refactor xinit to be more structured and set $EDITOR if unset to vis 2020-07-18 10:14:58 -05:00
Miles Alan
0801bb1adb Restructure configs into seperate folder 2020-07-12 19:29:46 -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
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
60963cd20c Start lisgd via a script instead of directly so changing gestures is simpler 2020-06-26 19:56:56 -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
049a93e5d8 Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
Miles Alan
8015d49b03 Run $XDG_CONFIG_HOME/sxmo/xinit if it exists on starting X 2020-06-07 11:16:27 -05:00
Miles Alan
6a432b305b Shellcheck a few core scripts 2020-06-07 10:17:14 -05:00
Miles Alan
e23f439b65 Minor style cleanups in userscripts implementation 2020-06-07 10:17:11 -05:00
Anjandev Momi
1b78c3cf2f modem: use XDG_CONFIG_HOME to save logs
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-07 10:05:46 -05:00
Miles Alan
6d0f282cca Use default lisgd threshold always 2020-06-01 17:56:13 -05:00
Miles Alan
6e9c5ee7d1 Kill old instance of lisgd on xinit 2020-06-01 17:46:27 -05:00
Anjandev Momi
ff5f92c048 xinit: set touch env variable=1 for firefox
Signed-off-by: Miles Alan <m@milesalan.com>
2020-05-30 15:15:05 -05:00
Miles Alan
0cdf6e4723 Rework notifications to only use dunst 2020-05-30 15:15:05 -05:00
Miles Alan
402aa6f142 Add xcalc to the app menu; xrdb new xcalc xresources file on xinit 2020-05-22 23:15:32 -05:00
Miles Alan
fa3550c638 Add warnings to modem scripts if the modem is not present 2020-05-20 17:18:02 -05:00
Miles Alan
b4c02acb76 Set lisgd threshold to 500 2020-05-20 16:47:54 -05:00
Miles Alan
bfbec8ef46 Make default RSS feeds suck less; automatically start modem monitor 2020-05-19 21:30:12 -05:00
Miles Alan
22d974f22f Cleanup calling - mostly working; misc cleanup scripts; add vibrate program 2020-05-11 20:54:54 -05:00
Miles Alan
8ef3749b8b Cleanup xinit 2020-05-04 19:26:45 -05:00
Miles Alan
b96789df69 Enable synclient/keynav; fix kb w/ dmenu script; make bat/volume control device independent 2020-05-02 19:28:54 -05:00
Miles Alan
f47feb559b Remap caps to escape in xmodmap 2020-04-25 08:18:36 -05:00
Miles Alan
ae983ef8c8 Various progess on calling & texting; reorganize scripts dirs by category 2020-04-25 07:55:22 -05:00
Renamed from scripts/sxmo_xinit.sh (Browse further)