diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-17 12:29:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-17 12:29:41 +0530 |
| commit | edce91f10a954cfbedbc74cc94f200efcec074df (patch) | |
| tree | f86db82733f40db3e973e49552864b8d0faedc24 /config.h | |
| parent | 0c9d36aa5bb64029c254a6fcd645b892b37d5661 (diff) | |
| download | shotkey-edce91f10a954cfbedbc74cc94f200efcec074df.tar.gz shotkey-edce91f10a954cfbedbc74cc94f200efcec074df.zip | |
Adds on mode change callback
Diffstat (limited to '')
| -rw-r--r-- | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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\""; + |
