Several places where dash behaves differently than bash:
* read in dash has to have a variable.
* use command -v as type is not POSIX
Signed-off-by: Tzafrir Cohen <tzafrir@debian.org>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
This is more flexible and makes packaging much easier - especially
on distros using non-standard paths like NixOS
This version of the patch has xdg_data_path default to 1 instance,
making usage simpler. The function is also documented a bit more
clearly.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
* handle exiting menus with escape
* replace if statements with case, where reasonable
* using shell string operations instead of forking
* use sxmo_dmenu_with_kb instead of opening and closing the keyboard
* remove extra options to sxmo_terminal and sxmo_bemenu (some of them
were causing problems)
Signed-off-by: Peter John Hartman <peterjohnhartman@gmail.com>
Any sane linux system will have a posix compliant shell at /bin/sh
This change will allow us to better detect running scripts using pgrep.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
It's important for me to see wind direction in addition to speed. I
understand most people probably don't care, so we should probably show
this only if xinit sets WEATHER_WIND_DIR=1? But we can bikeshed that
later, for now here's what I'm using on my phone right now.
Signed-off-by: Serge Hallyn <serge@hallyn.com>