meta: Renamed project to convertablet
This commit is contained in:
parent
c66c11a2b4
commit
86bc9dc363
3 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@ protocol/*.c
|
|||
protocol/*.h
|
||||
protocol/*.xml
|
||||
*~
|
||||
miix-wlr
|
||||
convertablet
|
2
build.sh
2
build.sh
|
@ -5,6 +5,6 @@ set -ex;
|
|||
SOURCES="main.c output_manager.c accel_monitor.c usb_device_detection.c"
|
||||
CFLAGS="-std=c2x -Wall -Wextra -pedantic $CFLAGS"
|
||||
LIBS="-lwayland-client -lusb-1.0 protocol/wlr-output-management-unstable-v1.c"
|
||||
OUTPUT=miix-wlr
|
||||
OUTPUT=convertablet
|
||||
|
||||
clang $CFLAGS $LIBS $SOURCES -o $OUTPUT
|
||||
|
|
4
main.c
4
main.c
|
@ -31,10 +31,10 @@ static char* get_hook_path(char const* const hook_name)
|
|||
char* path;
|
||||
char* xdg_config_dir = getenv("XDG_CONFIG_HOME");
|
||||
if (xdg_config_dir)
|
||||
asprintf(&path, "%s/miix-wlr/hooks/%s-hook", xdg_config_dir, hook_name);
|
||||
asprintf(&path, "%s/convertablet/hooks/%s-hook", xdg_config_dir, hook_name);
|
||||
else
|
||||
asprintf(&path,
|
||||
"%s/.config/miix-wlr/hooks/%s-hook",
|
||||
"%s/.config/convertablet/hooks/%s-hook",
|
||||
getenv("HOME"),
|
||||
hook_name);
|
||||
return path;
|
||||
|
|
Loading…
Reference in a new issue