From 2ed53f460236350cb8e843badac96657e2b4fd70 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 20 Jun 2020 15:40:15 +0530 Subject: Changes env variable to prevent clashes --- shotkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shotkey.c') diff --git a/shotkey.c b/shotkey.c index d839ef4..3df41ce 100644 --- a/shotkey.c +++ b/shotkey.c @@ -77,10 +77,10 @@ void handle_mode_change() { char str[255]; sprintf(str, "%d", current_mode); - setenv("MODE_ID", str, 1); + setenv("SHOTKEY_MODE_ID", str, 1); sprintf(str, "%s", get_mode_label()); - setenv("MODE_LABEL", str, 1); + setenv("SHOTKEY_MODE_LABEL", str, 1); char* cmd[] = {shell, "-c", on_mode_change, NULL}; spawn(cmd); -- cgit v1.3.1