aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-17 11:04:48 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-17 11:04:48 +0530
commita54d2bcc102d8c30ff0e07f024458f2c61b3a7e3 (patch)
tree5a76e8a544a7afb0cc679871047cf3cc2b53cdfc /config.h
parentd2e74bf6b19f5669ff22b0c7cb6600e78de2cf03 (diff)
downloadshotkey-a54d2bcc102d8c30ff0e07f024458f2c61b3a7e3.tar.gz
shotkey-a54d2bcc102d8c30ff0e07f024458f2c61b3a7e3.zip
Adds persistent key modes
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.h b/config.h
index 396b62c..6473f50 100644
--- a/config.h
+++ b/config.h
@@ -18,15 +18,15 @@ static Key modes[MODE_SIZE][10] = {
{ 0, XK_m, cmd("notify-send inside_music") },
},
[Bright] = {
- { 0, XK_m, cmd("notify-send inside_bright") },
- { 0, XK_n, cmd("notify-send inside_bright_1") },
+ { 0, XK_m, cmd("notify-send inside_bright") },
+ { 0, XK_n, cmd("notify-send inside_bright_1") },
},
};
// Define normal mode key bindings here
static Key keys[] = {
{ MOD|ShiftMask, XK_y, cmd("notify-send hello") },
- { MOD|ShiftMask, XK_z, mode(Music) },
- { MOD|ShiftMask, XK_x, mode(Bright) },
+ { MOD|ShiftMask, XK_z, mode(Music, False) },
+ { MOD|ShiftMask, XK_x, mode(Bright, True) },
};