aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-17 12:29:41 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-17 12:29:41 +0530
commitedce91f10a954cfbedbc74cc94f200efcec074df (patch)
treef86db82733f40db3e973e49552864b8d0faedc24 /config.h
parent0c9d36aa5bb64029c254a6fcd645b892b37d5661 (diff)
downloadshotkey-edce91f10a954cfbedbc74cc94f200efcec074df.tar.gz
shotkey-edce91f10a954cfbedbc74cc94f200efcec074df.zip
Adds on mode change callback
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 9caba28..03f20be 100644
--- a/config.h
+++ b/config.h
@@ -1,5 +1,5 @@
// Shell
-static char shell[] = "sh";
+static char shell[] = "/bin/sh";
#define MOD Mod1Mask
@@ -35,3 +35,5 @@ static ModeProperties mode_properties[MODE_SIZE] = {
[Bright] = { "Brightness" },
};
+static char* on_mode_change = "notify-send \"kadj [$MODE_ID] $MODE_LABEL\"";
+