aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-20 15:41:30 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-20 15:41:30 +0530
commit08deb47870dc0dda775ffa1d8d4bcb11d6e258eb (patch)
tree67f071b80629747ed2742d11bec395a951e7d4a5
parent38ce87c2f9a237534b2e879ce9a70fd78026f216 (diff)
parent2ed53f460236350cb8e843badac96657e2b4fd70 (diff)
downloadshotkey-08deb47870dc0dda775ffa1d8d4bcb11d6e258eb.tar.gz
shotkey-08deb47870dc0dda775ffa1d8d4bcb11d6e258eb.zip
Merge branch 'master' into personal
Diffstat (limited to '')
-rw-r--r--shotkey.c4
1 files changed, 2 insertions, 2 deletions
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);