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.
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
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.
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>
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>
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>