From edce91f10a954cfbedbc74cc94f200efcec074df Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 17 Jun 2020 12:29:41 +0530 Subject: Adds on mode change callback --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.h') 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\""; + -- cgit v1.3.1