Move library to root
This commit is contained in:
parent
68bea125e3
commit
602b148fb4
4
install
4
install
@ -3,7 +3,7 @@
|
||||
DIR=$(dirname $0)
|
||||
PROGRAM=/usr/local/bin/comfortable-swipe
|
||||
CONF_PATH=/usr/local/share/comfortable-swipe/comfortable-swipe.conf
|
||||
DCONF_PATH=$DIR/src/defaults.conf
|
||||
DCONF_PATH=$DIR/defaults.conf
|
||||
OLD_CONF_PATH=${XDG_CONFIG_HOME:-$HOME/.config}/comfortable-swipe.conf
|
||||
|
||||
if [ -x "$(command -v $PROGRAM)" ]; then
|
||||
@ -50,7 +50,7 @@ if [ -x "$(command -v $PROGRAM)" ]; then
|
||||
fi
|
||||
|
||||
# compile library
|
||||
sudo $DIR/src/compile $PROGRAM || abort
|
||||
sudo $DIR/compile.sh $PROGRAM || abort
|
||||
|
||||
# add permissions to input group (defer)
|
||||
# GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort
|
||||
|
||||
@ -16,8 +16,6 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Compile: g++ main.cpp -std=c++11 -lxdo
|
||||
|
||||
#include <string> // std::string
|
||||
#include "lib/comfortable_swipe"
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
#include <cassert>
|
||||
#include <regex>
|
||||
#include <string>
|
||||
#include "../src/lib/gesture/swipe_gesture.h"
|
||||
#include "../src/lib/gesture/swipe_gesture.regex.cpp"
|
||||
#include "../lib/gesture/swipe_gesture.h"
|
||||
#include "../lib/gesture/swipe_gesture.regex.cpp"
|
||||
|
||||
/*
|
||||
Comfortable Swipe
|
||||
|
||||
Loading…
Reference in New Issue
Block a user