diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-17 10:30:02 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-17 10:30:02 +0530 |
| commit | d2e74bf6b19f5669ff22b0c7cb6600e78de2cf03 (patch) | |
| tree | 38ccba9c84aa54cce71409f8cc3f87dc6031321d /config.h | |
| parent | c8549d08725f654870f25a2c837ab7fdb470c7f6 (diff) | |
| download | shotkey-d2e74bf6b19f5669ff22b0c7cb6600e78de2cf03.tar.gz shotkey-d2e74bf6b19f5669ff22b0c7cb6600e78de2cf03.zip | |
Fixes mode keys binding
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -5,6 +5,7 @@ static char shell[] = "sh"; enum { Music, + Bright, // Declare modes above this MODE_SIZE, // NOTE: Do not remove this @@ -14,7 +15,11 @@ enum { // NOTE: "10" here is the maximum number of key bindings for each mode static Key modes[MODE_SIZE][10] = { [Music] = { - { MOD|ShiftMask, XK_m, cmd("notify-send inside") }, + { 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") }, }, }; @@ -22,5 +27,6 @@ static Key modes[MODE_SIZE][10] = { static Key keys[] = { { MOD|ShiftMask, XK_y, cmd("notify-send hello") }, { MOD|ShiftMask, XK_z, mode(Music) }, + { MOD|ShiftMask, XK_x, mode(Bright) }, }; |
